AWS::BedrockAgentCore::GatewayRule IamPrincipal - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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::BedrockAgentCore::GatewayRule IamPrincipal

An IAM principal specification for rule matching.

Syntax

To declare this entity in your 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