CrossAccountId Parameter (Connect-AmazonAthena Cmdlet)
The Account Id to use when retrieving metadata from Glue. Default is current account id.
Syntax
Connect-AmazonAthena -CrossAccountId string
Data Type
cstr
Default Value
""
Remarks
When the property MetadataDiscoveryMethod has been set to 'Glue' then user is able to specify a Cross Account Id which they have permissions to access, and this account will be used to retrieve metadata. See more information here: https://docs.aws.amazon.com/glue/latest/dg/cross-account-access.html