View a markdown version of this page

AWS::CloudWatch::AccessGrant AccessGrantPrincipalAttribute - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::CloudWatch::AccessGrant AccessGrantPrincipalAttribute

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Key" : String, "Value" : String }

YAML

Key: String Value: String

Properties

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.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: Replacement

Value

The attribute value.

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: Replacement