Skip to content

Files

Latest commit

cca4850 · May 22, 2025

History

History
9430 lines (5983 loc) · 463 KB
·

cloudfunctions2Function.python.md

File metadata and controls

9430 lines (5983 loc) · 463 KB
·

cloudfunctions2Function Submodule

Constructs

Cloudfunctions2Function

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function google_cloudfunctions2_function}.

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2Function(
  scope: Construct,
  id: str,
  connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
  count: typing.Union[typing.Union[int, float], TerraformCount] = None,
  depends_on: typing.List[ITerraformDependable] = None,
  for_each: ITerraformIterator = None,
  lifecycle: TerraformResourceLifecycle = None,
  provider: TerraformProvider = None,
  provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
  location: str,
  name: str,
  build_config: Cloudfunctions2FunctionBuildConfig = None,
  description: str = None,
  event_trigger: Cloudfunctions2FunctionEventTrigger = None,
  id: str = None,
  kms_key_name: str = None,
  labels: typing.Mapping[str] = None,
  project: str = None,
  service_config: Cloudfunctions2FunctionServiceConfig = None,
  timeouts: Cloudfunctions2FunctionTimeouts = None
)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id str The scoped construct ID.
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[cdktf.ITerraformDependable] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
location str The location of this cloud function.
name str A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.
build_config Cloudfunctions2FunctionBuildConfig build_config block.
description str User-provided description of a function.
event_trigger Cloudfunctions2FunctionEventTrigger event_trigger block.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#id}.
kms_key_name str Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
labels typing.Mapping[str] A set of key/value label pairs associated with this Cloud Function.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.
service_config Cloudfunctions2FunctionServiceConfig service_config block.
timeouts Cloudfunctions2FunctionTimeouts timeouts block.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: str

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
  • Type: typing.List[cdktf.ITerraformDependable]

for_eachOptional
  • Type: cdktf.ITerraformIterator

lifecycleOptional
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
  • Type: cdktf.TerraformProvider

provisionersOptional
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

locationRequired
  • Type: str

The location of this cloud function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#location Cloudfunctions2Function#location}


nameRequired
  • Type: str

A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#name Cloudfunctions2Function#name}

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.


build_configOptional

build_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#build_config Cloudfunctions2Function#build_config}


descriptionOptional
  • Type: str

User-provided description of a function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#description Cloudfunctions2Function#description}


event_triggerOptional

event_trigger block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_trigger Cloudfunctions2Function#event_trigger}


idOptional
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#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.


kms_key_nameOptional
  • Type: str

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.

It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#kms_key_name Cloudfunctions2Function#kms_key_name}


labelsOptional
  • Type: typing.Mapping[str]

A set of key/value label pairs associated with this Cloud Function.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#labels Cloudfunctions2Function#labels}


projectOptional
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.


service_configOptional

service_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_config Cloudfunctions2Function#service_config}


timeoutsOptional

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#timeouts Cloudfunctions2Function#timeouts}


Methods

Name Description
to_string Returns a string representation of this construct.
add_override No description.
override_logical_id Overrides the auto-generated logical ID with a specific ID.
reset_override_logical_id Resets a previously passed logical Id to use the auto-generated logical id again.
to_hcl_terraform No description.
to_metadata No description.
to_terraform Adds this resource to the terraform JSON output.
add_move_target Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
has_resource_move No description.
import_from No description.
interpolation_for_attribute No description.
move_from_id Move the resource corresponding to "id" to this resource.
move_to Moves this resource to the target resource given by moveTarget.
move_to_id Moves this resource to the resource corresponding to "id".
put_build_config No description.
put_event_trigger No description.
put_service_config No description.
put_timeouts No description.
reset_build_config No description.
reset_description No description.
reset_event_trigger No description.
reset_id No description.
reset_kms_key_name No description.
reset_labels No description.
reset_project No description.
reset_service_config No description.
reset_timeouts No description.

to_string
def to_string() -> str

Returns a string representation of this construct.

add_override
def add_override(
  path: str,
  value: typing.Any
) -> None
pathRequired
  • Type: str

valueRequired
  • Type: typing.Any

override_logical_id
def override_logical_id(
  new_logical_id: str
) -> None

Overrides the auto-generated logical ID with a specific ID.

new_logical_idRequired
  • Type: str

The new logical ID to use for this stack element.


reset_override_logical_id
def reset_override_logical_id() -> None

Resets a previously passed logical Id to use the auto-generated logical id again.

to_hcl_terraform
def to_hcl_terraform() -> typing.Any
to_metadata
def to_metadata() -> typing.Any
to_terraform
def to_terraform() -> typing.Any

Adds this resource to the terraform JSON output.

add_move_target
def add_move_target(
  move_target: str
) -> None

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

move_targetRequired
  • Type: str

The string move target that will correspond to this resource.


get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

has_resource_move
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
import_from
def import_from(
  id: str,
  provider: TerraformProvider = None
) -> None
idRequired
  • Type: str

providerOptional
  • Type: cdktf.TerraformProvider

interpolation_for_attribute
def interpolation_for_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

move_from_id
def move_from_id(
  id: str
) -> None

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: str

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


move_to
def move_to(
  move_target: str,
  index: typing.Union[str, typing.Union[int, float]] = None
) -> None

Moves this resource to the target resource given by moveTarget.

move_targetRequired
  • Type: str

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: typing.Union[str, typing.Union[int, float]]

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


move_to_id
def move_to_id(
  id: str
) -> None

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: str

Full id of resource to move to, e.g. "aws_s3_bucket.example".


put_build_config
def put_build_config(
  automatic_update_policy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy = None,
  docker_repository: str = None,
  entry_point: str = None,
  environment_variables: typing.Mapping[str] = None,
  on_deploy_update_policy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy = None,
  runtime: str = None,
  service_account: str = None,
  source: Cloudfunctions2FunctionBuildConfigSource = None,
  worker_pool: str = None
) -> None
automatic_update_policyOptional

automatic_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#automatic_update_policy Cloudfunctions2Function#automatic_update_policy}


docker_repositoryOptional
  • Type: str

User managed repository created in Artifact Registry optionally with a customer managed encryption key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#docker_repository Cloudfunctions2Function#docker_repository}


entry_pointOptional
  • Type: str

The name of the function (as defined in source code) that will be executed.

Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#entry_point Cloudfunctions2Function#entry_point}


environment_variablesOptional
  • Type: typing.Mapping[str]

User-provided build-time environment variables for the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


on_deploy_update_policyOptional

on_deploy_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#on_deploy_update_policy Cloudfunctions2Function#on_deploy_update_policy}


runtimeOptional
  • Type: str

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#runtime Cloudfunctions2Function#runtime}


service_accountOptional
  • Type: str

The fully-qualified name of the service account to be used for building the container.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account Cloudfunctions2Function#service_account}


sourceOptional

source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#source Cloudfunctions2Function#source}


worker_poolOptional
  • Type: str

Name of the Cloud Build Custom Worker Pool that should be used to build the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#worker_pool Cloudfunctions2Function#worker_pool}


put_event_trigger
def put_event_trigger(
  event_filters: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]] = None,
  event_type: str = None,
  pubsub_topic: str = None,
  retry_policy: str = None,
  service_account_email: str = None,
  trigger_region: str = None
) -> None
event_filtersOptional

event_filters block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_filters Cloudfunctions2Function#event_filters}


event_typeOptional
  • Type: str

Required. The type of event to observe.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_type Cloudfunctions2Function#event_type}


pubsub_topicOptional
  • Type: str

The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#pubsub_topic Cloudfunctions2Function#pubsub_topic}


retry_policyOptional
  • Type: str

Describes the retry policy in case of function's execution failure.

Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#retry_policy Cloudfunctions2Function#retry_policy}


service_account_emailOptional
  • Type: str

Optional.

The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


trigger_regionOptional
  • Type: str

The region that the trigger will be in.

The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#trigger_region Cloudfunctions2Function#trigger_region}


put_service_config
def put_service_config(
  all_traffic_on_latest_revision: typing.Union[bool, IResolvable] = None,
  available_cpu: str = None,
  available_memory: str = None,
  binary_authorization_policy: str = None,
  environment_variables: typing.Mapping[str] = None,
  ingress_settings: str = None,
  max_instance_count: typing.Union[int, float] = None,
  max_instance_request_concurrency: typing.Union[int, float] = None,
  min_instance_count: typing.Union[int, float] = None,
  secret_environment_variables: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]] = None,
  secret_volumes: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]] = None,
  service: str = None,
  service_account_email: str = None,
  timeout_seconds: typing.Union[int, float] = None,
  vpc_connector: str = None,
  vpc_connector_egress_settings: str = None
) -> None
all_traffic_on_latest_revisionOptional
  • Type: typing.Union[bool, cdktf.IResolvable]

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/6.36.1/docs/resources/cloudfunctions2_function#all_traffic_on_latest_revision Cloudfunctions2Function#all_traffic_on_latest_revision}


available_cpuOptional
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#available_cpu Cloudfunctions2Function#available_cpu}


available_memoryOptional
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#available_memory Cloudfunctions2Function#available_memory}


binary_authorization_policyOptional
  • Type: str

The binary authorization policy to be checked when deploying the Cloud Run service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#binary_authorization_policy Cloudfunctions2Function#binary_authorization_policy}


environment_variablesOptional
  • Type: typing.Mapping[str]

Environment variables that shall be available during function execution.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


ingress_settingsOptional
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#ingress_settings Cloudfunctions2Function#ingress_settings}


max_instance_countOptional
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#max_instance_count Cloudfunctions2Function#max_instance_count}


max_instance_request_concurrencyOptional
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#max_instance_request_concurrency Cloudfunctions2Function#max_instance_request_concurrency}


min_instance_countOptional
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#min_instance_count Cloudfunctions2Function#min_instance_count}


secret_environment_variablesOptional

secret_environment_variables block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_environment_variables Cloudfunctions2Function#secret_environment_variables}


secret_volumesOptional

secret_volumes block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_volumes Cloudfunctions2Function#secret_volumes}


serviceOptional
  • Type: str

Name of the service associated with a Function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service Cloudfunctions2Function#service}


service_account_emailOptional
  • Type: str

The email of the service account for this function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


timeout_secondsOptional
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#timeout_seconds Cloudfunctions2Function#timeout_seconds}


vpc_connectorOptional
  • Type: str

The Serverless VPC Access connector that this cloud function can connect to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector Cloudfunctions2Function#vpc_connector}


vpc_connector_egress_settingsOptional
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector_egress_settings Cloudfunctions2Function#vpc_connector_egress_settings}


put_timeouts
def put_timeouts(
  create: str = None,
  delete: str = None,
  update: str = None
) -> None
createOptional
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.


deleteOptional
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.


updateOptional
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.


reset_build_config
def reset_build_config() -> None
reset_description
def reset_description() -> None
reset_event_trigger
def reset_event_trigger() -> None
reset_id
def reset_id() -> None
reset_kms_key_name
def reset_kms_key_name() -> None
reset_labels
def reset_labels() -> None
reset_project
def reset_project() -> None
reset_service_config
def reset_service_config() -> None
reset_timeouts
def reset_timeouts() -> None

Static Functions

Name Description
is_construct Checks if x is a construct.
is_terraform_element No description.
is_terraform_resource No description.
generate_config_for_import Generates CDKTF code for importing a Cloudfunctions2Function resource upon running "cdktf plan ".

is_construct
from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2Function.is_construct(
  x: typing.Any
)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: typing.Any

Any object.


is_terraform_element
from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2Function.is_terraform_element(
  x: typing.Any
)
xRequired
  • Type: typing.Any

is_terraform_resource
from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2Function.is_terraform_resource(
  x: typing.Any
)
xRequired
  • Type: typing.Any

generate_config_for_import
from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2Function.generate_config_for_import(
  scope: Construct,
  import_to_id: str,
  import_from_id: str,
  provider: TerraformProvider = None
)

Generates CDKTF code for importing a Cloudfunctions2Function resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


import_to_idRequired
  • Type: str

The construct id used in the generated config for the Cloudfunctions2Function to import.


import_from_idRequired
  • Type: str

The id of the existing Cloudfunctions2Function that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the Cloudfunctions2Function to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktf_stack cdktf.TerraformStack No description.
fqn str No description.
friendly_unique_id str No description.
terraform_meta_arguments typing.Mapping[typing.Any] No description.
terraform_resource_type str No description.
terraform_generator_metadata cdktf.TerraformProviderGeneratorMetadata No description.
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[str] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
build_config Cloudfunctions2FunctionBuildConfigOutputReference No description.
effective_labels cdktf.StringMap No description.
environment str No description.
event_trigger Cloudfunctions2FunctionEventTriggerOutputReference No description.
service_config Cloudfunctions2FunctionServiceConfigOutputReference No description.
state str No description.
terraform_labels cdktf.StringMap No description.
timeouts Cloudfunctions2FunctionTimeoutsOutputReference No description.
update_time str No description.
url str No description.
build_config_input Cloudfunctions2FunctionBuildConfig No description.
description_input str No description.
event_trigger_input Cloudfunctions2FunctionEventTrigger No description.
id_input str No description.
kms_key_name_input str No description.
labels_input typing.Mapping[str] No description.
location_input str No description.
name_input str No description.
project_input str No description.
service_config_input Cloudfunctions2FunctionServiceConfig No description.
timeouts_input typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionTimeouts] No description.
description str No description.
id str No description.
kms_key_name str No description.
labels typing.Mapping[str] No description.
location str No description.
name str No description.
project str No description.

nodeRequired
node: Node
  • Type: constructs.Node

The tree node.


cdktf_stackRequired
cdktf_stack: TerraformStack
  • Type: cdktf.TerraformStack

fqnRequired
fqn: str
  • Type: str

friendly_unique_idRequired
friendly_unique_id: str
  • Type: str

terraform_meta_argumentsRequired
terraform_meta_arguments: typing.Mapping[typing.Any]
  • Type: typing.Mapping[typing.Any]

terraform_resource_typeRequired
terraform_resource_type: str
  • Type: str

terraform_generator_metadataOptional
terraform_generator_metadata: TerraformProviderGeneratorMetadata
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
count: typing.Union[typing.Union[int, float], TerraformCount]
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
depends_on: typing.List[str]
  • Type: typing.List[str]

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

provisionersOptional
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

build_configRequired
build_config: Cloudfunctions2FunctionBuildConfigOutputReference

effective_labelsRequired
effective_labels: StringMap
  • Type: cdktf.StringMap

environmentRequired
environment: str
  • Type: str

event_triggerRequired
event_trigger: Cloudfunctions2FunctionEventTriggerOutputReference

service_configRequired
service_config: Cloudfunctions2FunctionServiceConfigOutputReference

stateRequired
state: str
  • Type: str

terraform_labelsRequired
terraform_labels: StringMap
  • Type: cdktf.StringMap

timeoutsRequired
timeouts: Cloudfunctions2FunctionTimeoutsOutputReference

update_timeRequired
update_time: str
  • Type: str

urlRequired
url: str
  • Type: str

build_config_inputOptional
build_config_input: Cloudfunctions2FunctionBuildConfig

description_inputOptional
description_input: str
  • Type: str

event_trigger_inputOptional
event_trigger_input: Cloudfunctions2FunctionEventTrigger

id_inputOptional
id_input: str
  • Type: str

kms_key_name_inputOptional
kms_key_name_input: str
  • Type: str

labels_inputOptional
labels_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

location_inputOptional
location_input: str
  • Type: str

name_inputOptional
name_input: str
  • Type: str

project_inputOptional
project_input: str
  • Type: str

service_config_inputOptional
service_config_input: Cloudfunctions2FunctionServiceConfig

timeouts_inputOptional
timeouts_input: typing.Union[IResolvable, Cloudfunctions2FunctionTimeouts]

descriptionRequired
description: str
  • Type: str

idRequired
id: str
  • Type: str

kms_key_nameRequired
kms_key_name: str
  • Type: str

labelsRequired
labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

locationRequired
location: str
  • Type: str

nameRequired
name: str
  • Type: str

projectRequired
project: str
  • Type: str

Constants

Name Type Description
tfResourceType str No description.

tfResourceTypeRequired
tfResourceType: str
  • Type: str

Structs

Cloudfunctions2FunctionBuildConfig

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfig(
  automatic_update_policy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy = None,
  docker_repository: str = None,
  entry_point: str = None,
  environment_variables: typing.Mapping[str] = None,
  on_deploy_update_policy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy = None,
  runtime: str = None,
  service_account: str = None,
  source: Cloudfunctions2FunctionBuildConfigSource = None,
  worker_pool: str = None
)

Properties

Name Type Description
automatic_update_policy Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy automatic_update_policy block.
docker_repository str User managed repository created in Artifact Registry optionally with a customer managed encryption key.
entry_point str The name of the function (as defined in source code) that will be executed.
environment_variables typing.Mapping[str] User-provided build-time environment variables for the function.
on_deploy_update_policy Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy on_deploy_update_policy block.
runtime str The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
service_account str The fully-qualified name of the service account to be used for building the container.
source Cloudfunctions2FunctionBuildConfigSource source block.
worker_pool str Name of the Cloud Build Custom Worker Pool that should be used to build the function.

automatic_update_policyOptional
automatic_update_policy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

automatic_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#automatic_update_policy Cloudfunctions2Function#automatic_update_policy}


docker_repositoryOptional
docker_repository: str
  • Type: str

User managed repository created in Artifact Registry optionally with a customer managed encryption key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#docker_repository Cloudfunctions2Function#docker_repository}


entry_pointOptional
entry_point: str
  • Type: str

The name of the function (as defined in source code) that will be executed.

Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#entry_point Cloudfunctions2Function#entry_point}


environment_variablesOptional
environment_variables: typing.Mapping[str]
  • Type: typing.Mapping[str]

User-provided build-time environment variables for the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


on_deploy_update_policyOptional
on_deploy_update_policy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

on_deploy_update_policy block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#on_deploy_update_policy Cloudfunctions2Function#on_deploy_update_policy}


runtimeOptional
runtime: str
  • Type: str

The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#runtime Cloudfunctions2Function#runtime}


service_accountOptional
service_account: str
  • Type: str

The fully-qualified name of the service account to be used for building the container.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account Cloudfunctions2Function#service_account}


sourceOptional
source: Cloudfunctions2FunctionBuildConfigSource

source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#source Cloudfunctions2Function#source}


worker_poolOptional
worker_pool: str
  • Type: str

Name of the Cloud Build Custom Worker Pool that should be used to build the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#worker_pool Cloudfunctions2Function#worker_pool}


Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy()

Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy()

Cloudfunctions2FunctionBuildConfigSource

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSource(
  repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSource = None,
  storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSource = None
)

Properties

Name Type Description
repo_source Cloudfunctions2FunctionBuildConfigSourceRepoSource repo_source block.
storage_source Cloudfunctions2FunctionBuildConfigSourceStorageSource storage_source block.

repo_sourceOptional
repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSource

repo_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_source Cloudfunctions2Function#repo_source}


storage_sourceOptional
storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSource

storage_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#storage_source Cloudfunctions2Function#storage_source}


Cloudfunctions2FunctionBuildConfigSourceRepoSource

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceRepoSource(
  branch_name: str = None,
  commit_sha: str = None,
  dir: str = None,
  invert_regex: typing.Union[bool, IResolvable] = None,
  project_id: str = None,
  repo_name: str = None,
  tag_name: str = None
)

Properties

Name Type Description
branch_name str Regex matching branches to build.
commit_sha str Regex matching tags to build.
dir str Directory, relative to the source root, in which to run the build.
invert_regex typing.Union[bool, cdktf.IResolvable] Only trigger a build if the revision regex does NOT match the revision regex.
project_id str ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
repo_name str Name of the Cloud Source Repository.
tag_name str Regex matching tags to build.

branch_nameOptional
branch_name: str
  • Type: str

Regex matching branches to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#branch_name Cloudfunctions2Function#branch_name}


commit_shaOptional
commit_sha: str
  • Type: str

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#commit_sha Cloudfunctions2Function#commit_sha}


dirOptional
dir: str
  • Type: str

Directory, relative to the source root, in which to run the build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#dir Cloudfunctions2Function#dir}


invert_regexOptional
invert_regex: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

Only trigger a build if the revision regex does NOT match the revision regex.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#invert_regex Cloudfunctions2Function#invert_regex}


project_idOptional
project_id: str
  • Type: str

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


repo_nameOptional
repo_name: str
  • Type: str

Name of the Cloud Source Repository.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_name Cloudfunctions2Function#repo_name}


tag_nameOptional
tag_name: str
  • Type: str

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#tag_name Cloudfunctions2Function#tag_name}


Cloudfunctions2FunctionBuildConfigSourceStorageSource

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceStorageSource(
  bucket: str = None,
  generation: typing.Union[int, float] = None,
  object: str = None
)

Properties

Name Type Description
bucket str Google Cloud Storage bucket containing the source.
generation typing.Union[int, float] Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
object str Google Cloud Storage object containing the source.

bucketOptional
bucket: str
  • Type: str

Google Cloud Storage bucket containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#bucket Cloudfunctions2Function#bucket}


generationOptional
generation: typing.Union[int, float]
  • Type: typing.Union[int, float]

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#generation Cloudfunctions2Function#generation}


objectOptional
object: str
  • Type: str

Google Cloud Storage object containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#object Cloudfunctions2Function#object}


Cloudfunctions2FunctionConfig

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionConfig(
  connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
  count: typing.Union[typing.Union[int, float], TerraformCount] = None,
  depends_on: typing.List[ITerraformDependable] = None,
  for_each: ITerraformIterator = None,
  lifecycle: TerraformResourceLifecycle = None,
  provider: TerraformProvider = None,
  provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
  location: str,
  name: str,
  build_config: Cloudfunctions2FunctionBuildConfig = None,
  description: str = None,
  event_trigger: Cloudfunctions2FunctionEventTrigger = None,
  id: str = None,
  kms_key_name: str = None,
  labels: typing.Mapping[str] = None,
  project: str = None,
  service_config: Cloudfunctions2FunctionServiceConfig = None,
  timeouts: Cloudfunctions2FunctionTimeouts = None
)

Properties

Name Type Description
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[cdktf.ITerraformDependable] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
location str The location of this cloud function.
name str A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.
build_config Cloudfunctions2FunctionBuildConfig build_config block.
description str User-provided description of a function.
event_trigger Cloudfunctions2FunctionEventTrigger event_trigger block.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#id}.
kms_key_name str Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
labels typing.Mapping[str] A set of key/value label pairs associated with this Cloud Function.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.
service_config Cloudfunctions2FunctionServiceConfig service_config block.
timeouts Cloudfunctions2FunctionTimeouts timeouts block.

connectionOptional
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
count: typing.Union[typing.Union[int, float], TerraformCount]
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
depends_on: typing.List[ITerraformDependable]
  • Type: typing.List[cdktf.ITerraformDependable]

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

provisionersOptional
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

locationRequired
location: str
  • Type: str

The location of this cloud function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#location Cloudfunctions2Function#location}


nameRequired
name: str
  • Type: str

A user-defined name of the function. Function names must be unique globally and match pattern 'projects/* /locations/* /functions/*'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#name Cloudfunctions2Function#name}

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.


build_configOptional
build_config: Cloudfunctions2FunctionBuildConfig

build_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#build_config Cloudfunctions2Function#build_config}


descriptionOptional
description: str
  • Type: str

User-provided description of a function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#description Cloudfunctions2Function#description}


event_triggerOptional
event_trigger: Cloudfunctions2FunctionEventTrigger

event_trigger block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_trigger Cloudfunctions2Function#event_trigger}


idOptional
id: str
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#id Cloudfunctions2Function#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.


kms_key_nameOptional
kms_key_name: str
  • Type: str

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.

It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#kms_key_name Cloudfunctions2Function#kms_key_name}


labelsOptional
labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

A set of key/value label pairs associated with this Cloud Function.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#labels Cloudfunctions2Function#labels}


projectOptional
project: str
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project Cloudfunctions2Function#project}.


service_configOptional
service_config: Cloudfunctions2FunctionServiceConfig

service_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_config Cloudfunctions2Function#service_config}


timeoutsOptional
timeouts: Cloudfunctions2FunctionTimeouts

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#timeouts Cloudfunctions2Function#timeouts}


Cloudfunctions2FunctionEventTrigger

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionEventTrigger(
  event_filters: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]] = None,
  event_type: str = None,
  pubsub_topic: str = None,
  retry_policy: str = None,
  service_account_email: str = None,
  trigger_region: str = None
)

Properties

Name Type Description
event_filters typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]] event_filters block.
event_type str Required. The type of event to observe.
pubsub_topic str The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
retry_policy str Describes the retry policy in case of function's execution failure.
service_account_email str Optional.
trigger_region str The region that the trigger will be in.

event_filtersOptional
event_filters: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]

event_filters block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_filters Cloudfunctions2Function#event_filters}


event_typeOptional
event_type: str
  • Type: str

Required. The type of event to observe.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#event_type Cloudfunctions2Function#event_type}


pubsub_topicOptional
pubsub_topic: str
  • Type: str

The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#pubsub_topic Cloudfunctions2Function#pubsub_topic}


retry_policyOptional
retry_policy: str
  • Type: str

Describes the retry policy in case of function's execution failure.

Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#retry_policy Cloudfunctions2Function#retry_policy}


service_account_emailOptional
service_account_email: str
  • Type: str

Optional.

The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


trigger_regionOptional
trigger_region: str
  • Type: str

The region that the trigger will be in.

The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#trigger_region Cloudfunctions2Function#trigger_region}


Cloudfunctions2FunctionEventTriggerEventFilters

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFilters(
  attribute: str,
  value: str,
  operator: str = None
)

Properties

Name Type Description
attribute str 'Required.
value str Required.
operator str Optional.

attributeRequired
attribute: str
  • Type: str

'Required.

The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#attribute Cloudfunctions2Function#attribute}


valueRequired
value: str
  • Type: str

Required.

The value for the attribute. If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#value Cloudfunctions2Function#value}


operatorOptional
operator: str
  • Type: str

Optional.

The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is 'match-path-pattern'. See documentation on path patterns here'

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#operator Cloudfunctions2Function#operator}


Cloudfunctions2FunctionServiceConfig

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfig(
  all_traffic_on_latest_revision: typing.Union[bool, IResolvable] = None,
  available_cpu: str = None,
  available_memory: str = None,
  binary_authorization_policy: str = None,
  environment_variables: typing.Mapping[str] = None,
  ingress_settings: str = None,
  max_instance_count: typing.Union[int, float] = None,
  max_instance_request_concurrency: typing.Union[int, float] = None,
  min_instance_count: typing.Union[int, float] = None,
  secret_environment_variables: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]] = None,
  secret_volumes: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]] = None,
  service: str = None,
  service_account_email: str = None,
  timeout_seconds: typing.Union[int, float] = None,
  vpc_connector: str = None,
  vpc_connector_egress_settings: str = None
)

Properties

Name Type Description
all_traffic_on_latest_revision typing.Union[bool, cdktf.IResolvable] Whether 100% of traffic is routed to the latest revision. Defaults to true.
available_cpu str The number of CPUs used in a single container instance. Default value is calculated from available memory.
available_memory str The amount of memory available for a function.
binary_authorization_policy str The binary authorization policy to be checked when deploying the Cloud Run service.
environment_variables typing.Mapping[str] Environment variables that shall be available during function execution.
ingress_settings str Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"].
max_instance_count typing.Union[int, float] The limit on the maximum number of function instances that may coexist at a given time.
max_instance_request_concurrency typing.Union[int, float] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
min_instance_count typing.Union[int, float] The limit on the minimum number of function instances that may coexist at a given time.
secret_environment_variables typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]] secret_environment_variables block.
secret_volumes typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]] secret_volumes block.
service str Name of the service associated with a Function.
service_account_email str The email of the service account for this function.
timeout_seconds typing.Union[int, float] The function execution timeout.
vpc_connector str The Serverless VPC Access connector that this cloud function can connect to.
vpc_connector_egress_settings str Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"].

all_traffic_on_latest_revisionOptional
all_traffic_on_latest_revision: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

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/6.36.1/docs/resources/cloudfunctions2_function#all_traffic_on_latest_revision Cloudfunctions2Function#all_traffic_on_latest_revision}


available_cpuOptional
available_cpu: str
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#available_cpu Cloudfunctions2Function#available_cpu}


available_memoryOptional
available_memory: str
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#available_memory Cloudfunctions2Function#available_memory}


binary_authorization_policyOptional
binary_authorization_policy: str
  • Type: str

The binary authorization policy to be checked when deploying the Cloud Run service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#binary_authorization_policy Cloudfunctions2Function#binary_authorization_policy}


environment_variablesOptional
environment_variables: typing.Mapping[str]
  • Type: typing.Mapping[str]

Environment variables that shall be available during function execution.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#environment_variables Cloudfunctions2Function#environment_variables}


ingress_settingsOptional
ingress_settings: str
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#ingress_settings Cloudfunctions2Function#ingress_settings}


max_instance_countOptional
max_instance_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#max_instance_count Cloudfunctions2Function#max_instance_count}


max_instance_request_concurrencyOptional
max_instance_request_concurrency: typing.Union[int, float]
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#max_instance_request_concurrency Cloudfunctions2Function#max_instance_request_concurrency}


min_instance_countOptional
min_instance_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#min_instance_count Cloudfunctions2Function#min_instance_count}


secret_environment_variablesOptional
secret_environment_variables: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]

secret_environment_variables block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_environment_variables Cloudfunctions2Function#secret_environment_variables}


secret_volumesOptional
secret_volumes: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]

secret_volumes block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret_volumes Cloudfunctions2Function#secret_volumes}


serviceOptional
service: str
  • Type: str

Name of the service associated with a Function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service Cloudfunctions2Function#service}


service_account_emailOptional
service_account_email: str
  • Type: str

The email of the service account for this function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#service_account_email Cloudfunctions2Function#service_account_email}


timeout_secondsOptional
timeout_seconds: typing.Union[int, float]
  • Type: typing.Union[int, float]

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/6.36.1/docs/resources/cloudfunctions2_function#timeout_seconds Cloudfunctions2Function#timeout_seconds}


vpc_connectorOptional
vpc_connector: str
  • Type: str

The Serverless VPC Access connector that this cloud function can connect to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector Cloudfunctions2Function#vpc_connector}


vpc_connector_egress_settingsOptional
vpc_connector_egress_settings: str
  • Type: str

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/6.36.1/docs/resources/cloudfunctions2_function#vpc_connector_egress_settings Cloudfunctions2Function#vpc_connector_egress_settings}


Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables(
  key: str,
  project_id: str,
  secret: str,
  version: str
)

Properties

Name Type Description
key str Name of the environment variable.
project_id str Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
secret str Name of the secret in secret manager (not the full resource name).
version str Version of the secret (version number or the string 'latest').

keyRequired
key: str
  • Type: str

Name of the environment variable.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#key Cloudfunctions2Function#key}


project_idRequired
project_id: str
  • Type: str

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.

If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


secretRequired
secret: str
  • Type: str

Name of the secret in secret manager (not the full resource name).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}


versionRequired
version: str
  • Type: str

Version of the secret (version number or the string 'latest').

It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}


Cloudfunctions2FunctionServiceConfigSecretVolumes

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumes(
  mount_path: str,
  project_id: str,
  secret: str,
  versions: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]] = None
)

Properties

Name Type Description
mount_path str The path within the container to mount the secret volume.
project_id str Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
secret str Name of the secret in secret manager (not the full resource name).
versions typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]] versions block.

mount_pathRequired
mount_path: str
  • Type: str

The path within the container to mount the secret volume.

For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#mount_path Cloudfunctions2Function#mount_path}


project_idRequired
project_id: str
  • Type: str

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.

If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


secretRequired
secret: str
  • Type: str

Name of the secret in secret manager (not the full resource name).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#secret Cloudfunctions2Function#secret}


versionsOptional
versions: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]

versions block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#versions Cloudfunctions2Function#versions}


Cloudfunctions2FunctionServiceConfigSecretVolumesVersions

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersions(
  path: str,
  version: str
)

Properties

Name Type Description
path str Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
version str Version of the secret (version number or the string 'latest').

pathRequired
path: str
  • Type: str

Relative path of the file under the mount path where the secret value for this version will be fetched and made available.

For example, setting the mountPath as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#path Cloudfunctions2Function#path}


versionRequired
version: str
  • Type: str

Version of the secret (version number or the string 'latest').

It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}


Cloudfunctions2FunctionTimeouts

Initializer

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionTimeouts(
  create: str = None,
  delete: str = None,
  update: str = None
)

Properties

Name Type Description
create str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.
delete str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.
update str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.

createOptional
create: str
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.


deleteOptional
delete: str
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.


updateOptional
update: str
  • Type: str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.


Classes

Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
runtime_version str No description.
internal_value Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

runtime_versionRequired
runtime_version: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

Cloudfunctions2FunctionBuildConfigOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_automatic_update_policy No description.
put_on_deploy_update_policy No description.
put_source No description.
reset_automatic_update_policy No description.
reset_docker_repository No description.
reset_entry_point No description.
reset_environment_variables No description.
reset_on_deploy_update_policy No description.
reset_runtime No description.
reset_service_account No description.
reset_source No description.
reset_worker_pool No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_automatic_update_policy
def put_automatic_update_policy() -> None
put_on_deploy_update_policy
def put_on_deploy_update_policy() -> None
put_source
def put_source(
  repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSource = None,
  storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSource = None
) -> None
repo_sourceOptional

repo_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_source Cloudfunctions2Function#repo_source}


storage_sourceOptional

storage_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#storage_source Cloudfunctions2Function#storage_source}


reset_automatic_update_policy
def reset_automatic_update_policy() -> None
reset_docker_repository
def reset_docker_repository() -> None
reset_entry_point
def reset_entry_point() -> None
reset_environment_variables
def reset_environment_variables() -> None
reset_on_deploy_update_policy
def reset_on_deploy_update_policy() -> None
reset_runtime
def reset_runtime() -> None
reset_service_account
def reset_service_account() -> None
reset_source
def reset_source() -> None
reset_worker_pool
def reset_worker_pool() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
automatic_update_policy Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference No description.
build_attribute str No description.
on_deploy_update_policy Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference No description.
source Cloudfunctions2FunctionBuildConfigSourceOutputReference No description.
automatic_update_policy_input Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy No description.
docker_repository_input str No description.
entry_point_input str No description.
environment_variables_input typing.Mapping[str] No description.
on_deploy_update_policy_input Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy No description.
runtime_input str No description.
service_account_input str No description.
source_input Cloudfunctions2FunctionBuildConfigSource No description.
worker_pool_input str No description.
docker_repository str No description.
entry_point str No description.
environment_variables typing.Mapping[str] No description.
runtime str No description.
service_account str No description.
worker_pool str No description.
internal_value Cloudfunctions2FunctionBuildConfig No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

automatic_update_policyRequired
automatic_update_policy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference

build_attributeRequired
build_attribute: str
  • Type: str

on_deploy_update_policyRequired
on_deploy_update_policy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference

sourceRequired
source: Cloudfunctions2FunctionBuildConfigSourceOutputReference

automatic_update_policy_inputOptional
automatic_update_policy_input: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy

docker_repository_inputOptional
docker_repository_input: str
  • Type: str

entry_point_inputOptional
entry_point_input: str
  • Type: str

environment_variables_inputOptional
environment_variables_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

on_deploy_update_policy_inputOptional
on_deploy_update_policy_input: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy

runtime_inputOptional
runtime_input: str
  • Type: str

service_account_inputOptional
service_account_input: str
  • Type: str

source_inputOptional
source_input: Cloudfunctions2FunctionBuildConfigSource

worker_pool_inputOptional
worker_pool_input: str
  • Type: str

docker_repositoryRequired
docker_repository: str
  • Type: str

entry_pointRequired
entry_point: str
  • Type: str

environment_variablesRequired
environment_variables: typing.Mapping[str]
  • Type: typing.Mapping[str]

runtimeRequired
runtime: str
  • Type: str

service_accountRequired
service_account: str
  • Type: str

worker_poolRequired
worker_pool: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfig

Cloudfunctions2FunctionBuildConfigSourceOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_repo_source No description.
put_storage_source No description.
reset_repo_source No description.
reset_storage_source No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_repo_source
def put_repo_source(
  branch_name: str = None,
  commit_sha: str = None,
  dir: str = None,
  invert_regex: typing.Union[bool, IResolvable] = None,
  project_id: str = None,
  repo_name: str = None,
  tag_name: str = None
) -> None
branch_nameOptional
  • Type: str

Regex matching branches to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#branch_name Cloudfunctions2Function#branch_name}


commit_shaOptional
  • Type: str

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#commit_sha Cloudfunctions2Function#commit_sha}


dirOptional
  • Type: str

Directory, relative to the source root, in which to run the build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#dir Cloudfunctions2Function#dir}


invert_regexOptional
  • Type: typing.Union[bool, cdktf.IResolvable]

Only trigger a build if the revision regex does NOT match the revision regex.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#invert_regex Cloudfunctions2Function#invert_regex}


project_idOptional
  • Type: str

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#project_id Cloudfunctions2Function#project_id}


repo_nameOptional
  • Type: str

Name of the Cloud Source Repository.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#repo_name Cloudfunctions2Function#repo_name}


tag_nameOptional
  • Type: str

Regex matching tags to build.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#tag_name Cloudfunctions2Function#tag_name}


put_storage_source
def put_storage_source(
  bucket: str = None,
  generation: typing.Union[int, float] = None,
  object: str = None
) -> None
bucketOptional
  • Type: str

Google Cloud Storage bucket containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#bucket Cloudfunctions2Function#bucket}


generationOptional
  • Type: typing.Union[int, float]

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#generation Cloudfunctions2Function#generation}


objectOptional
  • Type: str

Google Cloud Storage object containing the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#object Cloudfunctions2Function#object}


reset_repo_source
def reset_repo_source() -> None
reset_storage_source
def reset_storage_source() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
repo_source Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference No description.
storage_source Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference No description.
repo_source_input Cloudfunctions2FunctionBuildConfigSourceRepoSource No description.
storage_source_input Cloudfunctions2FunctionBuildConfigSourceStorageSource No description.
internal_value Cloudfunctions2FunctionBuildConfigSource No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

repo_sourceRequired
repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

storage_sourceRequired
storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

repo_source_inputOptional
repo_source_input: Cloudfunctions2FunctionBuildConfigSourceRepoSource

storage_source_inputOptional
storage_source_input: Cloudfunctions2FunctionBuildConfigSourceStorageSource

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfigSource

Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_branch_name No description.
reset_commit_sha No description.
reset_dir No description.
reset_invert_regex No description.
reset_project_id No description.
reset_repo_name No description.
reset_tag_name No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_branch_name
def reset_branch_name() -> None
reset_commit_sha
def reset_commit_sha() -> None
reset_dir
def reset_dir() -> None
reset_invert_regex
def reset_invert_regex() -> None
reset_project_id
def reset_project_id() -> None
reset_repo_name
def reset_repo_name() -> None
reset_tag_name
def reset_tag_name() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
branch_name_input str No description.
commit_sha_input str No description.
dir_input str No description.
invert_regex_input typing.Union[bool, cdktf.IResolvable] No description.
project_id_input str No description.
repo_name_input str No description.
tag_name_input str No description.
branch_name str No description.
commit_sha str No description.
dir str No description.
invert_regex typing.Union[bool, cdktf.IResolvable] No description.
project_id str No description.
repo_name str No description.
tag_name str No description.
internal_value Cloudfunctions2FunctionBuildConfigSourceRepoSource No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

branch_name_inputOptional
branch_name_input: str
  • Type: str

commit_sha_inputOptional
commit_sha_input: str
  • Type: str

dir_inputOptional
dir_input: str
  • Type: str

invert_regex_inputOptional
invert_regex_input: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

project_id_inputOptional
project_id_input: str
  • Type: str

repo_name_inputOptional
repo_name_input: str
  • Type: str

tag_name_inputOptional
tag_name_input: str
  • Type: str

branch_nameRequired
branch_name: str
  • Type: str

commit_shaRequired
commit_sha: str
  • Type: str

dirRequired
dir: str
  • Type: str

invert_regexRequired
invert_regex: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

project_idRequired
project_id: str
  • Type: str

repo_nameRequired
repo_name: str
  • Type: str

tag_nameRequired
tag_name: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfigSourceRepoSource

Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_bucket No description.
reset_generation No description.
reset_object No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_bucket
def reset_bucket() -> None
reset_generation
def reset_generation() -> None
reset_object
def reset_object() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
bucket_input str No description.
generation_input typing.Union[int, float] No description.
object_input str No description.
bucket str No description.
generation typing.Union[int, float] No description.
object str No description.
internal_value Cloudfunctions2FunctionBuildConfigSourceStorageSource No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

bucket_inputOptional
bucket_input: str
  • Type: str

generation_inputOptional
generation_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

object_inputOptional
object_input: str
  • Type: str

bucketRequired
bucket: str
  • Type: str

generationRequired
generation: typing.Union[int, float]
  • Type: typing.Union[int, float]

objectRequired
object: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionBuildConfigSourceStorageSource

Cloudfunctions2FunctionEventTriggerEventFiltersList

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFiltersList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
all_with_map_key Creating an iterator for this complex list.
compute_fqn No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
get No description.

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]

Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_operator No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_operator
def reset_operator() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
attribute_input str No description.
operator_input str No description.
value_input str No description.
attribute str No description.
operator str No description.
value str No description.
internal_value typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionEventTriggerEventFilters] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

attribute_inputOptional
attribute_input: str
  • Type: str

operator_inputOptional
operator_input: str
  • Type: str

value_inputOptional
value_input: str
  • Type: str

attributeRequired
attribute: str
  • Type: str

operatorRequired
operator: str
  • Type: str

valueRequired
value: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionEventTriggerEventFilters]

Cloudfunctions2FunctionEventTriggerOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_event_filters No description.
reset_event_filters No description.
reset_event_type No description.
reset_pubsub_topic No description.
reset_retry_policy No description.
reset_service_account_email No description.
reset_trigger_region No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_event_filters
def put_event_filters(
  value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
) -> None
valueRequired

reset_event_filters
def reset_event_filters() -> None
reset_event_type
def reset_event_type() -> None
reset_pubsub_topic
def reset_pubsub_topic() -> None
reset_retry_policy
def reset_retry_policy() -> None
reset_service_account_email
def reset_service_account_email() -> None
reset_trigger_region
def reset_trigger_region() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
event_filters Cloudfunctions2FunctionEventTriggerEventFiltersList No description.
trigger str No description.
event_filters_input typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]] No description.
event_type_input str No description.
pubsub_topic_input str No description.
retry_policy_input str No description.
service_account_email_input str No description.
trigger_region_input str No description.
event_type str No description.
pubsub_topic str No description.
retry_policy str No description.
service_account_email str No description.
trigger_region str No description.
internal_value Cloudfunctions2FunctionEventTrigger No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

event_filtersRequired
event_filters: Cloudfunctions2FunctionEventTriggerEventFiltersList

triggerRequired
trigger: str
  • Type: str

event_filters_inputOptional
event_filters_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]

event_type_inputOptional
event_type_input: str
  • Type: str

pubsub_topic_inputOptional
pubsub_topic_input: str
  • Type: str

retry_policy_inputOptional
retry_policy_input: str
  • Type: str

service_account_email_inputOptional
service_account_email_input: str
  • Type: str

trigger_region_inputOptional
trigger_region_input: str
  • Type: str

event_typeRequired
event_type: str
  • Type: str

pubsub_topicRequired
pubsub_topic: str
  • Type: str

retry_policyRequired
retry_policy: str
  • Type: str

service_account_emailRequired
service_account_email: str
  • Type: str

trigger_regionRequired
trigger_region: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionEventTrigger

Cloudfunctions2FunctionServiceConfigOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_secret_environment_variables No description.
put_secret_volumes No description.
reset_all_traffic_on_latest_revision No description.
reset_available_cpu No description.
reset_available_memory No description.
reset_binary_authorization_policy No description.
reset_environment_variables No description.
reset_ingress_settings No description.
reset_max_instance_count No description.
reset_max_instance_request_concurrency No description.
reset_min_instance_count No description.
reset_secret_environment_variables No description.
reset_secret_volumes No description.
reset_service No description.
reset_service_account_email No description.
reset_timeout_seconds No description.
reset_vpc_connector No description.
reset_vpc_connector_egress_settings No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_secret_environment_variables
def put_secret_environment_variables(
  value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
) -> None
valueRequired

put_secret_volumes
def put_secret_volumes(
  value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
) -> None
valueRequired

reset_all_traffic_on_latest_revision
def reset_all_traffic_on_latest_revision() -> None
reset_available_cpu
def reset_available_cpu() -> None
reset_available_memory
def reset_available_memory() -> None
reset_binary_authorization_policy
def reset_binary_authorization_policy() -> None
reset_environment_variables
def reset_environment_variables() -> None
reset_ingress_settings
def reset_ingress_settings() -> None
reset_max_instance_count
def reset_max_instance_count() -> None
reset_max_instance_request_concurrency
def reset_max_instance_request_concurrency() -> None
reset_min_instance_count
def reset_min_instance_count() -> None
reset_secret_environment_variables
def reset_secret_environment_variables() -> None
reset_secret_volumes
def reset_secret_volumes() -> None
reset_service
def reset_service() -> None
reset_service_account_email
def reset_service_account_email() -> None
reset_timeout_seconds
def reset_timeout_seconds() -> None
reset_vpc_connector
def reset_vpc_connector() -> None
reset_vpc_connector_egress_settings
def reset_vpc_connector_egress_settings() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
gcf_uri str No description.
secret_environment_variables Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList No description.
secret_volumes Cloudfunctions2FunctionServiceConfigSecretVolumesList No description.
uri str No description.
all_traffic_on_latest_revision_input typing.Union[bool, cdktf.IResolvable] No description.
available_cpu_input str No description.
available_memory_input str No description.
binary_authorization_policy_input str No description.
environment_variables_input typing.Mapping[str] No description.
ingress_settings_input str No description.
max_instance_count_input typing.Union[int, float] No description.
max_instance_request_concurrency_input typing.Union[int, float] No description.
min_instance_count_input typing.Union[int, float] No description.
secret_environment_variables_input typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]] No description.
secret_volumes_input typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]] No description.
service_account_email_input str No description.
service_input str No description.
timeout_seconds_input typing.Union[int, float] No description.
vpc_connector_egress_settings_input str No description.
vpc_connector_input str No description.
all_traffic_on_latest_revision typing.Union[bool, cdktf.IResolvable] No description.
available_cpu str No description.
available_memory str No description.
binary_authorization_policy str No description.
environment_variables typing.Mapping[str] No description.
ingress_settings str No description.
max_instance_count typing.Union[int, float] No description.
max_instance_request_concurrency typing.Union[int, float] No description.
min_instance_count typing.Union[int, float] No description.
service str No description.
service_account_email str No description.
timeout_seconds typing.Union[int, float] No description.
vpc_connector str No description.
vpc_connector_egress_settings str No description.
internal_value Cloudfunctions2FunctionServiceConfig No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

gcf_uriRequired
gcf_uri: str
  • Type: str

secret_environment_variablesRequired
secret_environment_variables: Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

secret_volumesRequired
secret_volumes: Cloudfunctions2FunctionServiceConfigSecretVolumesList

uriRequired
uri: str
  • Type: str

all_traffic_on_latest_revision_inputOptional
all_traffic_on_latest_revision_input: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

available_cpu_inputOptional
available_cpu_input: str
  • Type: str

available_memory_inputOptional
available_memory_input: str
  • Type: str

binary_authorization_policy_inputOptional
binary_authorization_policy_input: str
  • Type: str

environment_variables_inputOptional
environment_variables_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

ingress_settings_inputOptional
ingress_settings_input: str
  • Type: str

max_instance_count_inputOptional
max_instance_count_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

max_instance_request_concurrency_inputOptional
max_instance_request_concurrency_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

min_instance_count_inputOptional
min_instance_count_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

secret_environment_variables_inputOptional
secret_environment_variables_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]

secret_volumes_inputOptional
secret_volumes_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]

service_account_email_inputOptional
service_account_email_input: str
  • Type: str

service_inputOptional
service_input: str
  • Type: str

timeout_seconds_inputOptional
timeout_seconds_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

vpc_connector_egress_settings_inputOptional
vpc_connector_egress_settings_input: str
  • Type: str

vpc_connector_inputOptional
vpc_connector_input: str
  • Type: str

all_traffic_on_latest_revisionRequired
all_traffic_on_latest_revision: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, cdktf.IResolvable]

available_cpuRequired
available_cpu: str
  • Type: str

available_memoryRequired
available_memory: str
  • Type: str

binary_authorization_policyRequired
binary_authorization_policy: str
  • Type: str

environment_variablesRequired
environment_variables: typing.Mapping[str]
  • Type: typing.Mapping[str]

ingress_settingsRequired
ingress_settings: str
  • Type: str

max_instance_countRequired
max_instance_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

max_instance_request_concurrencyRequired
max_instance_request_concurrency: typing.Union[int, float]
  • Type: typing.Union[int, float]

min_instance_countRequired
min_instance_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

serviceRequired
service: str
  • Type: str

service_account_emailRequired
service_account_email: str
  • Type: str

timeout_secondsRequired
timeout_seconds: typing.Union[int, float]
  • Type: typing.Union[int, float]

vpc_connectorRequired
vpc_connector: str
  • Type: str

vpc_connector_egress_settingsRequired
vpc_connector_egress_settings: str
  • Type: str

internal_valueOptional
internal_value: Cloudfunctions2FunctionServiceConfig

Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
all_with_map_key Creating an iterator for this complex list.
compute_fqn No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
get No description.

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]

Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
key_input str No description.
project_id_input str No description.
secret_input str No description.
version_input str No description.
key str No description.
project_id str No description.
secret str No description.
version str No description.
internal_value typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

key_inputOptional
key_input: str
  • Type: str

project_id_inputOptional
project_id_input: str
  • Type: str

secret_inputOptional
secret_input: str
  • Type: str

version_inputOptional
version_input: str
  • Type: str

keyRequired
key: str
  • Type: str

project_idRequired
project_id: str
  • Type: str

secretRequired
secret: str
  • Type: str

versionRequired
version: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]

Cloudfunctions2FunctionServiceConfigSecretVolumesList

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
all_with_map_key Creating an iterator for this complex list.
compute_fqn No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
get No description.

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]

Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_versions No description.
reset_versions No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_versions
def put_versions(
  value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
) -> None
valueRequired

reset_versions
def reset_versions() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
versions Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList No description.
mount_path_input str No description.
project_id_input str No description.
secret_input str No description.
versions_input typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]] No description.
mount_path str No description.
project_id str No description.
secret str No description.
internal_value typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumes] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

versionsRequired
versions: Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

mount_path_inputOptional
mount_path_input: str
  • Type: str

project_id_inputOptional
project_id_input: str
  • Type: str

secret_inputOptional
secret_input: str
  • Type: str

versions_inputOptional
versions_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]

mount_pathRequired
mount_path: str
  • Type: str

project_idRequired
project_id: str
  • Type: str

secretRequired
secret: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumes]

Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
all_with_map_key Creating an iterator for this complex list.
compute_fqn No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
get No description.

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]

Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
path_input str No description.
version_input str No description.
path str No description.
version str No description.
internal_value typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumesVersions] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

path_inputOptional
path_input: str
  • Type: str

version_inputOptional
version_input: str
  • Type: str

pathRequired
path: str
  • Type: str

versionRequired
version: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]

Cloudfunctions2FunctionTimeoutsOutputReference

Initializers

from cdktf_cdktf_provider_google import cloudfunctions2_function

cloudfunctions2Function.Cloudfunctions2FunctionTimeoutsOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_create No description.
reset_delete No description.
reset_update No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_create
def reset_create() -> None
reset_delete
def reset_delete() -> None
reset_update
def reset_update() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
create_input str No description.
delete_input str No description.
update_input str No description.
create str No description.
delete str No description.
update str No description.
internal_value typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionTimeouts] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
fqn: str
  • Type: str

create_inputOptional
create_input: str
  • Type: str

delete_inputOptional
delete_input: str
  • Type: str

update_inputOptional
update_input: str
  • Type: str

createRequired
create: str
  • Type: str

deleteRequired
delete: str
  • Type: str

updateRequired
update: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionTimeouts]