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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-oam/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)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-oam/lib/aws-sdk-oam/types.rb', line 89

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

Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.



89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-oam/lib/aws-sdk-oam/types.rb', line 89

class CreateLinkInput < Struct.new(
  :label_template,
  :link_configuration,
  :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>)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-oam/lib/aws-sdk-oam/types.rb', line 89

class CreateLinkInput < Struct.new(
  :label_template,
  :link_configuration,
  :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 to find the ARNs of sinks.

For more information about sinks, see CreateSink.

Returns:

  • (String)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-oam/lib/aws-sdk-oam/types.rb', line 89

class CreateLinkInput < Struct.new(
  :label_template,
  :link_configuration,
  :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.

Returns:

  • (Hash<String,String>)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-oam/lib/aws-sdk-oam/types.rb', line 89

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