Interface CfnWorkloadProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkloadProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:21.077Z")
@Stability(Stable)
public interface CfnWorkloadProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWorkload.
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.*;
CfnWorkloadProps cfnWorkloadProps = CfnWorkloadProps.builder()
.description("description")
.environment("environment")
.lenses(List.of("lenses"))
.workloadName("workloadName")
// the properties below are optional
.accountIds(List.of("accountIds"))
.architecturalDesign("architecturalDesign")
.awsRegions(List.of("awsRegions"))
.discoveryConfig(DiscoveryConfigProperty.builder()
.trustedAdvisorIntegrationStatus("trustedAdvisorIntegrationStatus")
.workloadResourceDefinition(List.of("workloadResourceDefinition"))
.build())
.industry("industry")
.industryType("industryType")
.nonAwsRegions(List.of("nonAwsRegions"))
.notes("notes")
.reviewOwner("reviewOwner")
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkloadPropsstatic final classAn implementation forCfnWorkloadProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkloadProps.Builderbuilder()The list of Amazon Web Services account IDs associated with the workload.default StringThe URL of the architectural design for the workload.The list of Amazon Web Services Regions associated with the workload.The description for the workload.default ObjectDiscovery configuration associated to the workload.The environment for the workload.default StringThe industry for the workload.default StringThe industry type for the workload.The list of lenses associated with the workload.The list of non-Amazon Web Services Regions associated with the workload.default StringgetNotes()The notes associated with the workload.default StringThe review owner of the workload.default List<CfnWorkload.TagsItemsProperty> getTags()The tags associated with the workload.The name of the workload.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description for the workload.- See Also:
-
getEnvironment
The environment for the workload.- See Also:
-
getLenses
The list of lenses associated with the workload.- See Also:
-
getWorkloadName
The name of the workload.- See Also:
-
getAccountIds
The list of Amazon Web Services account IDs associated with the workload.- See Also:
-
getArchitecturalDesign
The URL of the architectural design for the workload.- See Also:
-
getAwsRegions
The list of Amazon Web Services Regions associated with the workload.- See Also:
-
getDiscoveryConfig
Discovery configuration associated to the workload.Returns union: either
IResolvableorCfnWorkload.DiscoveryConfigProperty- See Also:
-
getIndustry
The industry for the workload.- See Also:
-
getIndustryType
The industry type for the workload.- See Also:
-
getNonAwsRegions
The list of non-Amazon Web Services Regions associated with the workload.- See Also:
-
getNotes
The notes associated with the workload.- See Also:
-
getReviewOwner
The review owner of the workload.- See Also:
-
getTags
The tags associated with the workload.- See Also:
-
builder
- Returns:
- a
CfnWorkloadProps.BuilderofCfnWorkloadProps
-