interface CfnVpcOriginProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnVpcOriginProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnVpcOriginProps |
![]() | software.amazon.awscdk.services.cloudfront.CfnVpcOriginProps |
![]() | aws_cdk.aws_cloudfront.CfnVpcOriginProps |
![]() | aws-cdk-lib » aws_cloudfront » CfnVpcOriginProps |
Properties for defining a CfnVpcOrigin
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html
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 cfnVpcOriginProps: cloudfront.CfnVpcOriginProps = {
vpcOriginEndpointConfig: {
arn: 'arn',
name: 'name',
// the properties below are optional
httpPort: 123,
httpsPort: 123,
originProtocolPolicy: 'originProtocolPolicy',
originSslProtocols: ['originSslProtocols'],
},
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
vpc | IResolvable | Vpc | The VPC origin endpoint configuration. |
tags? | Cfn [] | A complex type that contains zero or more Tag elements. |
vpcOriginEndpointConfig
Type:
IResolvable
|
Vpc
The VPC origin endpoint configuration.
tags?
Type:
Cfn
[]
(optional)
A complex type that contains zero or more Tag
elements.