View a markdown version of this page

AWS::BedrockAgentCore::GatewayRule IamPrincipal - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

AWS::BedrockAgentCore::GatewayRule IamPrincipal

An IAM principal specification for rule matching.

Syntax

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

JSON

{ "Arn" : String, "Operator" : String }

YAML

Arn: String Operator: String

Properties

Arn

The Amazon Resource Name (ARN) of the IAM principal. Supports user, role, and assumed-role ARNs. Wildcards can be used with the StringLike operator.

Required: Yes

Type: String

Pattern: ^(arn:aws[a-zA-Z-]*:iam::(\d{12}|\*):(user|role)/[\w+=,.@*?/-]+|arn:aws[a-zA-Z-]*:sts::(\d{12}|\*):assumed-role/[\w+=,.@*?/-]+)$

Maximum: 2048

Update requires: No interruption

Operator

The match operator. StringEquals requires an exact match. StringLike supports wildcard patterns using * and ?.

Required: No

Type: String

Allowed values: StringEquals | StringLike

Update requires: No interruption