C# Class Amazon.CloudFront.Model.S3Origin

S3 origin information to associate with the distribution.
Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
S3Origin ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

S3Origin ( string domainName ) : System

Instantiates S3Origin with the parameterized properties

S3Origin ( string domainName, string originAccessIdentity ) : System

Instantiates S3Origin with the parameterized properties

Private Methods

Method Description
IsSetDomainName ( ) : bool
IsSetOriginAccessIdentity ( ) : bool

Method Details

S3Origin() public method

Empty constructor used to set properties independently even when a simple constructor is available
public S3Origin ( ) : System
return System

S3Origin() public method

Instantiates S3Origin with the parameterized properties
public S3Origin ( string domainName ) : System
domainName string The DNS name of the Amazon S3 origin.
return System

S3Origin() public method

Instantiates S3Origin with the parameterized properties
public S3Origin ( string domainName, string originAccessIdentity ) : System
domainName string The DNS name of the Amazon S3 origin.
originAccessIdentity string The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide.
return System