Interface CfnAgentProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAgentProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:03.316Z")
@Stability(Stable)
public interface CfnAgentProfileProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wellarchitected.*;
CfnAgentProfileProps cfnAgentProfileProps = CfnAgentProfileProps.builder()
.aggregationConfiguration(List.of(AggregationConfigurationProperty.builder()
.accessRoleArn("accessRoleArn")
.accountId("accountId")
.regions(List.of("regions"))
.build()))
.executionRoleArn("executionRoleArn")
.name("name")
.pillars(List.of("pillars"))
// the properties below are optional
.businessOverview("businessOverview")
.deletionProtection(false)
.description("description")
.displayName("displayName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAgentProfilePropsstatic final classAn implementation forCfnAgentProfileProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAgentProfileProps.Builderbuilder()The aggregation configuration entries (account, regions, access role) associated with this profile.default StringA business overview for the profile used to improve recommendation quality.default ObjectWhether deletion protection is enabled for the profile.default StringA description of the profile.default StringThe human-readable display name of the profile.The ARN of the IAM role assumed to execute recommendation actions.getName()The name of the profile.The list of Well-Architected pillars to focus on.getTags()Key-value pairs to associate with the Agent Profile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAggregationConfiguration
The aggregation configuration entries (account, regions, access role) associated with this profile.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAgentProfile.AggregationConfigurationProperty>- See Also:
-
getExecutionRoleArn
The ARN of the IAM role assumed to execute recommendation actions.- See Also:
-
getName
The name of the profile.Unique within the account and used as the last component of the ARN.
- See Also:
-
getPillars
The list of Well-Architected pillars to focus on.- See Also:
-
getBusinessOverview
A business overview for the profile used to improve recommendation quality.- See Also:
-
getDeletionProtection
Whether deletion protection is enabled for the profile.When enabled, the profile cannot be deleted until deletion protection is disabled.
Returns union: either
BooleanorIResolvable- See Also:
-
getDescription
A description of the profile.- See Also:
-
getDisplayName
The human-readable display name of the profile.- See Also:
-
getTags
Key-value pairs to associate with the Agent Profile.- See Also:
-
builder
- Returns:
- a
CfnAgentProfileProps.BuilderofCfnAgentProfileProps
-