We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
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.
Create AgentContext Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentContext(name: string, args: AgentContextArgs, opts?: CustomResourceOptions);@overload
def AgentContext(resource_name: str,
args: AgentContextArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentContext(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[Any] = None,
context_type: Optional[AgentContextContextType] = None,
profile_arn: Optional[str] = None,
title: Optional[str] = None)func NewAgentContext(ctx *Context, name string, args AgentContextArgs, opts ...ResourceOption) (*AgentContext, error)public AgentContext(string name, AgentContextArgs args, CustomResourceOptions? opts = null)
public AgentContext(String name, AgentContextArgs args)
public AgentContext(String name, AgentContextArgs args, CustomResourceOptions options)
type: aws-native:wellarchitected:AgentContext
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_wellarchitected_agent_context" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentContextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentContextArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentContextArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentContextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentContextArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AgentContext Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentContext resource accepts the following input properties:
- Content object
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- Context
Type Pulumi.Aws Native. Well Architected. Agent Context Context Type - Profile
Arn string - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - Title string
- The title of the Agent Context.
- Content interface{}
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- Context
Type AgentContext Context Type - Profile
Arn string - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - Title string
- The title of the Agent Context.
- content any
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- context_
type "APPLICATION" - profile_
arn string - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - title string
- The title of the Agent Context.
- content Object
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- context
Type AgentContext Context Type - profile
Arn String - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - title String
- The title of the Agent Context.
- content any
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- context
Type AgentContext Context Type - profile
Arn string - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - title string
- The title of the Agent Context.
- content Any
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- context_
type AgentContext Context Type - profile_
arn str - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - title str
- The title of the Agent Context.
- content Any
The free-form content of the Agent Context, supplied as an arbitrary JSON object.
Search the CloudFormation User Guide for
AWS::WellArchitected::AgentContextfor more information about the expected schema for this property.- context
Type "APPLICATION" - profile
Arn String - The Amazon Resource Name (ARN) of the parent Agent Profile that owns this context. Pass
!Refof the parent AWS::WellArchitected::AgentProfile to flow its ARN here. - title String
- The title of the Agent Context.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentContext resource produces the following output properties:
- Application
Type Pulumi.Aws Native. Well Architected. Agent Context Application Type - Arn string
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- Aws
Id string - The service-generated unique identifier of the Agent Context.
- Created
At string - The timestamp when the context was created.
- Created
By string - The identifier of the system or user that created this context.
- Criticality
Pulumi.
Aws Native. Well Architected. Agent Context Criticality - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The timestamp when the context was last modified.
- Last
Modified stringBy - The identifier of the system or user that last modified this context.
- Application
Type AgentContext Application Type - Arn string
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- Aws
Id string - The service-generated unique identifier of the Agent Context.
- Created
At string - The timestamp when the context was created.
- Created
By string - The identifier of the system or user that created this context.
- Criticality
Agent
Context Criticality - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The timestamp when the context was last modified.
- Last
Modified stringBy - The identifier of the system or user that last modified this context.
- application_
type "SAS" | "DESKTOP_APPLICATION" | "OTHER" - arn string
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- aws_
id string - The service-generated unique identifier of the Agent Context.
- created_
at string - The timestamp when the context was created.
- created_
by string - The identifier of the system or user that created this context.
- criticality "MISSION_CRITICAL" | "BUSINESS_CRITICAL" | "NON_CRITICAL" | "TEST_DEVELOPMENT"
- id string
- The provider-assigned unique ID for this managed resource.
- last_
modified_ stringat - The timestamp when the context was last modified.
- last_
modified_ stringby - The identifier of the system or user that last modified this context.
- application
Type AgentContext Application Type - arn String
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- aws
Id String - The service-generated unique identifier of the Agent Context.
- created
At String - The timestamp when the context was created.
- created
By String - The identifier of the system or user that created this context.
- criticality
Agent
Context Criticality - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The timestamp when the context was last modified.
- last
Modified StringBy - The identifier of the system or user that last modified this context.
- application
Type AgentContext Application Type - arn string
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- aws
Id string - The service-generated unique identifier of the Agent Context.
- created
At string - The timestamp when the context was created.
- created
By string - The identifier of the system or user that created this context.
- criticality
Agent
Context Criticality - id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - The timestamp when the context was last modified.
- last
Modified stringBy - The identifier of the system or user that last modified this context.
- application_
type AgentContext Application Type - arn str
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- aws_
id str - The service-generated unique identifier of the Agent Context.
- created_
at str - The timestamp when the context was created.
- created_
by str - The identifier of the system or user that created this context.
- criticality
Agent
Context Criticality - id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - The timestamp when the context was last modified.
- last_
modified_ strby - The identifier of the system or user that last modified this context.
- application
Type "SAS" | "DESKTOP_APPLICATION" | "OTHER" - arn String
- The synthetic Amazon Resource Name (ARN) of the Agent Context, composed of the parent profile ARN and the context id.
- aws
Id String - The service-generated unique identifier of the Agent Context.
- created
At String - The timestamp when the context was created.
- created
By String - The identifier of the system or user that created this context.
- criticality "MISSION_CRITICAL" | "BUSINESS_CRITICAL" | "NON_CRITICAL" | "TEST_DEVELOPMENT"
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The timestamp when the context was last modified.
- last
Modified StringBy - The identifier of the system or user that last modified this context.
Look up Existing AgentContext Resource
Get an existing AgentContext resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AgentContext@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> AgentContextfunc GetAgentContext(ctx *Context, name string, id IDInput, state *AgentContextState, opts ...ResourceOption) (*AgentContext, error)public static AgentContext Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static AgentContext get(String name, Output<String> id, CustomResourceOptions options)resources: existingAgentContext: type: aws-native:wellarchitected:AgentContext get: id: ${id}import {
to = aws-native_wellarchitected_agent_context.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state AgentContextState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AgentContextApplicationType
Type of the application described by this context. Mirrors the value stored in Content.applicationType and is surfaced as a typed read-only attribute by the service for discoverability.
| Name | Value |
|---|---|
| Sas | SAS |
| Desktop | DESKTOP_APPLICATION |
| Other | OTHER |
| Name | Value |
|---|---|
| Agent | SAS |
| Agent | DESKTOP_APPLICATION |
| Agent | OTHER |
| Value |
|---|
SAS |
DESKTOP_APPLICATION |
OTHER |
| Name | Value |
|---|---|
| Sas | SAS |
| Desktop | DESKTOP_APPLICATION |
| Other | OTHER |
| Name | Value |
|---|---|
| Sas | SAS |
| Desktop | DESKTOP_APPLICATION |
| Other | OTHER |
| Name | Value |
|---|---|
| SAS | SAS |
| DESKTOP_APPLICATION | DESKTOP_APPLICATION |
| OTHER | OTHER |
| Value |
|---|
SAS |
DESKTOP_APPLICATION |
OTHER |
AgentContextContextType
The type of the Agent Context.
| Name | Value |
|---|---|
| Application | APPLICATION |
| Name | Value |
|---|---|
| Agent | APPLICATION |
| Value |
|---|
APPLICATION |
| Name | Value |
|---|---|
| Application | APPLICATION |
| Name | Value |
|---|---|
| Application | APPLICATION |
| Name | Value |
|---|---|
| APPLICATION | APPLICATION |
| Value |
|---|
APPLICATION |
AgentContextCriticality
Business criticality of the application described by this context. Mirrors the value stored in Content.criticality and is surfaced as a typed read-only attribute by the service for discoverability.
| Name | Value |
|---|---|
| Mission | MISSION_CRITICAL |
| Business | BUSINESS_CRITICAL |
| Non | NON_CRITICAL |
| Test | TEST_DEVELOPMENT |
| Name | Value |
|---|---|
| Agent | MISSION_CRITICAL |
| Agent | BUSINESS_CRITICAL |
| Agent | NON_CRITICAL |
| Agent | TEST_DEVELOPMENT |
| Value |
|---|
MISSION_CRITICAL |
BUSINESS_CRITICAL |
NON_CRITICAL |
TEST_DEVELOPMENT |
| Name | Value |
|---|---|
| Mission | MISSION_CRITICAL |
| Business | BUSINESS_CRITICAL |
| Non | NON_CRITICAL |
| Test | TEST_DEVELOPMENT |
| Name | Value |
|---|---|
| Mission | MISSION_CRITICAL |
| Business | BUSINESS_CRITICAL |
| Non | NON_CRITICAL |
| Test | TEST_DEVELOPMENT |
| Name | Value |
|---|---|
| MISSION_CRITICAL | MISSION_CRITICAL |
| BUSINESS_CRITICAL | BUSINESS_CRITICAL |
| NON_CRITICAL | NON_CRITICAL |
| TEST_DEVELOPMENT | TEST_DEVELOPMENT |
| Value |
|---|
MISSION_CRITICAL |
BUSINESS_CRITICAL |
NON_CRITICAL |
TEST_DEVELOPMENT |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi