interface CfnAgentProfileProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WellArchitected.CfnAgentProfileProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswellarchitected#CfnAgentProfileProps |
Java | software.amazon.awscdk.services.wellarchitected.CfnAgentProfileProps |
Python | aws_cdk.aws_wellarchitected.CfnAgentProfileProps |
TypeScript | aws-cdk-lib » aws_wellarchitected » CfnAgentProfileProps |
Properties for defining a CfnAgentProfile.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wellarchitected as wellarchitected } from 'aws-cdk-lib';
const cfnAgentProfileProps: wellarchitected.CfnAgentProfileProps = {
aggregationConfiguration: [{
accessRoleArn: 'accessRoleArn',
accountId: 'accountId',
regions: ['regions'],
}],
executionRoleArn: 'executionRoleArn',
name: 'name',
pillars: ['pillars'],
// the properties below are optional
businessOverview: 'businessOverview',
deletionProtection: false,
description: 'description',
displayName: 'displayName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| aggregation | IResolvable | (IResolvable | Aggregation)[] | The aggregation configuration entries (account, regions, access role) associated with this profile. |
| execution | string | The ARN of the IAM role assumed to execute recommendation actions. |
| name | string | The name of the profile. |
| pillars | string[] | The list of Well-Architected pillars to focus on. |
| business | string | A business overview for the profile used to improve recommendation quality. |
| deletion | boolean | IResolvable | Whether deletion protection is enabled for the profile. |
| description? | string | A description of the profile. |
| display | string | The human-readable display name of the profile. |
| tags? | Cfn[] | Key-value pairs to associate with the Agent Profile. |
aggregationConfiguration
Type:
IResolvable | (IResolvable | Aggregation)[]
The aggregation configuration entries (account, regions, access role) associated with this profile.
executionRoleArn
Type:
string
The ARN of the IAM role assumed to execute recommendation actions.
name
Type:
string
The name of the profile.
Unique within the account and used as the last component of the ARN.
pillars
Type:
string[]
The list of Well-Architected pillars to focus on.
businessOverview?
Type:
string
(optional)
A business overview for the profile used to improve recommendation quality.
deletionProtection?
Type:
boolean | IResolvable
(optional)
Whether deletion protection is enabled for the profile.
When enabled, the profile cannot be deleted until deletion protection is disabled.
description?
Type:
string
(optional)
A description of the profile.
displayName?
Type:
string
(optional)
The human-readable display name of the profile.
tags?
Type:
Cfn[]
(optional)
Key-value pairs to associate with the Agent Profile.

.NET
Go
Java
Python
TypeScript