aws oam create-link
Creates a link between a source account and a sink that you have created in a monitoring account. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--label-templateSpecify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.--link-configurationUse 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-typesAn array of strings that define which types of data that the source account shares with the monitoring account.--sink-identifierThe ARN of the sink to use to create this link.--tagsAssigns one or more tags (key-value pairs) to the link.