StackResource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

StackResource

The StackResource data type.

Contents

LogicalResourceId

The logical name of the resource specified in the template.

Type: String

Required: Yes

ResourceStatus

Current status of the resource.

Type: String

Valid Values: CREATE_IN_PROGRESS | CREATE_FAILED | CREATE_COMPLETE | DELETE_IN_PROGRESS | DELETE_FAILED | DELETE_COMPLETE | DELETE_SKIPPED | UPDATE_IN_PROGRESS | UPDATE_FAILED | UPDATE_COMPLETE | IMPORT_FAILED | IMPORT_COMPLETE | IMPORT_IN_PROGRESS | IMPORT_ROLLBACK_IN_PROGRESS | IMPORT_ROLLBACK_FAILED | IMPORT_ROLLBACK_COMPLETE | UPDATE_ROLLBACK_IN_PROGRESS | UPDATE_ROLLBACK_COMPLETE | UPDATE_ROLLBACK_FAILED | ROLLBACK_IN_PROGRESS | ROLLBACK_COMPLETE | ROLLBACK_FAILED

Required: Yes

ResourceType

Type of resource. For more information, go to Amazon Resource Types Reference in the Amazon CloudFormation User Guide.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

Timestamp

Time the status was updated.

Type: Timestamp

Required: Yes

Description

User defined description associated with the resource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

DriftInformation

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Type: StackResourceDriftInformation object

Required: No

ModuleInfo

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

Type: ModuleInfo object

Required: No

PhysicalResourceId

The name or unique identifier that corresponds to a physical instance ID of a resource supported by Amazon CloudFormation.

Type: String

Required: No

ResourceStatusReason

Success/failure message associated with the resource.

Type: String

Required: No

StackId

Unique identifier of the stack.

Type: String

Required: No

StackName

The name associated with the stack.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: