Interface Cloudfunctions2FunctionServiceConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Cloudfunctions2FunctionServiceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.204Z") @Stability(Stable) public interface Cloudfunctions2FunctionServiceConfig extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudfunctions2FunctionServiceConfig.BuilderA builder forCloudfunctions2FunctionServiceConfigstatic classCloudfunctions2FunctionServiceConfig.Jsii$ProxyAn implementation forCloudfunctions2FunctionServiceConfig
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Cloudfunctions2FunctionServiceConfig.Builderbuilder()default ObjectgetAllTrafficOnLatestRevision()Whether 100% of traffic is routed to the latest revision.default StringgetAvailableCpu()The number of CPUs used in a single container instance.default StringgetAvailableMemory()The amount of memory available for a function.default Map<String,String>getEnvironmentVariables()Environment variables that shall be available during function execution.default StringgetIngressSettings()Available ingress settings.default NumbergetMaxInstanceCount()The limit on the maximum number of function instances that may coexist at a given time.default NumbergetMaxInstanceRequestConcurrency()Sets the maximum number of concurrent requests that each instance can receive.default NumbergetMinInstanceCount()The limit on the minimum number of function instances that may coexist at a given time.default ObjectgetSecretEnvironmentVariables()secret_environment_variables block.default ObjectgetSecretVolumes()secret_volumes block.default StringgetService()Name of the service associated with a Function.default StringgetServiceAccountEmail()The email of the service account for this function.default NumbergetTimeoutSeconds()The function execution timeout.default StringgetVpcConnector()The Serverless VPC Access connector that this cloud function can connect to.default StringgetVpcConnectorEgressSettings()Available egress settings.
-
-
-
Method Detail
-
getAllTrafficOnLatestRevision
@Stability(Stable) @Nullable default Object getAllTrafficOnLatestRevision()
Whether 100% of traffic is routed to the latest revision. Defaults to true.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#all_traffic_on_latest_revision Cloudfunctions2Function#all_traffic_on_latest_revision}
-
getAvailableCpu
@Stability(Stable) @Nullable default String getAvailableCpu()
The number of CPUs used in a single container instance. Default value is calculated from available memory.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#available_cpu Cloudfunctions2Function#available_cpu}
-
getAvailableMemory
@Stability(Stable) @Nullable default String getAvailableMemory()
The amount of memory available for a function.Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#available_memory Cloudfunctions2Function#available_memory}
-
getEnvironmentVariables
@Stability(Stable) @Nullable default Map<String,String> getEnvironmentVariables()
Environment variables that shall be available during function execution.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}
-
getIngressSettings
@Stability(Stable) @Nullable default String getIngressSettings()
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#ingress_settings Cloudfunctions2Function#ingress_settings}
-
getMaxInstanceCount
@Stability(Stable) @Nullable default Number getMaxInstanceCount()
The limit on the maximum number of function instances that may coexist at a given time.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#max_instance_count Cloudfunctions2Function#max_instance_count}
-
getMaxInstanceRequestConcurrency
@Stability(Stable) @Nullable default Number getMaxInstanceRequestConcurrency()
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#max_instance_request_concurrency Cloudfunctions2Function#max_instance_request_concurrency}
-
getMinInstanceCount
@Stability(Stable) @Nullable default Number getMinInstanceCount()
The limit on the minimum number of function instances that may coexist at a given time.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#min_instance_count Cloudfunctions2Function#min_instance_count}
-
getSecretEnvironmentVariables
@Stability(Stable) @Nullable default Object getSecretEnvironmentVariables()
secret_environment_variables block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#secret_environment_variables Cloudfunctions2Function#secret_environment_variables}
-
getSecretVolumes
@Stability(Stable) @Nullable default Object getSecretVolumes()
secret_volumes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#secret_volumes Cloudfunctions2Function#secret_volumes}
-
getService
@Stability(Stable) @Nullable default String getService()
Name of the service associated with a Function.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#service Cloudfunctions2Function#service}
-
getServiceAccountEmail
@Stability(Stable) @Nullable default String getServiceAccountEmail()
The email of the service account for this function.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}
-
getTimeoutSeconds
@Stability(Stable) @Nullable default Number getTimeoutSeconds()
The function execution timeout.Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#timeout_seconds Cloudfunctions2Function#timeout_seconds}
-
getVpcConnector
@Stability(Stable) @Nullable default String getVpcConnector()
The Serverless VPC Access connector that this cloud function can connect to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#vpc_connector Cloudfunctions2Function#vpc_connector}
-
getVpcConnectorEgressSettings
@Stability(Stable) @Nullable default String getVpcConnectorEgressSettings()
Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#vpc_connector_egress_settings Cloudfunctions2Function#vpc_connector_egress_settings}
-
builder
@Stability(Stable) static Cloudfunctions2FunctionServiceConfig.Builder builder()
-
-