Stack / Sub-Resource / Resource

Resource#

CloudFormation.Stack.Resource(logical_id)#

Creates a StackResource resource.:

stack_resource = stack.Resource('logical_id')
Parameters:

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

Return type:

CloudFormation.StackResource

Returns:

A StackResource resource