Class: Aws::CloudFormation::Types::ResourceDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::ResourceDefinition
- Includes:
- Structure
- Defined in:
- 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
-
#logical_resource_id ⇒ String
The logical resource id for this resource in the generated template.
-
#resource_identifier ⇒ Hash<String,String>
A list of up to 256 key-value pairs that identifies the scanned resource.
-
#resource_type ⇒ String
The type of the resource, such as
AWS::DynamoDB::Table.
Instance Attribute Details
#logical_resource_id ⇒ String
The logical resource id for this resource in the generated template.
7733 7734 7735 7736 7737 7738 7739 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7733 class ResourceDefinition < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) SENSITIVE = [] include Aws::Structure end |
#resource_identifier ⇒ Hash<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 (CLI) User Guide*.
7733 7734 7735 7736 7737 7738 7739 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7733 class ResourceDefinition < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see [Resource type support for imports and drift detection] in the *CloudFormation User Guide*
[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html
7733 7734 7735 7736 7737 7738 7739 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7733 class ResourceDefinition < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) SENSITIVE = [] include Aws::Structure end |