Skip to content

Describe Stack Resource

cloudformation_describe_stack_resource R Documentation

Returns a description of the specified resource in the specified stack

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.

Usage

cloudformation_describe_stack_resource(StackName, LogicalResourceId)

Arguments

StackName

[required] 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

[required] The logical name of the resource as specified in the template.

Default: There is no default value.

Value

A list with the following syntax:

list(
  StackResourceDetail = list(
    StackName = "string",
    StackId = "string",
    LogicalResourceId = "string",
    PhysicalResourceId = "string",
    ResourceType = "string",
    LastUpdatedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ResourceStatus = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"CREATE_COMPLETE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"DELETE_SKIPPED"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|"UPDATE_COMPLETE"|"IMPORT_FAILED"|"IMPORT_COMPLETE"|"IMPORT_IN_PROGRESS"|"IMPORT_ROLLBACK_IN_PROGRESS"|"IMPORT_ROLLBACK_FAILED"|"IMPORT_ROLLBACK_COMPLETE"|"UPDATE_ROLLBACK_IN_PROGRESS"|"UPDATE_ROLLBACK_COMPLETE"|"UPDATE_ROLLBACK_FAILED"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_COMPLETE"|"ROLLBACK_FAILED",
    ResourceStatusReason = "string",
    Description = "string",
    Metadata = "string",
    DriftInformation = list(
      StackResourceDriftStatus = "IN_SYNC"|"MODIFIED"|"DELETED"|"NOT_CHECKED",
      LastCheckTimestamp = as.POSIXct(
        "2015-01-01"
      )
    ),
    ModuleInfo = list(
      TypeHierarchy = "string",
      LogicalIdHierarchy = "string"
    )
  )
)

Request syntax

svc$describe_stack_resource(
  StackName = "string",
  LogicalResourceId = "string"
)