Class CfnAgentContext
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.CfnAgentContext
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IAgentContextRef,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.312Z")
@Stability(Stable)
public class CfnAgentContext
extends CfnResource
implements IInspectable, IAgentContextRef
Resource schema for AWS::WellArchitected::AgentContext.
An Agent Context provides supplemental application context (free-form content) within an Agent Profile, used to improve the quality of 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.*;
Object content;
CfnAgentContext cfnAgentContext = CfnAgentContext.Builder.create(this, "MyCfnAgentContext")
.content(content)
.contextType("contextType")
.profileArn("profileArn")
.title("title")
.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.IAgentContextRef
IAgentContextRef.Jsii$Default, IAgentContextRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnAgentContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAgentContext(software.amazon.jsii.JsiiObjectRef objRef) CfnAgentContext(software.constructs.Construct scope, String id, CfnAgentContextProps props) Create a newAWS::WellArchitected::AgentContext. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForAgentContext(IAgentContextRef resource) A reference to a AgentContext resource.Type of the application described by this context.The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.The timestamp when the context was created.The identifier of the system or user that created this context.Business criticality of the application described by this context.The service-generated unique identifier of the Agent Context.The timestamp when the context was last modified.The identifier of the system or user that last modified this context.The free-form content of the Agent Context, supplied as an arbitrary JSON object.The type of the Agent Context.The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context.getTitle()The title of the Agent Context.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAgentContext.renderProperties(Map<String, Object> props) voidsetContent(Object value) The free-form content of the Agent Context, supplied as an arbitrary JSON object.voidsetContextType(String value) The type of the Agent Context.voidsetProfileArn(String value) The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context.voidThe title of the Agent Context.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
-
CfnAgentContext
protected CfnAgentContext(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAgentContext
protected CfnAgentContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAgentContext
@Stability(Stable) public CfnAgentContext(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAgentContextProps props) Create a newAWS::WellArchitected::AgentContext.- 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
-
arnForAgentContext
@Stability(Stable) @NotNull public static String arnForAgentContext(@NotNull IAgentContextRef resource) - Parameters:
resource- This parameter is required.
-
isCfnAgentContext
Checks whether the given object is a CfnAgentContext.- 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.
-
getAgentContextRef
A reference to a AgentContext resource.- Specified by:
getAgentContextRefin interfaceIAgentContextRef
-
getAttrApplicationType
Type of the application described by this context.Mirrors the value stored in
Content.applicationTypeand is surfaced as a typed read-only attribute by the service for discoverability. -
getAttrArn
The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id. -
getAttrCreatedAt
The timestamp when the context was created. -
getAttrCreatedBy
The identifier of the system or user that created this context. -
getAttrCriticality
Business criticality of the application described by this context.Mirrors the value stored in
Content.criticalityand is surfaced as a typed read-only attribute by the service for discoverability. -
getAttrId
The service-generated unique identifier of the Agent Context. -
getAttrLastModifiedAt
The timestamp when the context was last modified. -
getAttrLastModifiedBy
The identifier of the system or user that last modified this context. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getContent
The free-form content of the Agent Context, supplied as an arbitrary JSON object. -
setContent
The free-form content of the Agent Context, supplied as an arbitrary JSON object. -
getContextType
The type of the Agent Context. -
setContextType
The type of the Agent Context. -
getProfileArn
The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. -
setProfileArn
The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. -
getTitle
The title of the Agent Context. -
setTitle
The title of the Agent Context.
-