Show / Hide Table of Contents

Class CfnStreamingDistribution.S3OriginProperty

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

Inheritance
object
CfnStreamingDistribution.S3OriginProperty
Implements
CfnStreamingDistribution.IS3OriginProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStreamingDistribution.S3OriginProperty : CfnStreamingDistribution.IS3OriginProperty
Syntax (vb)
Public Class CfnStreamingDistribution.S3OriginProperty Implements CfnStreamingDistribution.IS3OriginProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var s3OriginProperty = new S3OriginProperty {
                 DomainName = "domainName",
                 OriginAccessIdentity = "originAccessIdentity"
             };

Synopsis

Constructors

S3OriginProperty()

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

Properties

DomainName

The DNS name of the Amazon S3 origin.

OriginAccessIdentity

The CloudFront origin access identity to associate with the distribution.

Constructors

S3OriginProperty()

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

public S3OriginProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var s3OriginProperty = new S3OriginProperty {
                 DomainName = "domainName",
                 OriginAccessIdentity = "originAccessIdentity"
             };

Properties

DomainName

The DNS name of the Amazon S3 origin.

public string DomainName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html#cfn-cloudfront-streamingdistribution-s3origin-domainname

OriginAccessIdentity

The CloudFront origin access identity to associate with the distribution.

public string OriginAccessIdentity { get; set; }
Property Value

string

Remarks

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 CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html#cfn-cloudfront-streamingdistribution-s3origin-originaccessidentity

Implements

CfnStreamingDistribution.IS3OriginProperty
Back to top Generated by DocFX