View a markdown version of this page

ScopedActions - Amazon CloudWatch Omni

ScopedActions

A group of actions within an access grant, together with the resource scopes and context conditions that apply to exactly those actions.

Contents

actions

The actions this group applies to.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Length Constraints: Minimum length of 3. Maximum length of 256.

Pattern: [a-z0-9][a-z0-9-]*:[A-Za-z][A-Za-z0-9]*

Required: Yes

contextConditions

Optional context conditions for fine-grained access control on these actions.

Type: String to array of strings map

Map Entries: Minimum number of 0 items. Maximum number of 10 items.

Required: No

resources

Optional resource scopes constraining these actions to specific resources.

Type: Array of ResourceScope objects

Array Members: Minimum number of 0 items. Maximum number of 10 items.

Required: No

See Also

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