Class CloudRunServiceTemplateMetadata.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_run_service.CloudRunServiceTemplateMetadata.Jsii$Proxy
-
- All Implemented Interfaces:
CloudRunServiceTemplateMetadata,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudRunServiceTemplateMetadata
@Stability(Stable) @Internal public static final class CloudRunServiceTemplateMetadata.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudRunServiceTemplateMetadata
An implementation forCloudRunServiceTemplateMetadata
-
-
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.cloud_run_service.CloudRunServiceTemplateMetadata
CloudRunServiceTemplateMetadata.Builder, CloudRunServiceTemplateMetadata.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudRunServiceTemplateMetadata.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudRunServiceTemplateMetadata.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)Map<String,String>getAnnotations()Annotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.Map<String,String>getLabels()Map of string keys and values that can be used to organize and categorize (scope and select) objects.StringgetName()Name must be unique within a Google Cloud project and region.StringgetNamespace()In Cloud Run the namespace must be equal to either the project ID or project number.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(CloudRunServiceTemplateMetadata.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudRunServiceTemplateMetadata.Builder.
-
-
Method Detail
-
getAnnotations
public final Map<String,String> getAnnotations()
Description copied from interface:CloudRunServiceTemplateMetadataAnnotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations **Note**: The Cloud Run API may add additional annotations that were not provided in your config. If terraform plan shows a diff where a server-side annotation is added, you can add it to your config or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field. Annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted. Use the following annotation keys to configure features on a Revision template: * 'autoscaling.knative.dev/maxScale' sets the [maximum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--max-instances) of the Revision to run. * 'autoscaling.knative.dev/minScale' sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min-instances) of the Revision to run. * 'run.googleapis.com/client-name' sets the client name calling the Cloud Run API. * 'run.googleapis.com/cloudsql-instances' sets the [Cloud SQL instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--add-cloudsql-instances) the Revision connects to. * 'run.googleapis.com/cpu-throttling' sets whether to throttle the CPU when the container is not actively serving requests. See https://cloud.google.com/sdk/gcloud/reference/run/deploy#--[no-]cpu-throttling. * 'run.googleapis.com/encryption-key-shutdown-hours' sets the number of hours to wait before an automatic shutdown server after CMEK key revocation is detected. * 'run.googleapis.com/encryption-key' sets the [CMEK key](https://cloud.google.com/run/docs/securing/using-cmek) reference to encrypt the container with. * 'run.googleapis.com/execution-environment' sets the [execution environment](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--execution-environment) where the application will run. * 'run.googleapis.com/post-key-revocation-action-type' sets the [action type](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--post-key-revocation-action-type) after CMEK key revocation. * 'run.googleapis.com/secrets' sets a list of key-value pairs to set as [secrets](https://cloud.google.com/run/docs/configuring/secrets#yaml). * 'run.googleapis.com/sessionAffinity' sets whether to enable [session affinity](https://cloud.google.com/sdk/gcloud/reference/beta/run/deploy#--%5Bno-%5Dsession-affinity) for connections to the Revision. * 'run.googleapis.com/startup-cpu-boost' sets whether to allocate extra CPU to containers on startup. See https://cloud.google.com/sdk/gcloud/reference/run/deploy#--[no-]cpu-boost. * 'run.googleapis.com/vpc-access-connector' sets a [VPC connector](https://cloud.google.com/run/docs/configuring/connecting-vpc#terraform_1) for the Revision. * 'run.googleapis.com/vpc-access-egress' sets the outbound traffic to send through the VPC connector for this resource. See https://cloud.google.com/sdk/gcloud/reference/run/deploy#--vpc-egress. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#annotations CloudRunService#annotations}
- Specified by:
getAnnotationsin interfaceCloudRunServiceTemplateMetadata
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:CloudRunServiceTemplateMetadataMap of string keys and values that can be used to organize and categorize (scope and select) objects.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#labels CloudRunService#labels}
- Specified by:
getLabelsin interfaceCloudRunServiceTemplateMetadata
-
getName
public final String getName()
Description copied from interface:CloudRunServiceTemplateMetadataName must be unique within a Google Cloud project and region.Is required when creating resources. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#name CloudRunService#name}
- Specified by:
getNamein interfaceCloudRunServiceTemplateMetadata
-
getNamespace
public final String getNamespace()
Description copied from interface:CloudRunServiceTemplateMetadataIn Cloud Run the namespace must be equal to either the project ID or project number.It will default to the resource's project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#namespace CloudRunService#namespace}
- Specified by:
getNamespacein interfaceCloudRunServiceTemplateMetadata
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-