Class: Aws::OAM::Types::CreateLinkInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::OAM::Types::CreateLinkInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-oam/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#label_template ⇒ String
Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
-
#resource_types ⇒ Array<String>
An array of strings that define which types of data that the source account shares with the monitoring account.
-
#sink_identifier ⇒ String
The ARN of the sink to use to create this link.
-
#tags ⇒ Hash<String,String>
Assigns one or more tags (key-value pairs) to the link.
Instance Attribute Details
#label_template ⇒ String
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
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_types ⇒ Array<String>
An array of strings that define which types of data that the source account shares with the monitoring account.
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_identifier ⇒ String
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
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 |
#tags ⇒ Hash<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
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 |