Show / Hide Table of Contents

Class CfnContinuousDeploymentPolicy

Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnContinuousDeploymentPolicy
Implements
IInspectable
IContinuousDeploymentPolicyRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicy : CfnResource, IInspectable, IContinuousDeploymentPolicyRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnContinuousDeploymentPolicy Inherits CfnResource Implements IInspectable, IContinuousDeploymentPolicyRef, IConstruct, IDependable, IEnvironmentAware
Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

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.AWS.CloudFront;

             var cfnContinuousDeploymentPolicy = new CfnContinuousDeploymentPolicy(this, "MyCfnContinuousDeploymentPolicy", new CfnContinuousDeploymentPolicyProps {
                 ContinuousDeploymentPolicyConfig = new ContinuousDeploymentPolicyConfigProperty {
                     Enabled = false,
                     StagingDistributionDnsNames = new [] { "stagingDistributionDnsNames" },

                     // the properties below are optional
                     SingleHeaderPolicyConfig = new SingleHeaderPolicyConfigProperty {
                         Header = "header",
                         Value = "value"
                     },
                     SingleWeightPolicyConfig = new SingleWeightPolicyConfigProperty {
                         Weight = 123,

                         // the properties below are optional
                         SessionStickinessConfig = new SessionStickinessConfigProperty {
                             IdleTtl = 123,
                             MaximumTtl = 123
                         }
                     },
                     TrafficConfig = new TrafficConfigProperty {
                         Type = "type",

                         // the properties below are optional
                         SingleHeaderConfig = new SingleHeaderConfigProperty {
                             Header = "header",
                             Value = "value"
                         },
                         SingleWeightConfig = new SingleWeightConfigProperty {
                             Weight = 123,

                             // the properties below are optional
                             SessionStickinessConfig = new SessionStickinessConfigProperty {
                                 IdleTtl = 123,
                                 MaximumTtl = 123
                             }
                         }
                     },
                     Type = "type"
                 }
             });

Synopsis

Constructors

CfnContinuousDeploymentPolicy(Construct, string, ICfnContinuousDeploymentPolicyProps)

Create a new AWS::CloudFront::ContinuousDeploymentPolicy.

Properties

AttrId

The identifier of the cotinuous deployment policy.

AttrLastModifiedTime

The date and time when the continuous deployment policy was last modified.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.

ContinuousDeploymentPolicyConfig

Contains the configuration for a continuous deployment policy.

ContinuousDeploymentPolicyRef

A reference to a ContinuousDeploymentPolicy resource.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.

Constructors

CfnContinuousDeploymentPolicy(Construct, string, ICfnContinuousDeploymentPolicyProps)

Create a new AWS::CloudFront::ContinuousDeploymentPolicy.

public CfnContinuousDeploymentPolicy(Construct scope, string id, ICfnContinuousDeploymentPolicyProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnContinuousDeploymentPolicyProps

Resource properties.

Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

Properties

AttrId

The identifier of the cotinuous deployment policy.

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

AttrLastModifiedTime

The date and time when the continuous deployment policy was last modified.

public virtual string AttrLastModifiedTime { get; }
Property Value

string

Remarks

CloudformationAttribute: LastModifiedTime

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

CfnProperties

Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

ContinuousDeploymentPolicyConfig

Contains the configuration for a continuous deployment policy.

public virtual object ContinuousDeploymentPolicyConfig { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnContinuousDeploymentPolicy.IContinuousDeploymentPolicyConfigProperty

ContinuousDeploymentPolicyRef

A reference to a ContinuousDeploymentPolicy resource.

public virtual IContinuousDeploymentPolicyReference ContinuousDeploymentPolicyRef { get; }
Property Value

IContinuousDeploymentPolicyReference

Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.

For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide .

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

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

ExampleMetadata: fixture=_generated

Implements

IInspectable
IContinuousDeploymentPolicyRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX