interface IDeploymentStrategy
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.Alpha.IDeploymentStrategy |
Go | github.com/aws/aws-cdk-go/awscdkappconfigalpha/v2#IDeploymentStrategy |
Java | software.amazon.awscdk.services.appconfig.alpha.IDeploymentStrategy |
Python | aws_cdk.aws_appconfig_alpha.IDeploymentStrategy |
TypeScript (source) | @aws-cdk/aws-appconfig-alpha » IDeploymentStrategy |
⚠️ Deprecated: undefined
Implemented by
Deployment
Obtainable from
Deployment
.fromDeploymentStrategyArn()
, Deployment
.fromDeploymentStrategyId()
Properties
Name | Type | Description |
---|---|---|
deployment | string | The Amazon Resource Name (ARN) of the deployment strategy. |
deployment | string | The ID of the deployment strategy. |
env | Resource | The environment this resource belongs to. |
node | Node | The tree node. |
stack | Stack | The stack in which this resource is defined. |
deployment | number | The deployment duration in minutes. |
description? | string | The description of the deployment strategy. |
final | number | The final bake time in minutes. |
growth | number | The growth factor of the deployment strategy. |
growth | Growth | The growth type of the deployment strategy. |
name? | string | The name of the deployment strategy. |
deploymentStrategyArn
⚠️ Deprecated: undefined
Type:
string
The Amazon Resource Name (ARN) of the deployment strategy.
deploymentStrategyId
⚠️ Deprecated: undefined
Type:
string
The ID of the deployment strategy.
env
⚠️ Deprecated: undefined
Type:
Resource
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
node
⚠️ Deprecated: undefined
Type:
Node
The tree node.
stack
⚠️ Deprecated: undefined
Type:
Stack
The stack in which this resource is defined.
deploymentDurationInMinutes?
⚠️ Deprecated: undefined
Type:
number
(optional)
The deployment duration in minutes.
description?
⚠️ Deprecated: undefined
Type:
string
(optional)
The description of the deployment strategy.
finalBakeTimeInMinutes?
⚠️ Deprecated: undefined
Type:
number
(optional)
The final bake time in minutes.
growthFactor?
⚠️ Deprecated: undefined
Type:
number
(optional)
The growth factor of the deployment strategy.
growthType?
⚠️ Deprecated: undefined
Type:
Growth
(optional)
The growth type of the deployment strategy.
name?
⚠️ Deprecated: undefined
Type:
string
(optional)
The name of the deployment strategy.
Methods
Name | Description |
---|---|
apply | Apply the given removal policy to this resource. |
RemovalPolicy(policy)
applypublic applyRemovalPolicy(policy: RemovalPolicy): void
⚠️ Deprecated: undefined
Parameters
- policy
Removal
Policy
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
).