class
Amazonite::CloudFormation::ResourceDefinition
- Amazonite::CloudFormation::ResourceDefinition
- Reference
- Object
Overview
A resource included in a generated template. This data type is used with the
CreateGeneratedTemplate and UpdateGeneratedTemplate API actions.
Defined in:
cloudformation/resource_definition.crConstructors
- .from_xml(node : XML::Node) : self
- .new(resource_type : String, resource_identifier : Hash(String, String), logical_resource_id : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#logical_resource_id : String | Nil
The logical resource id for this resource in the generated template.
-
#logical_resource_id=(logical_resource_id : String | Nil)
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_identifier=(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. -
#resource_type=(resource_type : String)
The type of the resource, such as
AWS::DynamoDB::Table. - #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The logical resource id for this resource in the generated template.
The logical resource id for this resource in the generated template.
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.
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.
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
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