ServiceResource / Sub-Resource / StackResource

StackResource#

CloudFormation.ServiceResource.StackResource(stack_name, logical_id)#

Creates a StackResource resource.:

stack_resource = cloudformation.StackResource('stack_name','logical_id')
Parameters:
  • stack_name (string) – The StackResource’s stack_name identifier. This must be set.

  • logical_id (string) – The StackResource’s logical_id identifier. This must be set.

Return type:

CloudFormation.StackResource

Returns:

A StackResource resource