Skip to content

CloudFormation  >  Dictionaries  >  ResourceToImportDict

ResourceToImportDict

Dictionary Type

ResourceToImportDict

Bases: TypedDict

Dictionary form of ResourceToImport.

Attributes

logical_resource_id instance-attribute
logical_resource_id: Required[str]

The logical ID of the target resource as specified in the template.

resource_identifier instance-attribute
resource_identifier: Required[Mapping[str, str]]

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: Required[str]

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.