Show / Hide Table of Contents

Class CfnDistributionPropsMixin.LegacyS3OriginProperty

The origin as an Amazon S3 bucket.

Inheritance
object
CfnDistributionPropsMixin.LegacyS3OriginProperty
Implements
CfnDistributionPropsMixin.ILegacyS3OriginProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDistributionPropsMixin.LegacyS3OriginProperty : CfnDistributionPropsMixin.ILegacyS3OriginProperty
Syntax (vb)
Public Class CfnDistributionPropsMixin.LegacyS3OriginProperty Implements CfnDistributionPropsMixin.ILegacyS3OriginProperty
Remarks
This property is legacy. We recommend that you use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html">Origin</a> instead.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.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.Mixins.Preview.AWS.CloudFront.Mixins;

             var legacyS3OriginProperty = new LegacyS3OriginProperty {
                 DnsName = "dnsName",
                 OriginAccessIdentity = "originAccessIdentity"
             };

Synopsis

Constructors

LegacyS3OriginProperty()

The origin as an Amazon S3 bucket.

Properties

DnsName

The domain name assigned to your CloudFront distribution.

OriginAccessIdentity

The CloudFront origin access identity to associate with the distribution.

Constructors

LegacyS3OriginProperty()

The origin as an Amazon S3 bucket.

public LegacyS3OriginProperty()
Remarks
This property is legacy. We recommend that you use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html">Origin</a> instead.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.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.Mixins.Preview.AWS.CloudFront.Mixins;

             var legacyS3OriginProperty = new LegacyS3OriginProperty {
                 DnsName = "dnsName",
                 OriginAccessIdentity = "originAccessIdentity"
             };

Properties

DnsName

The domain name assigned to your CloudFront distribution.

public string? DnsName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-dnsname

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 through CloudFront .

This property is legacy. We recommend that you use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html">OriginAccessControl</a> instead.

Default: - ""

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

Implements

CfnDistributionPropsMixin.ILegacyS3OriginProperty
Back to top Generated by DocFX