Class OsConfigOsPolicyAssignmentOsPolicies.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.os_config_os_policy_assignment.OsConfigOsPolicyAssignmentOsPolicies.Jsii$Proxy
-
- All Implemented Interfaces:
OsConfigOsPolicyAssignmentOsPolicies,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- OsConfigOsPolicyAssignmentOsPolicies
@Stability(Stable) @Internal public static final class OsConfigOsPolicyAssignmentOsPolicies.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OsConfigOsPolicyAssignmentOsPolicies
An implementation forOsConfigOsPolicyAssignmentOsPolicies
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.os_config_os_policy_assignment.OsConfigOsPolicyAssignmentOsPolicies
OsConfigOsPolicyAssignmentOsPolicies.Builder, OsConfigOsPolicyAssignmentOsPolicies.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(OsConfigOsPolicyAssignmentOsPolicies.Builder builder)Constructor that initializes the object based on literal property values passed by theOsConfigOsPolicyAssignmentOsPolicies.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetAllowNoResourceGroupMatch()This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM.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.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(OsConfigOsPolicyAssignmentOsPolicies.Builder builder)
Constructor that initializes the object based on literal property values passed by theOsConfigOsPolicyAssignmentOsPolicies.Builder.
-
-
Method Detail
-
getId
public final String getId()
Description copied from interface:OsConfigOsPolicyAssignmentOsPoliciesThe 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.
- Specified by:
getIdin interfaceOsConfigOsPolicyAssignmentOsPolicies
-
getMode
public final String getMode()
Description copied from interface:OsConfigOsPolicyAssignmentOsPoliciesPolicy 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}
- Specified by:
getModein interfaceOsConfigOsPolicyAssignmentOsPolicies
-
getResourceGroups
public final Object getResourceGroups()
Description copied from interface:OsConfigOsPolicyAssignmentOsPoliciesresource_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}
- Specified by:
getResourceGroupsin interfaceOsConfigOsPolicyAssignmentOsPolicies
-
getAllowNoResourceGroupMatch
public final Object getAllowNoResourceGroupMatch()
Description copied from interface:OsConfigOsPolicyAssignmentOsPoliciesThis 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}
- Specified by:
getAllowNoResourceGroupMatchin interfaceOsConfigOsPolicyAssignmentOsPolicies
-
getDescription
public final String getDescription()
Description copied from interface:OsConfigOsPolicyAssignmentOsPoliciesPolicy 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}
- Specified by:
getDescriptionin interfaceOsConfigOsPolicyAssignmentOsPolicies
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-