aws oam update-link
Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--identifierThe ARN of the link that you want to update.--include-tagsSpecifies whether to include the tags associated with the link in the response after the update operation.--link-configurationUse this structure to filter which metric namespaces and which 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 will send to the monitoring account.