Skip to content

CloudFormation  >  Structures  >  ResourceDetail

ResourceDetail

Structure Class

ResourceDetail dataclass

Bases: _SerdeShape

Details about a resource in a generated template

Attributes

logical_resource_id class-attribute instance-attribute
logical_resource_id: str | None = ...

The logical id for this resource in the final generated template.

resource_identifier class-attribute instance-attribute
resource_identifier: dict[str, str] | None = ...

A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

resource_status class-attribute instance-attribute
resource_status: str | None = ...

Status of the processing of a resource in a generated template.

InProgress

The resource processing is still in progress.

Complete

The resource processing is complete.

Pending

The resource processing is pending.

Failed

The resource processing has failed.

resource_status_reason class-attribute instance-attribute
resource_status_reason: str | None = ...

The reason for the resource detail, providing more information if a failure happened.

resource_type class-attribute instance-attribute
resource_type: str | None = ...

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

warnings class-attribute instance-attribute
warnings: list[WarningDetail] | None = ...

The warnings generated for this resource.