Class: Aws::CloudFormation::Types::ResourceDefinition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb

Overview

A resource included in a generated template. This data type is used with the CreateGeneratedTemplate and UpdateGeneratedTemplate API actions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#logical_resource_idString

The logical resource id for this resource in the generated template.

Returns:

  • (String)


6818
6819
6820
6821
6822
6823
6824
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 6818

class ResourceDefinition < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#resource_identifierHash<String,String>

A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.

Returns:

  • (Hash<String,String>)


6818
6819
6820
6821
6822
6823
6824
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 6818

class ResourceDefinition < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide

Returns:

  • (String)


6818
6819
6820
6821
6822
6823
6824
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 6818

class ResourceDefinition < Struct.new(
  :resource_type,
  :logical_resource_id,
  :resource_identifier)
  SENSITIVE = []
  include Aws::Structure
end