aws-cdk-lib.aws_cloudfront.CfnDistribution.LegacyS3OriginProperty

interface LegacyS3OriginProperty

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnDistribution.LegacyS3OriginProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnDistribution_LegacyS3OriginProperty
Javasoftware.amazon.awscdk.services.cloudfront.CfnDistribution.LegacyS3OriginProperty
Pythonaws_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

NameTypeDescription
dnsNamestringCfnDistribution.LegacyS3OriginProperty.DNSName.
originAccessIdentity?stringCfnDistribution.LegacyS3OriginProperty.OriginAccessIdentity.

dnsName

Type: string

CfnDistribution.LegacyS3OriginProperty.DNSName.


originAccessIdentity?

Type: string (optional)

CfnDistribution.LegacyS3OriginProperty.OriginAccessIdentity.