software.amazon.awscdk.RemovalPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
package software.amazon.awscdk;
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.956Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.RemovalPolicy")
public enum RemovalPolicy {
/**
* This is the default removal policy for most resources.
*
* It means that when the resource
* is removed from the app, it will be physically destroyed.
*/
Destroy,
/**
* This uses the 'Retain' DeletionPolicy, which will cause the resource to be retained in the account, but orphaned from the stack.
*/
Orphan,
/**
* This will apply the 'Retain' DeletionPolicy and also add metadata for the toolkit to apply a CloudFormation stack policy which forbids the deletion of resource.
*/
Forbid,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy