Show / Hide Table of Contents

Class CfnContinuousDeploymentPolicy

A CloudFormation AWS::CloudFront::ContinuousDeploymentPolicy.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnContinuousDeploymentPolicy
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicy : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnContinuousDeploymentPolicy
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

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

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 .

CloudformationResource: AWS::CloudFront::ContinuousDeploymentPolicy

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-continuousdeploymentpolicy.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.AWS.CloudFront;

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

        // the properties below are optional
        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
                }
            }
        }
    }
});

Synopsis

Constructors

CfnContinuousDeploymentPolicy(Construct, String, ICfnContinuousDeploymentPolicyProps)

Create a new AWS::CloudFront::ContinuousDeploymentPolicy.

CfnContinuousDeploymentPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnContinuousDeploymentPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

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
ContinuousDeploymentPolicyConfig

Contains the configuration for a continuous deployment policy.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

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 System.String
  • scoped id of the resource.
props ICfnContinuousDeploymentPolicyProps
  • resource properties.

CfnContinuousDeploymentPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnContinuousDeploymentPolicy(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnContinuousDeploymentPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnContinuousDeploymentPolicy(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

AttrId

The identifier of the cotinuous deployment policy.

public virtual string AttrId { get; }
Property Value

System.String

Remarks

CloudformationAttribute: Id

AttrLastModifiedTime

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

public virtual string AttrLastModifiedTime { get; }
Property Value

System.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

System.String

CfnProperties

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

System.Collections.Generic.IDictionary<System.String, System.Object>

Overrides
CfnResource.CfnProperties

ContinuousDeploymentPolicyConfig

Contains the configuration for a continuous deployment policy.

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

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-continuousdeploymentpolicy.html#cfn-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig

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.

RenderProperties(IDictionary<String, Object>)

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns

System.Collections.Generic.IDictionary<System.String, System.Object>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

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