Class CfnContinuousDeploymentPolicyProps
Properties for defining a CfnContinuousDeploymentPolicy
.
Inheritance
System.Object
CfnContinuousDeploymentPolicyProps
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicyProps : Object, ICfnContinuousDeploymentPolicyProps
Syntax (vb)
Public Class CfnContinuousDeploymentPolicyProps
Inherits Object
Implements ICfnContinuousDeploymentPolicyProps
Remarks
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 cfnContinuousDeploymentPolicyProps = 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
CfnContinuousDeploymentPolicyProps() |
Properties
ContinuousDeploymentPolicyConfig | Contains the configuration for a continuous deployment policy. |
Constructors
CfnContinuousDeploymentPolicyProps()
public CfnContinuousDeploymentPolicyProps()
Properties
ContinuousDeploymentPolicyConfig
Contains the configuration for a continuous deployment policy.
public object ContinuousDeploymentPolicyConfig { get; set; }
Property Value
System.Object