interface LegacyCustomOriginProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnDistribution.LegacyCustomOriginProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnDistribution_LegacyCustomOriginProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnDistribution.LegacyCustomOriginProperty |
Python | aws_cdk.aws_cloudfront.CfnDistribution.LegacyCustomOriginProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnDistribution » LegacyCustomOriginProperty |
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 legacyCustomOriginProperty: cloudfront.CfnDistribution.LegacyCustomOriginProperty = {
dnsName: 'dnsName',
originProtocolPolicy: 'originProtocolPolicy',
originSslProtocols: ['originSslProtocols'],
// the properties below are optional
httpPort: 123,
httpsPort: 123,
};
Properties
Name | Type | Description |
---|---|---|
dns | string | |
origin | string | |
origin | string[] | |
http | number | |
https | number |
dnsName
Type:
string
originProtocolPolicy
Type:
string
originSslProtocols
Type:
string[]
httpPort?
Type:
number
(optional, default: 80)
httpsPort?
Type:
number
(optional, default: 443)