interface CfnContinuousDeploymentPolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CfnContinuousDeploymentPolicyProps |
![]() | software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicyProps |
![]() | aws_cdk.aws_cloudfront.CfnContinuousDeploymentPolicyProps |
![]() | @aws-cdk/aws-cloudfront » CfnContinuousDeploymentPolicyProps |
Properties for defining a CfnContinuousDeploymentPolicy
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudfront from '@aws-cdk/aws-cloudfront';
const cfnContinuousDeploymentPolicyProps: cloudfront.CfnContinuousDeploymentPolicyProps = {
continuousDeploymentPolicyConfig: {
enabled: false,
stagingDistributionDnsNames: ['stagingDistributionDnsNames'],
// the properties below are optional
trafficConfig: {
type: 'type',
// the properties below are optional
singleHeaderConfig: {
header: 'header',
value: 'value',
},
singleWeightConfig: {
weight: 123,
// the properties below are optional
sessionStickinessConfig: {
idleTtl: 123,
maximumTtl: 123,
},
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
continuous | IResolvable | Continuous | Contains the configuration for a continuous deployment policy. |
continuousDeploymentPolicyConfig
Type:
IResolvable
|
Continuous
Contains the configuration for a continuous deployment policy.