Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function google_cloudfunctions2_function}.
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. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- 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}
- 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_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}
- 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_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}
- 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.
- 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}
- 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}
- 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_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}
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#timeouts Cloudfunctions2Function#timeouts}
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. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
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.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
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.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
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.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- 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.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
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_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}
- 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}
- 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}
- 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_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}
- 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}
- 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}
source block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#source Cloudfunctions2Function#source}
- 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}
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
- Type: typing.Union[cdktf.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}
- 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}
- 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}
- 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}
- 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}
- 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}
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
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- Type: typing.Union[cdktf.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}
- Type: typing.Union[cdktf.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}
- 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}
- 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}
- 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}
- 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}
- 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}
def put_timeouts(
create: str = None,
delete: str = None,
update: str = None
) -> None
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#create Cloudfunctions2Function#create}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#delete Cloudfunctions2Function#delete}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/cloudfunctions2_function#update Cloudfunctions2Function#update}.
def reset_build_config() -> None
def reset_description() -> None
def reset_event_trigger() -> None
def reset_id() -> None
def reset_kms_key_name() -> None
def reset_labels() -> None
def reset_project() -> None
def reset_service_config() -> None
def reset_timeouts() -> None
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 ". |
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.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2Function.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2Function.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
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 ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the Cloudfunctions2Function to import.
- 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
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the Cloudfunctions2Function to import is found.
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. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
build_config: Cloudfunctions2FunctionBuildConfigOutputReference
effective_labels: StringMap
- Type: cdktf.StringMap
environment: str
- Type: str
event_trigger: Cloudfunctions2FunctionEventTriggerOutputReference
service_config: Cloudfunctions2FunctionServiceConfigOutputReference
state: str
- Type: str
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: Cloudfunctions2FunctionTimeoutsOutputReference
update_time: str
- Type: str
url: str
- Type: str
build_config_input: Cloudfunctions2FunctionBuildConfig
description_input: str
- Type: str
event_trigger_input: Cloudfunctions2FunctionEventTrigger
id_input: str
- Type: str
kms_key_name_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
location_input: str
- Type: str
name_input: str
- Type: str
project_input: str
- Type: str
service_config_input: Cloudfunctions2FunctionServiceConfig
timeouts_input: typing.Union[IResolvable, Cloudfunctions2FunctionTimeouts]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionTimeouts]
description: str
- Type: str
id: str
- Type: str
kms_key_name: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
location: str
- Type: str
name: str
- Type: str
project: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
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
)
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_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_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_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_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_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}
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_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}
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_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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy()
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy()
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSource(
repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSource = None,
storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSource = None
)
Name | Type | Description |
---|---|---|
repo_source |
Cloudfunctions2FunctionBuildConfigSourceRepoSource |
repo_source block. |
storage_source |
Cloudfunctions2FunctionBuildConfigSourceStorageSource |
storage_source block. |
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_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}
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
)
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_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_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}
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_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_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_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_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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionBuildConfigSourceStorageSource(
bucket: str = None,
generation: typing.Union[int, float] = None,
object: str = None
)
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. |
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}
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}
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}
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
)
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. |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
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}
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_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}
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_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}
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_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}
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}
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_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}
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}
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
)
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_filters: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
- Type: typing.Union[cdktf.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_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_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_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_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_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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionEventTriggerEventFilters(
attribute: str,
value: str,
operator: str = None
)
Name | Type | Description |
---|---|---|
attribute |
str |
'Required. |
value |
str |
Required. |
operator |
str |
Optional. |
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}
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}
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}
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
)
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_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_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_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_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_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_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_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_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_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_variables: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
- Type: typing.Union[cdktf.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_volumes: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
- Type: typing.Union[cdktf.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}
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_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_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_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_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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables(
key: str,
project_id: str,
secret: str,
version: str
)
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'). |
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_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}
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}
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}
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
)
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_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_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}
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}
versions: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
- Type: typing.Union[cdktf.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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersions(
path: str,
version: str
)
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'). |
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}
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}
from cdktf_cdktf_provider_google import cloudfunctions2_function
cloudfunctions2Function.Cloudfunctions2FunctionTimeouts(
create: str = None,
delete: str = None,
update: str = None
)
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}. |
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}.
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}.
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}.
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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_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.
fqn: str
- Type: str
internal_value: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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_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.
fqn: str
- Type: str
runtime_version: str
- Type: str
internal_value: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_automatic_update_policy() -> None
def put_on_deploy_update_policy() -> None
def put_source(
repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSource = None,
storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSource = None
) -> None
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_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}
def reset_automatic_update_policy() -> None
def reset_docker_repository() -> None
def reset_entry_point() -> None
def reset_environment_variables() -> None
def reset_on_deploy_update_policy() -> None
def reset_runtime() -> None
def reset_service_account() -> None
def reset_source() -> None
def reset_worker_pool() -> None
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.
fqn: str
- Type: str
automatic_update_policy: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference
build_attribute: str
- Type: str
on_deploy_update_policy: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference
source: Cloudfunctions2FunctionBuildConfigSourceOutputReference
automatic_update_policy_input: Cloudfunctions2FunctionBuildConfigAutomaticUpdatePolicy
docker_repository_input: str
- Type: str
entry_point_input: str
- Type: str
environment_variables_input: typing.Mapping[str]
- Type: typing.Mapping[str]
on_deploy_update_policy_input: Cloudfunctions2FunctionBuildConfigOnDeployUpdatePolicy
runtime_input: str
- Type: str
service_account_input: str
- Type: str
source_input: Cloudfunctions2FunctionBuildConfigSource
worker_pool_input: str
- Type: str
docker_repository: str
- Type: str
entry_point: str
- Type: str
environment_variables: typing.Mapping[str]
- Type: typing.Mapping[str]
runtime: str
- Type: str
service_account: str
- Type: str
worker_pool: str
- Type: str
internal_value: Cloudfunctions2FunctionBuildConfig
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
def put_storage_source(
bucket: str = None,
generation: typing.Union[int, float] = None,
object: str = None
) -> None
- 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}
- 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}
- 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}
def reset_repo_source() -> None
def reset_storage_source() -> None
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_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.
fqn: str
- Type: str
repo_source: Cloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference
storage_source: Cloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference
repo_source_input: Cloudfunctions2FunctionBuildConfigSourceRepoSource
storage_source_input: Cloudfunctions2FunctionBuildConfigSourceStorageSource
internal_value: Cloudfunctions2FunctionBuildConfigSource
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_branch_name() -> None
def reset_commit_sha() -> None
def reset_dir() -> None
def reset_invert_regex() -> None
def reset_project_id() -> None
def reset_repo_name() -> None
def reset_tag_name() -> None
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_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.
fqn: str
- Type: str
branch_name_input: str
- Type: str
commit_sha_input: str
- Type: str
dir_input: str
- Type: str
invert_regex_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
project_id_input: str
- Type: str
repo_name_input: str
- Type: str
tag_name_input: str
- Type: str
branch_name: str
- Type: str
commit_sha: str
- Type: str
dir: str
- Type: str
invert_regex: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
project_id: str
- Type: str
repo_name: str
- Type: str
tag_name: str
- Type: str
internal_value: Cloudfunctions2FunctionBuildConfigSourceRepoSource
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_bucket() -> None
def reset_generation() -> None
def reset_object() -> None
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_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.
fqn: str
- Type: str
bucket_input: str
- Type: str
generation_input: typing.Union[int, float]
- Type: typing.Union[int, float]
object_input: str
- Type: str
bucket: str
- Type: str
generation: typing.Union[int, float]
- Type: typing.Union[int, float]
object: str
- Type: str
internal_value: Cloudfunctions2FunctionBuildConfigSourceStorageSource
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> Cloudfunctions2FunctionEventTriggerEventFiltersOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_operator() -> None
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_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.
fqn: str
- Type: str
attribute_input: str
- Type: str
operator_input: str
- Type: str
value_input: str
- Type: str
attribute: str
- Type: str
operator: str
- Type: str
value: str
- Type: str
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionEventTriggerEventFilters]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionEventTriggerEventFilters]
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_event_filters(
value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
def reset_event_filters() -> None
def reset_event_type() -> None
def reset_pubsub_topic() -> None
def reset_retry_policy() -> None
def reset_service_account_email() -> None
def reset_trigger_region() -> None
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_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.
fqn: str
- Type: str
event_filters: Cloudfunctions2FunctionEventTriggerEventFiltersList
trigger: str
- Type: str
event_filters_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionEventTriggerEventFilters]]
event_type_input: str
- Type: str
pubsub_topic_input: str
- Type: str
retry_policy_input: str
- Type: str
service_account_email_input: str
- Type: str
trigger_region_input: str
- Type: str
event_type: str
- Type: str
pubsub_topic: str
- Type: str
retry_policy: str
- Type: str
service_account_email: str
- Type: str
trigger_region: str
- Type: str
internal_value: Cloudfunctions2FunctionEventTrigger
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_secret_environment_variables(
value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
def put_secret_volumes(
value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
def reset_all_traffic_on_latest_revision() -> None
def reset_available_cpu() -> None
def reset_available_memory() -> None
def reset_binary_authorization_policy() -> None
def reset_environment_variables() -> None
def reset_ingress_settings() -> None
def reset_max_instance_count() -> None
def reset_max_instance_request_concurrency() -> None
def reset_min_instance_count() -> None
def reset_secret_environment_variables() -> None
def reset_secret_volumes() -> None
def reset_service() -> None
def reset_service_account_email() -> None
def reset_timeout_seconds() -> None
def reset_vpc_connector() -> None
def reset_vpc_connector_egress_settings() -> None
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_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.
fqn: str
- Type: str
gcf_uri: str
- Type: str
secret_environment_variables: Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList
secret_volumes: Cloudfunctions2FunctionServiceConfigSecretVolumesList
uri: str
- Type: str
all_traffic_on_latest_revision_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
available_cpu_input: str
- Type: str
available_memory_input: str
- Type: str
binary_authorization_policy_input: str
- Type: str
environment_variables_input: typing.Mapping[str]
- Type: typing.Mapping[str]
ingress_settings_input: str
- Type: str
max_instance_count_input: typing.Union[int, float]
- Type: typing.Union[int, float]
max_instance_request_concurrency_input: typing.Union[int, float]
- Type: typing.Union[int, float]
min_instance_count_input: typing.Union[int, float]
- Type: typing.Union[int, float]
secret_environment_variables_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
secret_volumes_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
service_account_email_input: str
- Type: str
service_input: str
- Type: str
timeout_seconds_input: typing.Union[int, float]
- Type: typing.Union[int, float]
vpc_connector_egress_settings_input: str
- Type: str
vpc_connector_input: str
- Type: str
all_traffic_on_latest_revision: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
available_cpu: str
- Type: str
available_memory: str
- Type: str
binary_authorization_policy: str
- Type: str
environment_variables: typing.Mapping[str]
- Type: typing.Mapping[str]
ingress_settings: str
- Type: str
max_instance_count: typing.Union[int, float]
- Type: typing.Union[int, float]
max_instance_request_concurrency: typing.Union[int, float]
- Type: typing.Union[int, float]
min_instance_count: typing.Union[int, float]
- Type: typing.Union[int, float]
service: str
- Type: str
service_account_email: str
- Type: str
timeout_seconds: typing.Union[int, float]
- Type: typing.Union[int, float]
vpc_connector: str
- Type: str
vpc_connector_egress_settings: str
- Type: str
internal_value: Cloudfunctions2FunctionServiceConfig
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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_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.
fqn: str
- Type: str
key_input: str
- Type: str
project_id_input: str
- Type: str
secret_input: str
- Type: str
version_input: str
- Type: str
key: str
- Type: str
project_id: str
- Type: str
secret: str
- Type: str
version: str
- Type: str
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretEnvironmentVariables]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretVolumesOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumes]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_versions(
value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
def reset_versions() -> None
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_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.
fqn: str
- Type: str
versions: Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsList
mount_path_input: str
- Type: str
project_id_input: str
- Type: str
secret_input: str
- Type: str
versions_input: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
mount_path: str
- Type: str
project_id: str
- Type: str
secret: str
- Type: str
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumes]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumes]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
- Type: typing.Union[cdktf.IResolvable, typing.List[Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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_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.
fqn: str
- Type: str
path_input: str
- Type: str
version_input: str
- Type: str
path: str
- Type: str
version: str
- Type: str
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionServiceConfigSecretVolumesVersions]
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_create() -> None
def reset_delete() -> None
def reset_update() -> None
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_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.
fqn: str
- Type: str
create_input: str
- Type: str
delete_input: str
- Type: str
update_input: str
- Type: str
create: str
- Type: str
delete: str
- Type: str
update: str
- Type: str
internal_value: typing.Union[IResolvable, Cloudfunctions2FunctionTimeouts]
- Type: typing.Union[cdktf.IResolvable, Cloudfunctions2FunctionTimeouts]