| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudFormation.DescribeStackResource
Description
Returns a description of the specified resource in the specified stack.
For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
Synopsis
- describeStackResource :: Text -> Text -> DescribeStackResource
- data DescribeStackResource
- dsrsStackName :: Lens' DescribeStackResource Text
- dsrsLogicalResourceId :: Lens' DescribeStackResource Text
- describeStackResourceResponse :: Int -> DescribeStackResourceResponse
- data DescribeStackResourceResponse
- dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)
- dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int
Creating a Request
describeStackResource Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeStackResource |
Creates a value of DescribeStackResource with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsStackName- The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.dsrsLogicalResourceId- The logical name of the resource as specified in the template. Default: There is no default value.
data DescribeStackResource Source #
The input for DescribeStackResource action.
See: describeStackResource smart constructor.
Instances
Request Lenses
dsrsStackName :: Lens' DescribeStackResource Text Source #
The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.
dsrsLogicalResourceId :: Lens' DescribeStackResource Text Source #
The logical name of the resource as specified in the template. Default: There is no default value.
Destructuring the Response
describeStackResourceResponse Source #
Arguments
| :: Int | |
| -> DescribeStackResourceResponse |
Creates a value of DescribeStackResourceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrrsStackResourceDetail- AStackResourceDetailstructure containing the description of the specified resource in the specified stack.dsrrsResponseStatus- -- | The response status code.
data DescribeStackResourceResponse Source #
The output for a DescribeStackResource action.
See: describeStackResourceResponse smart constructor.
Instances
Response Lenses
dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #
A StackResourceDetail structure containing the description of the specified resource in the specified stack.
dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int Source #
- - | The response status code.