# CfnContinuousDeploymentPolicyProps

Properties for defining a `CfnContinuousDeploymentPolicy`.

Extends: CfnContinuousDeploymentPolicyProps
Used as props by: CfnContinuousDeploymentPolicy

- Source: Generated code
- Type last changed: v2.54.0 · 7 Dec 2022

## Example

```ts
// 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 cfnContinuousDeploymentPolicyProps: cloudfront.CfnContinuousDeploymentPolicyProps = {
  continuousDeploymentPolicyConfig: {
    enabled: false,
    stagingDistributionDnsNames: ['stagingDistributionDnsNames'],

    // the properties below are optional
    singleHeaderPolicyConfig: {
      header: 'header',
      value: 'value',
    },
    singleWeightPolicyConfig: {
      weight: 123,

      // the properties below are optional
      sessionStickinessConfig: {
        idleTtl: 123,
        maximumTtl: 123,
      },
    },
    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,
        },
      },
    },
    type: 'type',
  },
};
```

## Properties

- `continuousDeploymentPolicyConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty.html) (required) — Contains the configuration for a continuous deployment policy.
