Class: Aws::CloudFormation::Types::ScannedResourceIdentifier

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

Overview

Identifies a scanned resource. This is used with the ‘ListResourceScanRelatedResources` API action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#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*.

[1]: docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier

Returns:

  • (Hash<String,String>)


7331
7332
7333
7334
7335
7336
# File 'lib/aws-sdk-cloudformation/types.rb', line 7331

class ScannedResourceIdentifier < Struct.new(
  :resource_type,
  :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*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html

Returns:

  • (String)


7331
7332
7333
7334
7335
7336
# File 'lib/aws-sdk-cloudformation/types.rb', line 7331

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