Paws::CloudFormation::DescribeStackResources - Arguments for method DescribeStackResources on Paws::CloudFormation


This class represents the parameters used for calling the method DescribeStackResources on the AWS CloudFormation service. Use the attributes of this class as arguments to method DescribeStackResources.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeStackResources.


    my $cloudformation = Paws->service('CloudFormation');
    my $DescribeStackResourcesOutput = $cloudformation->DescribeStackResources(
      LogicalResourceId  => 'MyLogicalResourceId',     # OPTIONAL
      PhysicalResourceId => 'MyPhysicalResourceId',    # OPTIONAL
      StackName          => 'MyStackName',             # OPTIONAL

    # Results:
    my $StackResources = $DescribeStackResourcesOutput->StackResources;

    # Returns a L<Paws::CloudFormation::DescribeStackResourcesOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


LogicalResourceId => Str

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

Default: There is no default value.

PhysicalResourceId => Str

The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.

For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack.

Required: Conditional. If you do not specify PhysicalResourceId, you must specify StackName.

Default: There is no default value.

StackName => Str

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.

Required: Conditional. If you do not specify StackName, you must specify PhysicalResourceId.


This class forms part of Paws, documenting arguments for method DescribeStackResources in Paws::CloudFormation


The source code is located here:

Please report bugs to: