Interface OsConfigOsPolicyAssignmentOsPolicies
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OsConfigOsPolicyAssignmentOsPolicies.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.255Z") @Stability(Stable) public interface OsConfigOsPolicyAssignmentOsPolicies extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOsConfigOsPolicyAssignmentOsPolicies.BuilderA builder forOsConfigOsPolicyAssignmentOsPoliciesstatic classOsConfigOsPolicyAssignmentOsPolicies.Jsii$ProxyAn implementation forOsConfigOsPolicyAssignmentOsPolicies
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static OsConfigOsPolicyAssignmentOsPolicies.Builderbuilder()default ObjectgetAllowNoResourceGroupMatch()This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM.default StringgetDescription()Policy description.StringgetId()The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens.StringgetMode()Policy mode Possible values: ["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"].ObjectgetResourceGroups()resource_groups block.
-
-
-
Method Detail
-
getId
@Stability(Stable) @NotNull String getId()
The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens.* Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#id OsConfigOsPolicyAssignment#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getMode
@Stability(Stable) @NotNull String getMode()
Policy mode Possible values: ["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#mode OsConfigOsPolicyAssignment#mode}
-
getResourceGroups
@Stability(Stable) @NotNull Object getResourceGroups()
resource_groups block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#resource_groups OsConfigOsPolicyAssignment#resource_groups}
-
getAllowNoResourceGroupMatch
@Stability(Stable) @Nullable default Object getAllowNoResourceGroupMatch()
This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM.Set this value to 'true' if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#allow_no_resource_group_match OsConfigOsPolicyAssignment#allow_no_resource_group_match}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
Policy description. Length of the description is limited to 1024 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#description OsConfigOsPolicyAssignment#description}
-
builder
@Stability(Stable) static OsConfigOsPolicyAssignmentOsPolicies.Builder builder()
-
-