Class: Aws::OAM::Types::CreateLinkInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#label_templateString

Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.

You can use a custom label or use the following variables:

  • ‘$AccountName` is the name of the account

  • ‘$AccountEmail` is the globally unique email address of the account

  • ‘$AccountEmailNoDomain` is the email address of the account without the domain name

Returns:

  • (String)


83
84
85
86
87
88
89
90
# File 'lib/aws-sdk-oam/types.rb', line 83

class CreateLinkInput < Struct.new(
  :label_template,
  :resource_types,
  :sink_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typesArray<String>

An array of strings that define which types of data that the source account shares with the monitoring account.

Returns:

  • (Array<String>)


83
84
85
86
87
88
89
90
# File 'lib/aws-sdk-oam/types.rb', line 83

class CreateLinkInput < Struct.new(
  :label_template,
  :resource_types,
  :sink_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#sink_identifierString

The ARN of the sink to use to create this link. You can use

ListSinks][1

to find the ARNs of sinks.

For more information about sinks, see [CreateSink].

[1]: docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html [2]: docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html

Returns:

  • (String)


83
84
85
86
87
88
89
90
# File 'lib/aws-sdk-oam/types.rb', line 83

class CreateLinkInput < Struct.new(
  :label_template,
  :resource_types,
  :sink_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Assigns one or more tags (key-value pairs) to the link.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

For more information about using tags to control access, see [Controlling access to Amazon Web Services resources using tags].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html

Returns:

  • (Hash<String,String>)


83
84
85
86
87
88
89
90
# File 'lib/aws-sdk-oam/types.rb', line 83

class CreateLinkInput < Struct.new(
  :label_template,
  :resource_types,
  :sink_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end