Class BinaryAuthorizationPolicyClusterAdmissionRules.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.binary_authorization_policy.BinaryAuthorizationPolicyClusterAdmissionRules.Jsii$Proxy
-
- All Implemented Interfaces:
BinaryAuthorizationPolicyClusterAdmissionRules,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BinaryAuthorizationPolicyClusterAdmissionRules
@Stability(Stable) @Internal public static final class BinaryAuthorizationPolicyClusterAdmissionRules.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BinaryAuthorizationPolicyClusterAdmissionRules
An implementation forBinaryAuthorizationPolicyClusterAdmissionRules
-
-
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.binary_authorization_policy.BinaryAuthorizationPolicyClusterAdmissionRules
BinaryAuthorizationPolicyClusterAdmissionRules.Builder, BinaryAuthorizationPolicyClusterAdmissionRules.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(BinaryAuthorizationPolicyClusterAdmissionRules.Builder builder)Constructor that initializes the object based on literal property values passed by theBinaryAuthorizationPolicyClusterAdmissionRules.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)StringgetCluster()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_policy#cluster BinaryAuthorizationPolicy#cluster}.StringgetEnforcementMode()The action when a pod creation is denied by the admission rule.StringgetEvaluationMode()How this admission rule will be evaluated.List<String>getRequireAttestationsBy()The resource names of the attestors that must attest to a container image.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(BinaryAuthorizationPolicyClusterAdmissionRules.Builder builder)
Constructor that initializes the object based on literal property values passed by theBinaryAuthorizationPolicyClusterAdmissionRules.Builder.
-
-
Method Detail
-
getCluster
public final String getCluster()
Description copied from interface:BinaryAuthorizationPolicyClusterAdmissionRulesDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_policy#cluster BinaryAuthorizationPolicy#cluster}.- Specified by:
getClusterin interfaceBinaryAuthorizationPolicyClusterAdmissionRules
-
getEnforcementMode
public final String getEnforcementMode()
Description copied from interface:BinaryAuthorizationPolicyClusterAdmissionRulesThe action when a pod creation is denied by the admission rule. Possible values: ["ENFORCED_BLOCK_AND_AUDIT_LOG", "DRYRUN_AUDIT_LOG_ONLY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_policy#enforcement_mode BinaryAuthorizationPolicy#enforcement_mode}
- Specified by:
getEnforcementModein interfaceBinaryAuthorizationPolicyClusterAdmissionRules
-
getEvaluationMode
public final String getEvaluationMode()
Description copied from interface:BinaryAuthorizationPolicyClusterAdmissionRulesHow this admission rule will be evaluated. Possible values: ["ALWAYS_ALLOW", "REQUIRE_ATTESTATION", "ALWAYS_DENY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_policy#evaluation_mode BinaryAuthorizationPolicy#evaluation_mode}
- Specified by:
getEvaluationModein interfaceBinaryAuthorizationPolicyClusterAdmissionRules
-
getRequireAttestationsBy
public final List<String> getRequireAttestationsBy()
Description copied from interface:BinaryAuthorizationPolicyClusterAdmissionRulesThe resource names of the attestors that must attest to a container image.If the attestor is in a different project from the policy, it should be specified in the format 'projects/* /attestors/*'. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION, otherwise it must be empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_policy#require_attestations_by BinaryAuthorizationPolicy#require_attestations_by} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
- Specified by:
getRequireAttestationsByin interfaceBinaryAuthorizationPolicyClusterAdmissionRules
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-