CreateLinkInput
¶
Source code in docs_src/capo_oam/types/create_link_input.py
label_template
instance-attribute
¶
label_template: LabelTemplate
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:
-
$AccountNameis the name of the account -
$AccountEmailis the globally unique email address of the account -
$AccountEmailNoDomainis the email address of the account without the domain name
In the Amazon Web Services GovCloud (US-East) and Amazon Web Services GovCloud (US-West) Regions, the only supported option is to use custom labels, and the $AccountName, $AccountEmail, and $AccountEmailNoDomain variables all resolve as account-id instead of the specified variable.
link_configuration
instance-attribute
¶
link_configuration: NotRequired[LinkConfiguration]
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.
resource_types
instance-attribute
¶
resource_types: ResourceTypesInput
An array of strings that define which types of data that the source account shares with the monitoring account.
sink_identifier
instance-attribute
¶
sink_identifier: ResourceIdentifier
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.
tags
instance-attribute
¶
tags: NotRequired[TagMapInput]
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.