WorkloadArgs constructor
- Input<
String?> ? billingAccount, - required Input<
String> complianceRegime, - Input<
String?> ? deletionPolicy, - required Input<
String> displayName, - Input<
bool?> ? enableSovereignControls, - Input<
WorkloadKmsSettings?> ? kmsSettings, - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - required Input<
String> organization, - Input<
String?> ? partner, - Input<
WorkloadPartnerPermissions?> ? partnerPermissions, - Input<
String?> ? partnerServicesBillingAccount, - Input<
String?> ? provisionedResourcesParent, - Input<
List< ? resourceSettings,WorkloadResourceSetting> ?> - Input<
bool?> ? violationNotificationsEnabled, - Input<
WorkloadWorkloadOptions?> ? workloadOptions,
Creates a new WorkloadArgs.
billingAccount Optional. Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.
complianceRegime Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT, IRS_1075
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
displayName Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
enableSovereignControls Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
kmsSettings DEPRECATED Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
labels Optional. Labels applied to the workload.
location The location for the resource
organization The organization for the resource
partner Optional. Partner regime associated with this workload. Possible values: PARTNER_UNSPECIFIED, LOCAL_CONTROLS_BY_S3NS, SOVEREIGN_CONTROLS_BY_T_SYSTEMS, SOVEREIGN_CONTROLS_BY_SIA_MINSAIT, SOVEREIGN_CONTROLS_BY_PSN, SOVEREIGN_CONTROLS_BY_CNTXT, SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM, SPAIN_DATA_BOUNDARY_BY_TELEFONICA
partnerPermissions Optional. Permissions granted to the AW Partner SA account for the customer workload
partnerServicesBillingAccount Optional. Input only. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN/CNTXT partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC.
provisionedResourcesParent Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
resourceSettings Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
violationNotificationsEnabled Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
workloadOptions Optional. Used to specify certain options for a workload during workload creation - currently only supporting KAT Optionality for Regional Controls workloads.
Implementation
const WorkloadArgs({
this.billingAccount,
required this.complianceRegime,
this.deletionPolicy,
required this.displayName,
this.enableSovereignControls,
this.kmsSettings,
this.labels,
required this.location,
required this.organization,
this.partner,
this.partnerPermissions,
this.partnerServicesBillingAccount,
this.provisionedResourcesParent,
this.resourceSettings,
this.violationNotificationsEnabled,
this.workloadOptions,
});