amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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's associated with the stack, which aren't 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
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

AWSRequest DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type AWSResponse DescribeStackResource #

Generic DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type Rep DescribeStackResource :: Type -> Type #

Read DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Show DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

NFData DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Methods

rnf :: DescribeStackResource -> () #

Eq DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Hashable DescribeStackResource Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

type AWSResponse 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DescribeStackResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logicalResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

DescribeStackResource, describeStackResource_stackName - The name or the unique stack ID that's associated with the stack, which aren't 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, 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's associated with the stack, which aren't 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
Generic DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Associated Types

type Rep DescribeStackResourceResponse :: Type -> Type #

Read DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Show DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

NFData DescribeStackResourceResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DescribeStackResource

Eq 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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.