IResource

class aws_cdk.core.IResource(*args, **kwargs)

Bases: aws_cdk.core.IConstruct, typing_extensions.Protocol

Interface for the Resource construct.

__init__(*args, **kwargs)

Attributes

node

The construct node in the tree.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack