ResourceToImport
¶
Source code in docs_src/capo_cloudformation/types/resource_to_import.py
logical_resource_id
instance-attribute
¶
logical_resource_id: NotRequired[LogicalResourceId]
The logical ID of the target resource as specified in the template.
resource_identifier
instance-attribute
¶
resource_identifier: NotRequired[ResourceIdentifierProperties]
A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).
resource_type
instance-attribute
¶
resource_type: NotRequired[ResourceType]
The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.