View a markdown version of this page

SpaceCredentialRequestContext - Amazon CloudWatch Omni

SpaceCredentialRequestContext

Identifies what the credentials are for: either an existing space, or a target account in a domain. Specify spaceId, or both domainId and targetAccountId.

Contents

domainId

The ID of the domain, when returning credentials for a target account that does not yet have a space.

Type: String

Pattern: d-[0-9a-z]{1,25}

Required: No

spaceId

The ID of an existing space to return credentials for.

Type: String

Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: No

targetAccountId

The ID of the target member account. Required when domainId is set.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: