CustomResourceRemovalPolicy

class aws_cdk.custom_resources.CustomResourceRemovalPolicy(removal_policy)

Bases: object

Manages removal policy for AWS-vended custom resources.

This feature is currently experimental.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import custom_resources

custom_resource_removal_policy = custom_resources.CustomResourceRemovalPolicy(cdk.RemovalPolicy.DESTROY)
Parameters:

removal_policy (RemovalPolicy) –

Methods

visit(node)

All aspects can visit an IConstruct.

Parameters:

node (IConstruct) –

Return type:

None