# CfnWorkloadProps

Properties for defining a `CfnWorkload`.

Extends: CfnWorkloadProps
Used as props by: CfnWorkload

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wellarchitected as wellarchitected } from 'aws-cdk-lib';
const cfnWorkloadProps: wellarchitected.CfnWorkloadProps = {
  description: 'description',
  environment: 'environment',
  lenses: ['lenses'],
  workloadName: 'workloadName',

  // the properties below are optional
  accountIds: ['accountIds'],
  architecturalDesign: 'architecturalDesign',
  awsRegions: ['awsRegions'],
  discoveryConfig: {
    trustedAdvisorIntegrationStatus: 'trustedAdvisorIntegrationStatus',
    workloadResourceDefinition: ['workloadResourceDefinition'],
  },
  industry: 'industry',
  industryType: 'industryType',
  nonAwsRegions: ['nonAwsRegions'],
  notes: 'notes',
  reviewOwner: 'reviewOwner',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `accountIds`: string[] — The list of Amazon Web Services account IDs associated with the workload.

- `architecturalDesign`: string — The URL of the architectural design for the workload.

- `awsRegions`: string[] — The list of Amazon Web Services Regions associated with the workload.

- `description`: string (required) — The description for the workload.

- `discoveryConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkload.DiscoveryConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wellarchitected.CfnWorkload.DiscoveryConfigProperty.html) — Discovery configuration associated to the workload.

- `environment`: string (required) — The environment for the workload.

- `industry`: string — The industry for the workload.

- `industryType`: string — The industry type for the workload.

- `lenses`: string[] (required) — The list of lenses associated with the workload.

- `nonAwsRegions`: string[] — The list of non-Amazon Web Services Regions associated with the workload.

- `notes`: string — The notes associated with the workload.

- `reviewOwner`: string — The review owner of the workload.

- `tags`: [CfnWorkload.TagsItemsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wellarchitected.CfnWorkload.TagsItemsProperty.html)[] — The tags associated with the workload.

- `workloadName`: string (required) — The name of the workload.
