Class: Aws::CloudFormation::Types::ScannedResource

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

Overview

A scanned resource returned by ListResourceScanResources or ListResourceScanRelatedResources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#managed_by_stackBoolean

If true, the resource is managed by a CloudFormation stack.

Returns:

  • (Boolean)


7302
7303
7304
7305
7306
7307
7308
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7302

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

#resource_identifierHash<String,String>

A list of up to 256 key-value pairs that identifies for 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>)


7302
7303
7304
7305
7306
7307
7308
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7302

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

#resource_typeString

The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support In the CloudFormation User Guide

Returns:

  • (String)


7302
7303
7304
7305
7306
7307
7308
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7302

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