interface TrafficConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins.CfnContinuousDeploymentPolicyPropsMixin.TrafficConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudfront/mixins#CfnContinuousDeploymentPolicyPropsMixin_TrafficConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnContinuousDeploymentPolicyPropsMixin.TrafficConfigProperty |
Python | aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnContinuousDeploymentPolicyPropsMixin.TrafficConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudfront » mixins » CfnContinuousDeploymentPolicyPropsMixin » TrafficConfigProperty |
The traffic configuration of your continuous deployment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudfront_mixins } from '@aws-cdk/mixins-preview/aws-cloudfront';
const trafficConfigProperty: cloudfront_mixins.CfnContinuousDeploymentPolicyPropsMixin.TrafficConfigProperty = {
singleHeaderConfig: {
header: 'header',
value: 'value',
},
singleWeightConfig: {
sessionStickinessConfig: {
idleTtl: 123,
maximumTtl: 123,
},
weight: 123,
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| single | IResolvable | Single | Determines which HTTP requests are sent to the staging distribution. |
| single | IResolvable | Single | Contains the percentage of traffic to send to the staging distribution. |
| type? | string | The type of traffic configuration. |
singleHeaderConfig?
Type:
IResolvable | Single
(optional)
Determines which HTTP requests are sent to the staging distribution.
singleWeightConfig?
Type:
IResolvable | Single
(optional)
Contains the percentage of traffic to send to the staging distribution.
type?
Type:
string
(optional)
The type of traffic configuration.

.NET
Go
Java
Python
TypeScript