| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFormation.Types.StackEvent
Description
Synopsis
- data StackEvent = StackEvent' {
- clientRequestToken :: Maybe Text
- hookFailureMode :: Maybe HookFailureMode
- hookInvocationPoint :: Maybe HookInvocationPoint
- hookStatus :: Maybe HookStatus
- hookStatusReason :: Maybe Text
- hookType :: Maybe Text
- logicalResourceId :: Maybe Text
- physicalResourceId :: Maybe Text
- resourceProperties :: Maybe Text
- resourceStatus :: Maybe ResourceStatus
- resourceStatusReason :: Maybe Text
- resourceType :: Maybe Text
- stackId :: Text
- eventId :: Text
- stackName :: Text
- timestamp :: ISO8601
- newStackEvent :: Text -> Text -> Text -> UTCTime -> StackEvent
- stackEvent_clientRequestToken :: Lens' StackEvent (Maybe Text)
- stackEvent_hookFailureMode :: Lens' StackEvent (Maybe HookFailureMode)
- stackEvent_hookInvocationPoint :: Lens' StackEvent (Maybe HookInvocationPoint)
- stackEvent_hookStatus :: Lens' StackEvent (Maybe HookStatus)
- stackEvent_hookStatusReason :: Lens' StackEvent (Maybe Text)
- stackEvent_hookType :: Lens' StackEvent (Maybe Text)
- stackEvent_logicalResourceId :: Lens' StackEvent (Maybe Text)
- stackEvent_physicalResourceId :: Lens' StackEvent (Maybe Text)
- stackEvent_resourceProperties :: Lens' StackEvent (Maybe Text)
- stackEvent_resourceStatus :: Lens' StackEvent (Maybe ResourceStatus)
- stackEvent_resourceStatusReason :: Lens' StackEvent (Maybe Text)
- stackEvent_resourceType :: Lens' StackEvent (Maybe Text)
- stackEvent_stackId :: Lens' StackEvent Text
- stackEvent_eventId :: Lens' StackEvent Text
- stackEvent_stackName :: Lens' StackEvent Text
- stackEvent_timestamp :: Lens' StackEvent UTCTime
Documentation
data StackEvent Source #
The StackEvent data type.
See: newStackEvent smart constructor.
Constructors
| StackEvent' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> UTCTime | |
| -> StackEvent |
Create a value of StackEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientRequestToken:StackEvent', stackEvent_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 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.
$sel:hookFailureMode:StackEvent', stackEvent_hookFailureMode - Specify the hook failure mode for non-compliant resources in the
followings ways.
FAILStops provisioning resources.WARNAllows provisioning to continue with a warning message.
$sel:hookInvocationPoint:StackEvent', stackEvent_hookInvocationPoint - Invocation points are points in provisioning logic where hooks are
initiated.
$sel:hookStatus:StackEvent', stackEvent_hookStatus - Provides the status of the change set hook.
$sel:hookStatusReason:StackEvent', stackEvent_hookStatusReason - Provides the reason for the hook status.
$sel:hookType:StackEvent', stackEvent_hookType - The name of the hook.
$sel:logicalResourceId:StackEvent', stackEvent_logicalResourceId - The logical name of the resource specified in the template.
$sel:physicalResourceId:StackEvent', stackEvent_physicalResourceId - The name or unique identifier associated with the physical instance of
the resource.
$sel:resourceProperties:StackEvent', stackEvent_resourceProperties - BLOB of the properties used to create the resource.
$sel:resourceStatus:StackEvent', stackEvent_resourceStatus - Current status of the resource.
$sel:resourceStatusReason:StackEvent', stackEvent_resourceStatusReason - Success/failure message associated with the resource.
$sel:resourceType:StackEvent', stackEvent_resourceType - Type of resource. (For more information, go to
Amazon Web Services Resource Types Reference
in the CloudFormation User Guide.)
$sel:stackId:StackEvent', stackEvent_stackId - The unique ID name of the instance of the stack.
$sel:eventId:StackEvent', stackEvent_eventId - The unique ID of this event.
$sel:stackName:StackEvent', stackEvent_stackName - The name associated with a stack.
$sel:timestamp:StackEvent', stackEvent_timestamp - Time the status was updated.
stackEvent_clientRequestToken :: Lens' StackEvent (Maybe Text) Source #
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.
stackEvent_hookFailureMode :: Lens' StackEvent (Maybe HookFailureMode) Source #
Specify the hook failure mode for non-compliant resources in the followings ways.
FAILStops provisioning resources.WARNAllows provisioning to continue with a warning message.
stackEvent_hookInvocationPoint :: Lens' StackEvent (Maybe HookInvocationPoint) Source #
Invocation points are points in provisioning logic where hooks are initiated.
stackEvent_hookStatus :: Lens' StackEvent (Maybe HookStatus) Source #
Provides the status of the change set hook.
stackEvent_hookStatusReason :: Lens' StackEvent (Maybe Text) Source #
Provides the reason for the hook status.
stackEvent_hookType :: Lens' StackEvent (Maybe Text) Source #
The name of the hook.
stackEvent_logicalResourceId :: Lens' StackEvent (Maybe Text) Source #
The logical name of the resource specified in the template.
stackEvent_physicalResourceId :: Lens' StackEvent (Maybe Text) Source #
The name or unique identifier associated with the physical instance of the resource.
stackEvent_resourceProperties :: Lens' StackEvent (Maybe Text) Source #
BLOB of the properties used to create the resource.
stackEvent_resourceStatus :: Lens' StackEvent (Maybe ResourceStatus) Source #
Current status of the resource.
stackEvent_resourceStatusReason :: Lens' StackEvent (Maybe Text) Source #
Success/failure message associated with the resource.
stackEvent_resourceType :: Lens' StackEvent (Maybe Text) Source #
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
stackEvent_stackId :: Lens' StackEvent Text Source #
The unique ID name of the instance of the stack.
stackEvent_eventId :: Lens' StackEvent Text Source #
The unique ID of this event.
stackEvent_stackName :: Lens' StackEvent Text Source #
The name associated with a stack.
stackEvent_timestamp :: Lens' StackEvent UTCTime Source #
Time the status was updated.