View a markdown version of this page

AccessGrantPrincipalAttribute - Amazon CloudWatch Omni

AccessGrantPrincipalAttribute

A single attribute condition used to match principals for attribute-based access.

Contents

key

The Identity Center user attribute to match on. One of userName, active, userStatus, displayName, email, name.givenName, name.familyName, enterprise.department, enterprise.division, enterprise.organization, enterprise.costCenter, or enterprise.employeeNumber. Each key may appear only once per grant.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

value

The attribute value.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

See Also

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