View a markdown version of this page

AWS::WellArchitected::AgentProfilePolicy - 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::WellArchitected::AgentProfilePolicy

Attaches or replaces a resource-based policy on an Agent Profile. The policy controls cross-account access to the profile and its child resources such as recommendations, goals, and contexts. Only the profile owner can call this operation. The policy must be valid IAM JSON with Allow-only statements and no negation condition operators.

Syntax

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

JSON

{ "Type" : "AWS::WellArchitected::AgentProfilePolicy", "Properties" : { "Policy" : String, "ProfileArn" : String } }

YAML

Type: AWS::WellArchitected::AgentProfilePolicy Properties: Policy: String ProfileArn: String

Properties

Policy

Property description not available.

Required: Yes

Type: String

Minimum: 1

Maximum: 51200

Update requires: No interruption

ProfileArn

Property description not available.

Required: Yes

Type: String

Pattern: ^arn:aws([a-z0-9-]+)?:wellarchitected:[a-z0-9-]{6,64}:[0-9]{12}:agent-profile/[a-zA-Z0-9_-]+$

Minimum: 1

Maximum: 2048

Update requires: Replacement

Return values

Ref