CustomResourceLogRetention

class aws_cdk.custom_resources.CustomResourceLogRetention(set_log_retention)

Bases: object

Manages log retention 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.
from aws_cdk import aws_logs as logs
from aws_cdk import custom_resources

custom_resource_log_retention = custom_resources.CustomResourceLogRetention(logs.RetentionDays.ONE_DAY)
Parameters:

set_log_retention (RetentionDays) –

Methods

visit(node)

All aspects can visit an IConstruct.

Parameters:

node (IConstruct) –

Return type:

None