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

Amazonka.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

Creating a Request

data DescribeStackResource Source #

The input for DescribeStackResource action.

See: newDescribeStackResource smart constructor.

Constructors

DescribeStackResource' 

Fields

  • stackName :: Text

    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.

  • logicalResourceId :: Text

    The logical name of the resource as specified in the template.

    Default: There is no default value.

Instances

Instances details
Eq DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Read DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Show DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Generic DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type Rep DescribeStackResource :: Type -> Type #

NFData DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Methods

rnf :: DescribeStackResource -> () #

Hashable DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

AWSRequest DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type AWSResponse DescribeStackResource #

ToHeaders DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

ToPath DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

ToQuery DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

type Rep DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

type Rep DescribeStackResource = D1 ('MetaData "DescribeStackResource" "Amazonka.CloudFormation.DescribeStackResource" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "DescribeStackResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logicalResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

newDescribeStackResource Source #

Create a value of DescribeStackResource 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:stackName:DescribeStackResource', describeStackResource_stackName - 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.

$sel:logicalResourceId:DescribeStackResource', describeStackResource_logicalResourceId - The logical name of the resource as specified in the template.

Default: There is no default value.

Request Lenses

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

describeStackResource_logicalResourceId :: Lens' DescribeStackResource Text Source #

The logical name of the resource as specified in the template.

Default: There is no default value.

Destructuring the Response

data DescribeStackResourceResponse Source #

The output for a DescribeStackResource action.

See: newDescribeStackResourceResponse smart constructor.

Constructors

DescribeStackResourceResponse' 

Fields

Instances

Instances details
Eq DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Read DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Show DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Generic DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type Rep DescribeStackResourceResponse :: Type -> Type #

NFData DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

type Rep DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

type Rep DescribeStackResourceResponse = D1 ('MetaData "DescribeStackResourceResponse" "Amazonka.CloudFormation.DescribeStackResource" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "DescribeStackResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackResourceDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackResourceDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeStackResourceResponse Source #

Create a value of DescribeStackResourceResponse 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:stackResourceDetail:DescribeStackResourceResponse', describeStackResourceResponse_stackResourceDetail - A StackResourceDetail structure containing the description of the specified resource in the specified stack.

$sel:httpStatus:DescribeStackResourceResponse', describeStackResourceResponse_httpStatus - The response's http status code.

Response Lenses

describeStackResourceResponse_stackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #

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