Class DeploymentStrategy
An AWS AppConfig deployment strategy.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DeploymentStrategy : Resource, IDeploymentStrategy, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class DeploymentStrategy Inherits Resource Implements IDeploymentStrategy, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
Examples
new DeploymentStrategy(this, "MyDeploymentStrategy", new DeploymentStrategyProps {
RolloutStrategy = RolloutStrategy.Linear(new RolloutStrategyProps {
GrowthFactor = 20,
DeploymentDuration = Duration.Minutes(30),
FinalBakeTime = Duration.Minutes(30)
})
});
Synopsis
Constructors
| DeploymentStrategy(Construct, string, IDeploymentStrategyProps) | An AWS AppConfig deployment strategy. |
Properties
| DeploymentDurationInMinutes | The deployment duration in minutes of the deployment strategy. |
| DeploymentStrategyArn | The Amazon Resource Name (ARN) of the deployment strategy. |
| DeploymentStrategyId | The ID of the deployment strategy. |
| Description | The description of the deployment strategy. |
| FinalBakeTimeInMinutes | The final bake time in minutes of the deployment strategy. |
| GrowthFactor | The growth factor of the deployment strategy. |
| GrowthType | The growth type of the deployment strategy. |
| Name | The name of the deployment strategy. |
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
Methods
| FromDeploymentStrategyArn(Construct, string, string) | Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN). |
| FromDeploymentStrategyId(Construct, string, DeploymentStrategyId) | Imports a deployment strategy into the CDK using its ID. |
Constructors
DeploymentStrategy(Construct, string, IDeploymentStrategyProps)
An AWS AppConfig deployment strategy.
public DeploymentStrategy(Construct scope, string id, IDeploymentStrategyProps props)
Parameters
- scope Construct
- id string
- props IDeploymentStrategyProps
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
Examples
new DeploymentStrategy(this, "MyDeploymentStrategy", new DeploymentStrategyProps {
RolloutStrategy = RolloutStrategy.Linear(new RolloutStrategyProps {
GrowthFactor = 20,
DeploymentDuration = Duration.Minutes(30),
FinalBakeTime = Duration.Minutes(30)
})
});
Properties
DeploymentDurationInMinutes
The deployment duration in minutes of the deployment strategy.
public virtual double? DeploymentDurationInMinutes { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
DeploymentStrategyArn
The Amazon Resource Name (ARN) of the deployment strategy.
public virtual string DeploymentStrategyArn { get; }
Property Value
Remarks
Attribute: true
DeploymentStrategyId
The ID of the deployment strategy.
public virtual string DeploymentStrategyId { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
Description
The description of the deployment strategy.
public virtual string? Description { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
FinalBakeTimeInMinutes
The final bake time in minutes of the deployment strategy.
public virtual double? FinalBakeTimeInMinutes { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
GrowthFactor
The growth factor of the deployment strategy.
public virtual double? GrowthFactor { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
GrowthType
The growth type of the deployment strategy.
public virtual GrowthType? GrowthType { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
Name
The name of the deployment strategy.
public virtual string? Name { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
Methods
FromDeploymentStrategyArn(Construct, string, string)
Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN).
public static IDeploymentStrategy FromDeploymentStrategyArn(Construct scope, string id, string deploymentStrategyArn)
Parameters
- scope Construct
The parent construct.
- id string
The name of the deployment strategy construct.
- deploymentStrategyArn string
The Amazon Resource Name (ARN) of the deployment strategy.
Returns
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused
FromDeploymentStrategyId(Construct, string, DeploymentStrategyId)
Imports a deployment strategy into the CDK using its ID.
public static IDeploymentStrategy FromDeploymentStrategyId(Construct scope, string id, DeploymentStrategyId deploymentStrategyId)
Parameters
- scope Construct
The parent construct.
- id string
The name of the deployment strategy construct.
- deploymentStrategyId DeploymentStrategyId
The ID of the deployment strategy.
Returns
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Resource: AWS::AppConfig::DeploymentStrategy
ExampleMetadata: infused