Class CfnAgentGoal
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.wellarchitected.CfnAgentGoal
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IAgentGoalRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:03.313Z")
@Stability(Stable)
public class CfnAgentGoal
extends CfnResource
implements IInspectable, IAgentGoalRef
Resource schema for AWS::WellArchitected::AgentGoal.
An Agent Goal expresses a Well-Architected objective (a title, optional description, and the pillars it targets) within an Agent Profile, used to focus Well-Architected Agent recommendations.
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.*;
CfnAgentGoal cfnAgentGoal = CfnAgentGoal.Builder.create(this, "MyCfnAgentGoal")
.pillars(List.of("pillars"))
.profileArn("profileArn")
.title("title")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.wellarchitected.IAgentGoalRef
IAgentGoalRef.Jsii$Default, IAgentGoalRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAgentGoal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAgentGoal(software.amazon.jsii.JsiiObjectRef objRef) CfnAgentGoal(software.constructs.Construct scope, String id, CfnAgentGoalProps props) Create a newAWS::WellArchitected::AgentGoal. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForAgentGoal(IAgentGoalRef resource) A reference to a AgentGoal resource.The synthetic Amazon Resource Name (ARN) of the Agent Goal, composed of the parent profile ARN and the goal id.The timestamp when the goal was created.The identifier of the system or user that created this goal.The service-generated unique identifier of the Agent Goal.The timestamp when the goal was last modified.The identifier of the system or user that last modified this goal.A description of the Agent Goal.The list of Well-Architected pillars this goal targets.The Amazon Resource Name (ARN) of the parent Agent Profile that owns this goal.getTitle()The title of the Agent Goal.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAgentGoal.renderProperties(Map<String, Object> props) voidsetDescription(String value) A description of the Agent Goal.voidsetPillars(List<String> value) The list of Well-Architected pillars this goal targets.voidsetProfileArn(String value) The Amazon Resource Name (ARN) of the parent Agent Profile that owns this goal.voidThe title of the Agent Goal.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAgentGoal
protected CfnAgentGoal(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAgentGoal
protected CfnAgentGoal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAgentGoal
@Stability(Stable) public CfnAgentGoal(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAgentGoalProps props) Create a newAWS::WellArchitected::AgentGoal.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForAgentGoal
- Parameters:
resource- This parameter is required.
-
isCfnAgentGoal
Checks whether the given object is a CfnAgentGoal.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAgentGoalRef
A reference to a AgentGoal resource.- Specified by:
getAgentGoalRefin interfaceIAgentGoalRef
-
getAttrArn
The synthetic Amazon Resource Name (ARN) of the Agent Goal, composed of the parent profile ARN and the goal id. -
getAttrCreatedAt
The timestamp when the goal was created. -
getAttrCreatedBy
The identifier of the system or user that created this goal. -
getAttrId
The service-generated unique identifier of the Agent Goal. -
getAttrLastModifiedAt
The timestamp when the goal was last modified. -
getAttrLastModifiedBy
The identifier of the system or user that last modified this goal. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getPillars
The list of Well-Architected pillars this goal targets. -
setPillars
The list of Well-Architected pillars this goal targets. -
getProfileArn
The Amazon Resource Name (ARN) of the parent Agent Profile that owns this goal. -
setProfileArn
The Amazon Resource Name (ARN) of the parent Agent Profile that owns this goal. -
getTitle
The title of the Agent Goal. -
setTitle
The title of the Agent Goal. -
getDescription
A description of the Agent Goal. -
setDescription
A description of the Agent Goal.
-