Show / Hide Table of Contents

Class CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty

Contains the configuration for a continuous deployment policy.

Inheritance
object
CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty
Implements
CfnContinuousDeploymentPolicyPropsMixin.IContinuousDeploymentPolicyConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty : CfnContinuousDeploymentPolicyPropsMixin.IContinuousDeploymentPolicyConfigProperty
Syntax (vb)
Public Class CfnContinuousDeploymentPolicyPropsMixin.ContinuousDeploymentPolicyConfigProperty Implements CfnContinuousDeploymentPolicyPropsMixin.IContinuousDeploymentPolicyConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var continuousDeploymentPolicyConfigProperty = new ContinuousDeploymentPolicyConfigProperty {
                 Enabled = false,
                 SingleHeaderPolicyConfig = new SingleHeaderPolicyConfigProperty {
                     Header = "header",
                     Value = "value"
                 },
                 SingleWeightPolicyConfig = new SingleWeightPolicyConfigProperty {
                     SessionStickinessConfig = new SessionStickinessConfigProperty {
                         IdleTtl = 123,
                         MaximumTtl = 123
                     },
                     Weight = 123
                 },
                 StagingDistributionDnsNames = new [] { "stagingDistributionDnsNames" },
                 TrafficConfig = new TrafficConfigProperty {
                     SingleHeaderConfig = new SingleHeaderConfigProperty {
                         Header = "header",
                         Value = "value"
                     },
                     SingleWeightConfig = new SingleWeightConfigProperty {
                         SessionStickinessConfig = new SessionStickinessConfigProperty {
                             IdleTtl = 123,
                             MaximumTtl = 123
                         },
                         Weight = 123
                     },
                     Type = "type"
                 },
                 Type = "type"
             };

Synopsis

Constructors

ContinuousDeploymentPolicyConfigProperty()

Contains the configuration for a continuous deployment policy.

Properties

Enabled

A Boolean that indicates whether this continuous deployment policy is enabled (in effect).

SingleHeaderPolicyConfig

This configuration determines which HTTP requests are sent to the staging distribution.

SingleWeightPolicyConfig

This configuration determines the percentage of HTTP requests that are sent to the staging distribution.

StagingDistributionDnsNames

The CloudFront domain name of the staging distribution.

TrafficConfig

Contains the parameters for routing production traffic from your primary to staging distributions.

Type

The type of traffic configuration.

Constructors

ContinuousDeploymentPolicyConfigProperty()

Contains the configuration for a continuous deployment policy.

public ContinuousDeploymentPolicyConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var continuousDeploymentPolicyConfigProperty = new ContinuousDeploymentPolicyConfigProperty {
                 Enabled = false,
                 SingleHeaderPolicyConfig = new SingleHeaderPolicyConfigProperty {
                     Header = "header",
                     Value = "value"
                 },
                 SingleWeightPolicyConfig = new SingleWeightPolicyConfigProperty {
                     SessionStickinessConfig = new SessionStickinessConfigProperty {
                         IdleTtl = 123,
                         MaximumTtl = 123
                     },
                     Weight = 123
                 },
                 StagingDistributionDnsNames = new [] { "stagingDistributionDnsNames" },
                 TrafficConfig = new TrafficConfigProperty {
                     SingleHeaderConfig = new SingleHeaderConfigProperty {
                         Header = "header",
                         Value = "value"
                     },
                     SingleWeightConfig = new SingleWeightConfigProperty {
                         SessionStickinessConfig = new SessionStickinessConfigProperty {
                             IdleTtl = 123,
                             MaximumTtl = 123
                         },
                         Weight = 123
                     },
                     Type = "type"
                 },
                 Type = "type"
             };

Properties

Enabled

A Boolean that indicates whether this continuous deployment policy is enabled (in effect).

public object? Enabled { get; set; }
Property Value

object

Remarks

When this value is true , this policy is enabled and in effect. When this value is false , this policy is not enabled and has no effect.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-enabled

Type union: either bool or IResolvable

SingleHeaderPolicyConfig

This configuration determines which HTTP requests are sent to the staging distribution.

public object? SingleHeaderPolicyConfig { get; set; }
Property Value

object

Remarks

If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-singleheaderpolicyconfig

Type union: either IResolvable or CfnContinuousDeploymentPolicyPropsMixin.ISingleHeaderPolicyConfigProperty

SingleWeightPolicyConfig

This configuration determines the percentage of HTTP requests that are sent to the staging distribution.

public object? SingleWeightPolicyConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-singleweightpolicyconfig

Type union: either IResolvable or CfnContinuousDeploymentPolicyPropsMixin.ISingleWeightPolicyConfigProperty

StagingDistributionDnsNames

The CloudFront domain name of the staging distribution.

public string[]? StagingDistributionDnsNames { get; set; }
Property Value

string[]

Remarks

For example: d111111abcdef8.cloudfront.net .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-stagingdistributiondnsnames

TrafficConfig

Contains the parameters for routing production traffic from your primary to staging distributions.

public object? TrafficConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-trafficconfig

Type union: either IResolvable or CfnContinuousDeploymentPolicyPropsMixin.ITrafficConfigProperty

Type

The type of traffic configuration.

public string? Type { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig-type

Implements

CfnContinuousDeploymentPolicyPropsMixin.IContinuousDeploymentPolicyConfigProperty
Back to top Generated by DocFX