amazonka-cloudformation-1.3.5: Amazon CloudFormation SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.DescribeStackResource

Contents

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.

See: AWS API Reference for DescribeStackResource.

Synopsis

Creating a Request

describeStackResource Source

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:

Request Lenses

desStackName :: 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.

desLogicalResourceId :: 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

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:

Response Lenses

dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source

A StackResourceDetail structure containing the description of the specified resource in the specified stack.