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::WellArchitected::AgentProfile
Note
Amazon Well-Architected Agent is in preview release and is subject to change.
Creates an optimization profile that defines the scope and configuration for generating recommendations. A profile specifies the execution role, target pillars, and aggregation settings for analyzing your Amazon resources.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::WellArchitected::AgentProfile", "Properties" : { "AggregationConfiguration" :[ AggregationConfiguration, ... ], "BusinessOverview" :String, "DeletionProtection" :Boolean, "Description" :String, "DisplayName" :String, "ExecutionRoleArn" :String, "Name" :String, "Pillars" :[ String, ... ], "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::WellArchitected::AgentProfile Properties: AggregationConfiguration:- AggregationConfigurationBusinessOverview:StringDeletionProtection:BooleanDescription:StringDisplayName:StringExecutionRoleArn:StringName:StringPillars:- StringTags:- Tag
Properties
AggregationConfiguration-
The aggregation configuration that defines which Amazon accounts and Regions to analyze. Not present for basic profiles.
Required: Yes
Type: Array of AggregationConfiguration
Minimum:
0Maximum:
100Update requires: No interruption
BusinessOverview-
The business overview for this profile.
Required: No
Type: String
Maximum:
512Update requires: No interruption
DeletionProtection-
Indicates whether deletion protection is enabled for the profile.
Note
If you don't specify this property, deletion protection is enabled (
true) by default. When deletion protection is enabled, you can't delete the profile until you disable deletion protection.Required: No
Type: Boolean
Update requires: No interruption
Description-
A description of the profile.
Required: No
Type: String
Maximum:
512Update requires: No interruption
DisplayName-
The display name of the profile shown to users.
Required: No
Type: String
Minimum:
3Maximum:
128Update requires: No interruption
ExecutionRoleArn-
The ARN of the IAM execution role used for recommendation actions. Not present for basic profiles.
Required: Yes
Type: String
Pattern:
^arn:([a-z\-]+):iam::[0-9]{12}:role/(service-role/)?[a-zA-Z0-9+=,.@\-_]+$Minimum:
1Maximum:
2048Update requires: No interruption
Name-
The system name of the profile.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_-]+$Minimum:
3Maximum:
128Update requires: Replacement
Pillars-
The Amazon Well-Architected Framework pillars associated with this profile. Not present for basic profiles.
Required: Yes
Type: Array of String
Minimum:
1Maximum:
4Update requires: No interruption
-
The tags associated with the profile.
Required: No
Type: Array of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the agent profile ARN.
Fn::GetAtt
Arn-
The Amazon Resource Name (ARN) of the optimization profile.
CreatedAt-
The timestamp when the profile was created.
CreatedBy-
The identifier of the user or system that created this profile.
LastModifiedAt-
The timestamp when the profile was last modified.
LastModifiedBy-
The identifier of the user or system that last modified this profile.