Class: Aws::SsmSap::Types::Resource

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

Overview

The resource contains a ‘ResourceArn` and the `ResourceType`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the source resource.

Example of ‘ResourceArn`: “`arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321`”

Returns:

  • (String)


1349
1350
1351
1352
1353
1354
# File 'lib/aws-sdk-ssmsap/types.rb', line 1349

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

#resource_typeString

The resource type.

Example of ‘ResourceType`: “`AWS::SystemsManagerSAP::Component`” or “`AWS::EC2::Instance`”.

Returns:

  • (String)


1349
1350
1351
1352
1353
1354
# File 'lib/aws-sdk-ssmsap/types.rb', line 1349

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