AWS SDK for .NET Documentation
S3Origin Class
AmazonAmazon.CloudFront_2012_03_15.ModelS3Origin Did this page help you?   Yes   No    Tell us about it...
S3 origin information to associate with the distribution.
Declaration Syntax
C#
public class S3Origin
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
S3Origin()()()()
Initializes a new instance of the S3Origin class.

S3Origin(String, CloudFrontOriginAccessIdentity)
Initializes a new instance of the S3Origin class.

DNSName
Gets or sets the DNS name of your Amazon S3 bucket to associate with the distribution. For example: mybucket.s3.amazonaws.com.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
OriginAccessIdentity
Gets or sets the CloudFront origin access identity to associate with the distribution. When the distribution is serving private content this property must be set.

ToString()()()() (Overrides Object.ToString()()()().)
WithDNSName(String) Obsolete.
Sets the DNS name of your Amazon S3 bucket to associate with the distribution and returns back this instance for method chaining.

WithOriginAccessIdentity(CloudFrontOriginAccessIdentity) Obsolete.
Sets the CloudFront origin access identity to associate with the distribution. When the distribution is serving private content this property must be set. This instance is returned back for method chaining.

Inheritance Hierarchy
Object
S3Origin

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)