Difference between revisions of "DeletionPolicy"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Resources to import must have a DeletionPolicy attribute specified in the template. | + | Resources to import must have a <code>DeletionPolicy</code> attribute specified in the template. |
+ | * Read 2019 article: https://aws.amazon.com/blogs/aws/new-import-existing-resources-into-a-cloudformation-stack/ | ||
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html | * https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html | ||
+ | |||
+ | |||
+ | DeletionPolicy: Retain | ||
+ | |||
+ | Delete | ||
+ | Retain | ||
+ | Snapshot | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[AWS::RDS::DBInstance]]</code> | ||
+ | * <code>[[AWS::S3::Bucket]]</code> | ||
== See also == | == See also == | ||
* {{CloudFormation}} | * {{CloudFormation}} | ||
− | + | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 15:09, 28 April 2022
Resources to import must have a DeletionPolicy
attribute specified in the template.
- Read 2019 article: https://aws.amazon.com/blogs/aws/new-import-existing-resources-into-a-cloudformation-stack/
DeletionPolicy: Retain
Delete Retain Snapshot
Related terms[edit]
See also[edit]
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions
Advertising: