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
Definition of AWS::WellArchitected::Workload Resource Type
Create Workload Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workload(name: string, args: WorkloadArgs, opts?: CustomResourceOptions);@overload
def Workload(resource_name: str,
args: WorkloadArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workload(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
lenses: Optional[Sequence[str]] = None,
environment: Optional[WorkloadEnvironment] = None,
industry: Optional[str] = None,
discovery_config: Optional[DiscoveryConfigPropertiesArgs] = None,
aws_regions: Optional[Sequence[str]] = None,
account_ids: Optional[Sequence[str]] = None,
industry_type: Optional[str] = None,
architectural_design: Optional[str] = None,
non_aws_regions: Optional[Sequence[str]] = None,
notes: Optional[str] = None,
review_owner: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
workload_name: Optional[str] = None)func NewWorkload(ctx *Context, name string, args WorkloadArgs, opts ...ResourceOption) (*Workload, error)public Workload(string name, WorkloadArgs args, CustomResourceOptions? opts = null)
public Workload(String name, WorkloadArgs args)
public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
type: aws-native:wellarchitected:Workload
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_wellarchitected_workload" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WorkloadArgs
- 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 WorkloadArgs
- 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 WorkloadArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkloadArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkloadArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Workload 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 Workload resource accepts the following input properties:
- Description string
- The description for the workload.
- Environment
Pulumi.
Aws Native. Well Architected. Workload Environment - The environment for the workload.
- Lenses List<string>
- The list of lenses associated with the workload.
- Account
Ids List<string> - The list of Amazon Web Services account IDs associated with the workload.
- Architectural
Design string - The URL of the architectural design for the workload.
- Aws
Regions List<string> - The list of Amazon Web Services Regions associated with the workload.
- Discovery
Config Pulumi.Aws Native. Well Architected. Inputs. Discovery Config Properties - Discovery configuration associated to the workload.
- Industry string
- The industry for the workload.
- Industry
Type string - The industry type for the workload.
- Non
Aws List<string>Regions - The list of non-Amazon Web Services Regions associated with the workload.
- Notes string
- The notes associated with the workload.
- Review
Owner string - The review owner of the workload.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags associated with the workload.
- Workload
Name string - The name of the workload.
- Description string
- The description for the workload.
- Environment
Workload
Environment - The environment for the workload.
- Lenses []string
- The list of lenses associated with the workload.
- Account
Ids []string - The list of Amazon Web Services account IDs associated with the workload.
- Architectural
Design string - The URL of the architectural design for the workload.
- Aws
Regions []string - The list of Amazon Web Services Regions associated with the workload.
- Discovery
Config DiscoveryConfig Properties Args - Discovery configuration associated to the workload.
- Industry string
- The industry for the workload.
- Industry
Type string - The industry type for the workload.
- Non
Aws []stringRegions - The list of non-Amazon Web Services Regions associated with the workload.
- Notes string
- The notes associated with the workload.
- Review
Owner string - The review owner of the workload.
-
Tag
Args - The tags associated with the workload.
- Workload
Name string - The name of the workload.
- description string
- The description for the workload.
- environment "PRODUCTION" | "PREPRODUCTION"
- The environment for the workload.
- lenses list(string)
- The list of lenses associated with the workload.
- account_
ids list(string) - The list of Amazon Web Services account IDs associated with the workload.
- architectural_
design string - The URL of the architectural design for the workload.
- aws_
regions list(string) - The list of Amazon Web Services Regions associated with the workload.
- discovery_
config object - Discovery configuration associated to the workload.
- industry string
- The industry for the workload.
- industry_
type string - The industry type for the workload.
- non_
aws_ list(string)regions - The list of non-Amazon Web Services Regions associated with the workload.
- notes string
- The notes associated with the workload.
- review_
owner string - The review owner of the workload.
- list(object)
- The tags associated with the workload.
- workload_
name string - The name of the workload.
- description String
- The description for the workload.
- environment
Workload
Environment - The environment for the workload.
- lenses List<String>
- The list of lenses associated with the workload.
- account
Ids List<String> - The list of Amazon Web Services account IDs associated with the workload.
- architectural
Design String - The URL of the architectural design for the workload.
- aws
Regions List<String> - The list of Amazon Web Services Regions associated with the workload.
- discovery
Config DiscoveryConfig Properties - Discovery configuration associated to the workload.
- industry String
- The industry for the workload.
- industry
Type String - The industry type for the workload.
- non
Aws List<String>Regions - The list of non-Amazon Web Services Regions associated with the workload.
- notes String
- The notes associated with the workload.
- review
Owner String - The review owner of the workload.
- List<Tag>
- The tags associated with the workload.
- workload
Name String - The name of the workload.
- description string
- The description for the workload.
- environment
Workload
Environment - The environment for the workload.
- lenses string[]
- The list of lenses associated with the workload.
- account
Ids string[] - The list of Amazon Web Services account IDs associated with the workload.
- architectural
Design string - The URL of the architectural design for the workload.
- aws
Regions string[] - The list of Amazon Web Services Regions associated with the workload.
- discovery
Config DiscoveryConfig Properties - Discovery configuration associated to the workload.
- industry string
- The industry for the workload.
- industry
Type string - The industry type for the workload.
- non
Aws string[]Regions - The list of non-Amazon Web Services Regions associated with the workload.
- notes string
- The notes associated with the workload.
- review
Owner string - The review owner of the workload.
- Tag[]
- The tags associated with the workload.
- workload
Name string - The name of the workload.
- description str
- The description for the workload.
- environment
Workload
Environment - The environment for the workload.
- lenses Sequence[str]
- The list of lenses associated with the workload.
- account_
ids Sequence[str] - The list of Amazon Web Services account IDs associated with the workload.
- architectural_
design str - The URL of the architectural design for the workload.
- aws_
regions Sequence[str] - The list of Amazon Web Services Regions associated with the workload.
- discovery_
config DiscoveryConfig Properties Args - Discovery configuration associated to the workload.
- industry str
- The industry for the workload.
- industry_
type str - The industry type for the workload.
- non_
aws_ Sequence[str]regions - The list of non-Amazon Web Services Regions associated with the workload.
- notes str
- The notes associated with the workload.
- review_
owner str - The review owner of the workload.
-
Sequence[Tag
Args] - The tags associated with the workload.
- workload_
name str - The name of the workload.
- description String
- The description for the workload.
- environment "PRODUCTION" | "PREPRODUCTION"
- The environment for the workload.
- lenses List<String>
- The list of lenses associated with the workload.
- account
Ids List<String> - The list of Amazon Web Services account IDs associated with the workload.
- architectural
Design String - The URL of the architectural design for the workload.
- aws
Regions List<String> - The list of Amazon Web Services Regions associated with the workload.
- discovery
Config Property Map - Discovery configuration associated to the workload.
- industry String
- The industry for the workload.
- industry
Type String - The industry type for the workload.
- non
Aws List<String>Regions - The list of non-Amazon Web Services Regions associated with the workload.
- notes String
- The notes associated with the workload.
- review
Owner String - The review owner of the workload.
- List<Property Map>
- The tags associated with the workload.
- workload
Name String - The name of the workload.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workload resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Improvement
Status Pulumi.Aws Native. Well Architected. Workload Improvement Status - The improvement status for a workload.
- Workload
Arn string - The ARN for the workload.
- Workload
Id string - The ID assigned to the workload.
- Id string
- The provider-assigned unique ID for this managed resource.
- Improvement
Status WorkloadImprovement Status - The improvement status for a workload.
- Workload
Arn string - The ARN for the workload.
- Workload
Id string - The ID assigned to the workload.
- id string
- The provider-assigned unique ID for this managed resource.
- improvement_
status "NOT_APPLICABLE" | "NOT_STARTED" | "IN_PROGRESS" | "COMPLETE" | "RISK_ACKNOWLEDGED" - The improvement status for a workload.
- workload_
arn string - The ARN for the workload.
- workload_
id string - The ID assigned to the workload.
- id String
- The provider-assigned unique ID for this managed resource.
- improvement
Status WorkloadImprovement Status - The improvement status for a workload.
- workload
Arn String - The ARN for the workload.
- workload
Id String - The ID assigned to the workload.
- id string
- The provider-assigned unique ID for this managed resource.
- improvement
Status WorkloadImprovement Status - The improvement status for a workload.
- workload
Arn string - The ARN for the workload.
- workload
Id string - The ID assigned to the workload.
- id str
- The provider-assigned unique ID for this managed resource.
- improvement_
status WorkloadImprovement Status - The improvement status for a workload.
- workload_
arn str - The ARN for the workload.
- workload_
id str - The ID assigned to the workload.
- id String
- The provider-assigned unique ID for this managed resource.
- improvement
Status "NOT_APPLICABLE" | "NOT_STARTED" | "IN_PROGRESS" | "COMPLETE" | "RISK_ACKNOWLEDGED" - The improvement status for a workload.
- workload
Arn String - The ARN for the workload.
- workload
Id String - The ID assigned to the workload.
Look up Existing Workload Resource
Get an existing Workload 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): Workload@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Workloadfunc GetWorkload(ctx *Context, name string, id IDInput, state *WorkloadState, opts ...ResourceOption) (*Workload, error)public static Workload Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Workload get(String name, Output<String> id, CustomResourceOptions options)resources: existingWorkload: type: aws-native:wellarchitected:Workload get: id: ${id}import {
to = aws-native_wellarchitected_workload.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 WorkloadState
- 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
DiscoveryConfigProperties, DiscoveryConfigPropertiesArgs
Discovery configuration associated to the workload.
- Trusted
Advisor Pulumi.Integration Status Aws Native. Well Architected. Workload Discovery Config Properties Trusted Advisor Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- Workload
Resource List<Pulumi.Definition Aws Native. Well Architected. Workload Discovery Config Properties Workload Resource Definition Item> - The mode to use for identifying resources associated with the workload.
- Trusted
Advisor WorkloadIntegration Status Discovery Config Properties Trusted Advisor Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- Workload
Resource []WorkloadDefinition Discovery Config Properties Workload Resource Definition Item - The mode to use for identifying resources associated with the workload.
- trusted_
advisor_ "ENABLED" | "DISABLED"integration_ status - Discovery integration status in respect to Trusted Advisor for the workload.
- workload_
resource_ list("WORKLOAD_METADATA" | "APP_REGISTRY")definition - The mode to use for identifying resources associated with the workload.
- trusted
Advisor WorkloadIntegration Status Discovery Config Properties Trusted Advisor Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- workload
Resource List<WorkloadDefinition Discovery Config Properties Workload Resource Definition Item> - The mode to use for identifying resources associated with the workload.
- trusted
Advisor WorkloadIntegration Status Discovery Config Properties Trusted Advisor Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- workload
Resource WorkloadDefinition Discovery Config Properties Workload Resource Definition Item[] - The mode to use for identifying resources associated with the workload.
- trusted_
advisor_ Workloadintegration_ status Discovery Config Properties Trusted Advisor Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- workload_
resource_ Sequence[Workloaddefinition Discovery Config Properties Workload Resource Definition Item] - The mode to use for identifying resources associated with the workload.
- trusted
Advisor "ENABLED" | "DISABLED"Integration Status - Discovery integration status in respect to Trusted Advisor for the workload.
- workload
Resource List<"WORKLOAD_METADATA" | "APP_REGISTRY">Definition - The mode to use for identifying resources associated with the workload.
Tag, TagArgs
A set of tags to apply to the resource.
WorkloadDiscoveryConfigPropertiesTrustedAdvisorIntegrationStatus
Discovery integration status in respect to Trusted Advisor for the workload.
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| Workload | ENABLED |
| Workload | DISABLED |
| Value |
|---|
ENABLED |
DISABLED |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| ENABLED | ENABLED |
| DISABLED | DISABLED |
| Value |
|---|
ENABLED |
DISABLED |
WorkloadDiscoveryConfigPropertiesWorkloadResourceDefinitionItem
| Name | Value |
|---|---|
| Workload | WORKLOAD_METADATA |
| App | APP_REGISTRY |
| Name | Value |
|---|---|
| Workload | WORKLOAD_METADATA |
| Workload | APP_REGISTRY |
| Value |
|---|
WORKLOAD_METADATA |
APP_REGISTRY |
| Name | Value |
|---|---|
| Workload | WORKLOAD_METADATA |
| App | APP_REGISTRY |
| Name | Value |
|---|---|
| Workload | WORKLOAD_METADATA |
| App | APP_REGISTRY |
| Name | Value |
|---|---|
| WORKLOAD_METADATA | WORKLOAD_METADATA |
| APP_REGISTRY | APP_REGISTRY |
| Value |
|---|
WORKLOAD_METADATA |
APP_REGISTRY |
WorkloadEnvironment
The environment for the workload.
| Name | Value |
|---|---|
| Production | PRODUCTION |
| Preproduction | PREPRODUCTION |
| Name | Value |
|---|---|
| Workload | PRODUCTION |
| Workload | PREPRODUCTION |
| Value |
|---|
PRODUCTION |
PREPRODUCTION |
| Name | Value |
|---|---|
| Production | PRODUCTION |
| Preproduction | PREPRODUCTION |
| Name | Value |
|---|---|
| Production | PRODUCTION |
| Preproduction | PREPRODUCTION |
| Name | Value |
|---|---|
| PRODUCTION | PRODUCTION |
| PREPRODUCTION | PREPRODUCTION |
| Value |
|---|
PRODUCTION |
PREPRODUCTION |
WorkloadImprovementStatus
The improvement status for a workload.
| Name | Value |
|---|---|
| Not | NOT_APPLICABLE |
| Not | NOT_STARTED |
| In | IN_PROGRESS |
| Complete | COMPLETE |
| Risk | RISK_ACKNOWLEDGED |
| Name | Value |
|---|---|
| Workload | NOT_APPLICABLE |
| Workload | NOT_STARTED |
| Workload | IN_PROGRESS |
| Workload | COMPLETE |
| Workload | RISK_ACKNOWLEDGED |
| Value |
|---|
NOT_APPLICABLE |
NOT_STARTED |
IN_PROGRESS |
COMPLETE |
RISK_ACKNOWLEDGED |
| Name | Value |
|---|---|
| Not | NOT_APPLICABLE |
| Not | NOT_STARTED |
| In | IN_PROGRESS |
| Complete | COMPLETE |
| Risk | RISK_ACKNOWLEDGED |
| Name | Value |
|---|---|
| Not | NOT_APPLICABLE |
| Not | NOT_STARTED |
| In | IN_PROGRESS |
| Complete | COMPLETE |
| Risk | RISK_ACKNOWLEDGED |
| Name | Value |
|---|---|
| NOT_APPLICABLE | NOT_APPLICABLE |
| NOT_STARTED | NOT_STARTED |
| IN_PROGRESS | IN_PROGRESS |
| COMPLETE | COMPLETE |
| RISK_ACKNOWLEDGED | RISK_ACKNOWLEDGED |
| Value |
|---|
NOT_APPLICABLE |
NOT_STARTED |
IN_PROGRESS |
COMPLETE |
RISK_ACKNOWLEDGED |
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