Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StackResource = StackResource' {
- physicalResourceId :: Maybe Text
- resourceStatusReason :: Maybe Text
- driftInformation :: Maybe StackResourceDriftInformation
- moduleInfo :: Maybe ModuleInfo
- stackId :: Maybe Text
- description :: Maybe Text
- stackName :: Maybe Text
- logicalResourceId :: Text
- resourceType :: Text
- timestamp :: ISO8601
- resourceStatus :: ResourceStatus
- newStackResource :: Text -> Text -> UTCTime -> ResourceStatus -> StackResource
- stackResource_physicalResourceId :: Lens' StackResource (Maybe Text)
- stackResource_resourceStatusReason :: Lens' StackResource (Maybe Text)
- stackResource_driftInformation :: Lens' StackResource (Maybe StackResourceDriftInformation)
- stackResource_moduleInfo :: Lens' StackResource (Maybe ModuleInfo)
- stackResource_stackId :: Lens' StackResource (Maybe Text)
- stackResource_description :: Lens' StackResource (Maybe Text)
- stackResource_stackName :: Lens' StackResource (Maybe Text)
- stackResource_logicalResourceId :: Lens' StackResource Text
- stackResource_resourceType :: Lens' StackResource Text
- stackResource_timestamp :: Lens' StackResource UTCTime
- stackResource_resourceStatus :: Lens' StackResource ResourceStatus
Documentation
data StackResource Source #
The StackResource data type.
See: newStackResource
smart constructor.
StackResource' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> ResourceStatus | |
-> StackResource |
Create a value of StackResource
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:physicalResourceId:StackResource'
, stackResource_physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID
of a resource supported by CloudFormation.
$sel:resourceStatusReason:StackResource'
, stackResource_resourceStatusReason
- Success/failure message associated with the resource.
$sel:driftInformation:StackResource'
, stackResource_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.
$sel:moduleInfo:StackResource'
, stackResource_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.
$sel:stackId:StackResource'
, stackResource_stackId
- Unique identifier of the stack.
$sel:description:StackResource'
, stackResource_description
- User defined description associated with the resource.
$sel:stackName:StackResource'
, stackResource_stackName
- The name associated with the stack.
$sel:logicalResourceId:StackResource'
, stackResource_logicalResourceId
- The logical name of the resource specified in the template.
$sel:resourceType:StackResource'
, stackResource_resourceType
- Type of resource. (For more information, go to
Amazon Web Services Resource Types Reference
in the CloudFormation User Guide.)
$sel:timestamp:StackResource'
, stackResource_timestamp
- Time the status was updated.
$sel:resourceStatus:StackResource'
, stackResource_resourceStatus
- Current status of the resource.
stackResource_physicalResourceId :: Lens' StackResource (Maybe Text) Source #
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
stackResource_resourceStatusReason :: Lens' StackResource (Maybe Text) Source #
Success/failure message associated with the resource.
stackResource_driftInformation :: Lens' StackResource (Maybe StackResourceDriftInformation) Source #
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.
stackResource_moduleInfo :: Lens' StackResource (Maybe ModuleInfo) Source #
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
stackResource_stackId :: Lens' StackResource (Maybe Text) Source #
Unique identifier of the stack.
stackResource_description :: Lens' StackResource (Maybe Text) Source #
User defined description associated with the resource.
stackResource_stackName :: Lens' StackResource (Maybe Text) Source #
The name associated with the stack.
stackResource_logicalResourceId :: Lens' StackResource Text Source #
The logical name of the resource specified in the template.
stackResource_resourceType :: Lens' StackResource Text Source #
Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
stackResource_timestamp :: Lens' StackResource UTCTime Source #
Time the status was updated.
stackResource_resourceStatus :: Lens' StackResource ResourceStatus Source #
Current status of the resource.