Class CfnDeploymentStrategy
The AWS::AppConfig::DeploymentStrategy
resource creates an AWS AppConfig deployment strategy.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentStrategy : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnDeploymentStrategy
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
AWS AppConfig requires that you create resources and deploy a configuration in the following order:
For more information, see AWS AppConfig in the AWS AppConfig User Guide .
CloudformationResource: AWS::AppConfig::DeploymentStrategy
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.AppConfig;
var cfnDeploymentStrategy = new CfnDeploymentStrategy(this, "MyCfnDeploymentStrategy", new CfnDeploymentStrategyProps {
DeploymentDurationInMinutes = 123,
GrowthFactor = 123,
Name = "name",
ReplicateTo = "replicateTo",
// the properties below are optional
Description = "description",
FinalBakeTimeInMinutes = 123,
GrowthType = "growthType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnDeploymentStrategy(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDeploymentStrategy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDeploymentStrategy(Construct, String, ICfnDeploymentStrategyProps) |
Properties
AttrId | The deployment strategy ID. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DeploymentDurationInMinutes | Total amount of time for a deployment to last. |
Description | A description of the deployment strategy. |
FinalBakeTimeInMinutes | Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. |
GrowthFactor | The percentage of targets to receive a deployed configuration during each interval. |
GrowthType | The algorithm used to define how percentage grows over time. |
Name | A name for the deployment strategy. |
ReplicateTo | Save the deployment strategy to a Systems Manager (SSM) document. |
Tags | Assigns metadata to an AWS AppConfig resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDeploymentStrategy(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDeploymentStrategy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDeploymentStrategy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDeploymentStrategy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDeploymentStrategy(Construct, String, ICfnDeploymentStrategyProps)
public CfnDeploymentStrategy(Construct scope, string id, ICfnDeploymentStrategyProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDeploymentStrategyProps
Resource properties.
Properties
AttrId
The deployment strategy ID.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
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
DeploymentDurationInMinutes
Total amount of time for a deployment to last.
public virtual double DeploymentDurationInMinutes { get; set; }
Property Value
System.Double
Description
A description of the deployment strategy.
public virtual string Description { get; set; }
Property Value
System.String
FinalBakeTimeInMinutes
Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete.
public virtual Nullable<double> FinalBakeTimeInMinutes { get; set; }
Property Value
System.Nullable<System.Double>
GrowthFactor
The percentage of targets to receive a deployed configuration during each interval.
public virtual double GrowthFactor { get; set; }
Property Value
System.Double
GrowthType
The algorithm used to define how percentage grows over time.
public virtual string GrowthType { get; set; }
Property Value
System.String
Remarks
AWS AppConfig supports the following growth types:.
Name
A name for the deployment strategy.
public virtual string Name { get; set; }
Property Value
System.String
ReplicateTo
Save the deployment strategy to a Systems Manager (SSM) document.
public virtual string ReplicateTo { get; set; }
Property Value
System.String
Tags
Assigns metadata to an AWS AppConfig resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
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>