Class StackEvent
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StackEvent.Builder,
StackEvent>
The StackEvent data type.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackEvent.Builder
builder()
final String
The token passed to the operation that generated this event.final DetailedStatus
An optional field containing information about the detailed status of the stack event.final String
An optional field containing information about the detailed status of the stack event.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
eventId()
The unique ID of this event.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final HookFailureMode
Specify the hook failure mode for non-compliant resources in the followings ways.final String
Specify the hook failure mode for non-compliant resources in the followings ways.final HookInvocationPoint
Invocation points are points in provisioning logic where hooks are initiated.final String
Invocation points are points in provisioning logic where hooks are initiated.final HookStatus
Provides the status of the change set hook.final String
Provides the status of the change set hook.final String
Provides the reason for the hook status.final String
hookType()
The name of the hook.final String
The logical name of the resource specified in the template.final String
The name or unique identifier associated with the physical instance of the resource.final String
BLOB of the properties used to create the resource.final ResourceStatus
Current status of the resource.final String
Current status of the resource.final String
Success/failure message associated with the resource.final String
Type of resource.static Class
<? extends StackEvent.Builder> final String
stackId()
The unique ID name of the instance of the stack.final String
The name associated with a stack.final Instant
Time the status was updated.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stackId
The unique ID name of the instance of the stack.
- Returns:
- The unique ID name of the instance of the stack.
-
eventId
The unique ID of this event.
- Returns:
- The unique ID of this event.
-
stackName
The name associated with a stack.
- Returns:
- The name associated with a stack.
-
logicalResourceId
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
physicalResourceId
The name or unique identifier associated with the physical instance of the resource.
- Returns:
- The name or unique identifier associated with the physical instance of the resource.
-
resourceType
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
- Returns:
- Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
-
timestamp
Time the status was updated.
- Returns:
- Time the status was updated.
-
resourceStatus
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceStatus
will returnResourceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresourceStatusAsString()
.- Returns:
- Current status of the resource.
- See Also:
-
resourceStatusAsString
Current status of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceStatus
will returnResourceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresourceStatusAsString()
.- Returns:
- Current status of the resource.
- See Also:
-
resourceStatusReason
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
resourceProperties
BLOB of the properties used to create the resource.
- Returns:
- BLOB of the properties used to create the resource.
-
clientRequestToken
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 tokentoken1
, then all theStackEvents
generated by that operation will haveClientRequestToken
set astoken1
.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
.- Returns:
- 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 tokentoken1
, then all theStackEvents
generated by that operation will haveClientRequestToken
set astoken1
.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
.
-
hookType
The name of the hook.
- Returns:
- The name of the hook.
-
hookStatus
Provides the status of the change set hook.
If the service returns an enum value that is not available in the current SDK version,
hookStatus
will returnHookStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookStatusAsString()
.- Returns:
- Provides the status of the change set hook.
- See Also:
-
hookStatusAsString
Provides the status of the change set hook.
If the service returns an enum value that is not available in the current SDK version,
hookStatus
will returnHookStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookStatusAsString()
.- Returns:
- Provides the status of the change set hook.
- See Also:
-
hookStatusReason
Provides the reason for the hook status.
- Returns:
- Provides the reason for the hook status.
-
hookInvocationPoint
Invocation points are points in provisioning logic where hooks are initiated.
If the service returns an enum value that is not available in the current SDK version,
hookInvocationPoint
will returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookInvocationPointAsString()
.- Returns:
- Invocation points are points in provisioning logic where hooks are initiated.
- See Also:
-
hookInvocationPointAsString
Invocation points are points in provisioning logic where hooks are initiated.
If the service returns an enum value that is not available in the current SDK version,
hookInvocationPoint
will returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookInvocationPointAsString()
.- Returns:
- Invocation points are points in provisioning logic where hooks are initiated.
- See Also:
-
hookFailureMode
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.
If the service returns an enum value that is not available in the current SDK version,
hookFailureMode
will returnHookFailureMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookFailureModeAsString()
.- Returns:
- 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.
-
- See Also:
-
-
hookFailureModeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
hookFailureMode
will returnHookFailureMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromhookFailureModeAsString()
.- Returns:
- 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.
-
- See Also:
-
-
detailedStatus
An optional field containing information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE
- all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.
-
VALIDATION_FAILED
- template validation failed because of invalid properties in the template. TheResourceStatusReason
field shows what properties are defined incorrectly.
If the service returns an enum value that is not available in the current SDK version,
detailedStatus
will returnDetailedStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdetailedStatusAsString()
.- Returns:
- An optional field containing information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE
- all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.
-
VALIDATION_FAILED
- template validation failed because of invalid properties in the template. TheResourceStatusReason
field shows what properties are defined incorrectly.
-
- See Also:
-
-
detailedStatusAsString
An optional field containing information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE
- all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.
-
VALIDATION_FAILED
- template validation failed because of invalid properties in the template. TheResourceStatusReason
field shows what properties are defined incorrectly.
If the service returns an enum value that is not available in the current SDK version,
detailedStatus
will returnDetailedStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdetailedStatusAsString()
.- Returns:
- An optional field containing information about the detailed status of the stack event.
-
CONFIGURATION_COMPLETE
- all of the resources in the stack have reached that event. For more information, see CloudFormation stack deployment in the CloudFormation User Guide.
-
VALIDATION_FAILED
- template validation failed because of invalid properties in the template. TheResourceStatusReason
field shows what properties are defined incorrectly.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StackEvent.Builder,
StackEvent> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-