interface LegacyS3OriginProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnDistribution.LegacyS3OriginProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnDistribution_LegacyS3OriginProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnDistribution.LegacyS3OriginProperty |
Python | aws_cdk.aws_cloudfront.CfnDistribution.LegacyS3OriginProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnDistribution » LegacyS3OriginProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const legacyS3OriginProperty: cloudfront.CfnDistribution.LegacyS3OriginProperty = {
dnsName: 'dnsName',
// the properties below are optional
originAccessIdentity: 'originAccessIdentity',
};
Properties
Name | Type | Description |
---|---|---|
dns | string | |
origin | string |
dnsName
Type:
string
originAccessIdentity?
Type:
string
(optional, default: "")