Interface SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.692Z") @Stability(Stable) public interface SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint.Builderstatic classSecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint.Jsii$Proxy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint.Builderbuilder()StringgetActionType()The action to take if the condition is met.StringgetCondition()A CEL condition that refers to a supported service resource, for example 'resource.management.autoUpgrade == false'.default StringgetDescription()A human-friendly description of the constraint to display as an error message when the policy is violated.default StringgetDisplayName()A human-friendly name for the constraint.List<String>getMethodTypes()A list of RESTful methods for which to enforce the constraint.StringgetName()Immutable.List<String>getResourceTypes()Immutable.
-
-
-
Method Detail
-
getActionType
@Stability(Stable) @NotNull String getActionType()
The action to take if the condition is met. Possible values: ["ALLOW", "DENY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#action_type SecurityposturePosture#action_type}
-
getCondition
@Stability(Stable) @NotNull String getCondition()
A CEL condition that refers to a supported service resource, for example 'resource.management.autoUpgrade == false'. For details about CEL usage, see Common Expression Language.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#condition SecurityposturePosture#condition}
-
getMethodTypes
@Stability(Stable) @NotNull List<String> getMethodTypes()
A list of RESTful methods for which to enforce the constraint.Can be 'CREATE', 'UPDATE', or both. Not all Google Cloud services support both methods. To see supported methods for each service, find the service in [Supported services](https://cloud.google.com/resource-manager/docs/organization-policy/custom-constraint-supported-services). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#method_types SecurityposturePosture#method_types}
-
getName
@Stability(Stable) @NotNull String getName()
Immutable. The name of the custom constraint. This is unique within the organization.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#name SecurityposturePosture#name}
-
getResourceTypes
@Stability(Stable) @NotNull List<String> getResourceTypes()
Immutable.The fully qualified name of the Google Cloud REST resource containing the object and field you want to restrict. For example, 'container.googleapis.com/NodePool'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#resource_types SecurityposturePosture#resource_types}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
A human-friendly description of the constraint to display as an error message when the policy is violated.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#description SecurityposturePosture#description}
-
getDisplayName
@Stability(Stable) @Nullable default String getDisplayName()
A human-friendly name for the constraint.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#display_name SecurityposturePosture#display_name}
-
builder
@Stability(Stable) static SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint.Builder builder()
-
-