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
Syntax (vb)
Public Class DeploymentStrategy
Inherits Resource
Implements IDeploymentStrategy, IResource
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DeploymentStrategy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
DeploymentStrategy(Construct, String, IDeploymentStrategyProps) |
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. |
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(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DeploymentStrategy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DeploymentStrategy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DeploymentStrategy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
DeploymentStrategy(Construct, String, IDeploymentStrategyProps)
public DeploymentStrategy(Construct scope, string id, IDeploymentStrategyProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IDeploymentStrategyProps
Properties
DeploymentDurationInMinutes
The deployment duration in minutes of the deployment strategy.
public virtual Nullable<double> DeploymentDurationInMinutes { get; }
Property Value
System.Nullable<System.Double>
DeploymentStrategyArn
The Amazon Resource Name (ARN) of the deployment strategy.
public virtual string DeploymentStrategyArn { get; }
Property Value
System.String
Remarks
Attribute: true
DeploymentStrategyId
The ID of the deployment strategy.
public virtual string DeploymentStrategyId { get; }
Property Value
System.String
Description
The description of the deployment strategy.
public virtual string Description { get; }
Property Value
System.String
FinalBakeTimeInMinutes
The final bake time in minutes of the deployment strategy.
public virtual Nullable<double> FinalBakeTimeInMinutes { get; }
Property Value
System.Nullable<System.Double>
GrowthFactor
The growth factor of the deployment strategy.
public virtual Nullable<double> GrowthFactor { get; }
Property Value
System.Nullable<System.Double>
GrowthType
The growth type of the deployment strategy.
public virtual Nullable<GrowthType> GrowthType { get; }
Property Value
System.Nullable<GrowthType>
Name
The name of the deployment strategy.
public virtual string Name { get; }
Property Value
System.String
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 Constructs.Construct
The parent construct.
- id System.String
The name of the deployment strategy construct.
- deploymentStrategyArn System.String
The Amazon Resource Name (ARN) of the deployment strategy.
Returns
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 Constructs.Construct
The parent construct.
- id System.String
The name of the deployment strategy construct.
- deploymentStrategyId DeploymentStrategyId
The ID of the deployment strategy.
Returns