Skip to content

CloudFormation  >  Structures  >  StackEvent

StackEvent

Structure Class

StackEvent dataclass

Bases: _SerdeShape

The StackEvent data type.

Attributes

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

The token passed to the operation that generated this event.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

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

An optional field that contains information about the detailed status of the stack event.

  • VALIDATION_FAILED - template validation failed because of invalid properties in the template. The ResourceStatusReason field shows what properties are defined incorrectly.
event_id class-attribute instance-attribute
event_id: str | None = ...

The unique identifier of this event.

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

Specify the Hook failure mode for non-compliant resources in the followings ways.

  • FAIL Stops provisioning resources.

  • WARN Allows provisioning to continue with a warning message.

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

The unique identifier of the Hook invocation.

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

The specific point in the provisioning process where the Hook is invoked.

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

Provides the status of the change set Hook.

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

Provides the reason for the Hook status.

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

The name of the Hook.

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

The logical name of the resource specified in the template.

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

The unique identifier of the operation that generated this stack event.

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

The name or unique identifier associated with the physical instance of the resource.

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

BLOB of the properties used to create the resource.

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

Current status of the resource.

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

Success/failure message associated with the resource.

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

Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.

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

The unique ID name of the instance of the stack.

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

The name associated with a stack.

timestamp class-attribute instance-attribute
timestamp: datetime | None = ...

Time the status was updated.