Class CfnDistributionPropsMixin.LegacyS3OriginProperty
The origin as an Amazon S3 bucket.
Implements
Inherited Members
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.
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.
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
Remarks
OriginAccessIdentity
The CloudFront origin access identity to associate with the distribution.
public string? OriginAccessIdentity { get; set; }
Property Value
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: - ""