Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance google_redis_instance}.
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstance(
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,
memory_size_gb: typing.Union[int, float],
name: str,
alternative_location_id: str = None,
auth_enabled: typing.Union[bool, IResolvable] = None,
authorized_network: str = None,
connect_mode: str = None,
customer_managed_key: str = None,
display_name: str = None,
id: str = None,
labels: typing.Mapping[str] = None,
location_id: str = None,
maintenance_policy: RedisInstanceMaintenancePolicy = None,
maintenance_version: str = None,
persistence_config: RedisInstancePersistenceConfig = None,
project: str = None,
read_replicas_mode: str = None,
redis_configs: typing.Mapping[str] = None,
redis_version: str = None,
region: str = None,
replica_count: typing.Union[int, float] = None,
reserved_ip_range: str = None,
secondary_ip_range: str = None,
tags: typing.Mapping[str] = None,
tier: str = None,
timeouts: RedisInstanceTimeouts = None,
transit_encryption_mode: str = 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. |
memory_size_gb |
typing.Union[int, float] |
Redis memory size in GiB. |
name |
str |
The ID of the instance or a fully qualified identifier for the instance. |
alternative_location_id |
str |
Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. |
auth_enabled |
typing.Union[bool, cdktf.IResolvable] |
Optional. |
authorized_network |
str |
The full name of the Google Compute Engine network to which the instance is connected. |
connect_mode |
str |
The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]. |
customer_managed_key |
str |
Optional. |
display_name |
str |
An arbitrary and optional user-provided name for the instance. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#id RedisInstance#id}. |
labels |
typing.Mapping[str] |
Resource labels to represent user provided metadata. |
location_id |
str |
The zone where the instance will be provisioned. |
maintenance_policy |
RedisInstanceMaintenancePolicy |
maintenance_policy block. |
maintenance_version |
str |
The self service update maintenance version. |
persistence_config |
RedisInstancePersistenceConfig |
persistence_config block. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#project RedisInstance#project}. |
read_replicas_mode |
str |
Optional. |
redis_configs |
typing.Mapping[str] |
Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs. |
redis_version |
str |
The version of Redis software. |
region |
str |
The name of the Redis region of the instance. |
replica_count |
typing.Union[int, float] |
Optional. |
reserved_ip_range |
str |
The CIDR range of internal addresses that are reserved for this instance. |
secondary_ip_range |
str |
Optional. |
tags |
typing.Mapping[str] |
A map of resource manager tags. |
tier |
str |
The service tier of the instance. Must be one of these values:. |
timeouts |
RedisInstanceTimeouts |
timeouts block. |
transit_encryption_mode |
str |
The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. |
- 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: typing.Union[int, float]
Redis memory size in GiB.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#memory_size_gb RedisInstance#memory_size_gb}
- Type: str
The ID of the instance or a fully qualified identifier for the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#name RedisInstance#name}
- Type: str
Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones.
If provided, it must be a different zone from the one provided in [locationId].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#alternative_location_id RedisInstance#alternative_location_id}
- Type: typing.Union[bool, cdktf.IResolvable]
Optional.
Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#auth_enabled RedisInstance#auth_enabled}
- Type: str
The full name of the Google Compute Engine network to which the instance is connected.
If left unspecified, the default network will be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#authorized_network RedisInstance#authorized_network}
- Type: str
The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#connect_mode RedisInstance#connect_mode}
- Type: str
Optional.
The KMS key reference that you want to use to encrypt the data at rest for this Redis instance. If this is provided, CMEK is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#customer_managed_key RedisInstance#customer_managed_key}
- Type: str
An arbitrary and optional user-provided name for the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#display_name RedisInstance#display_name}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#id RedisInstance#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: typing.Mapping[str]
Resource labels to represent user provided metadata.
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.34.0/docs/resources/redis_instance#labels RedisInstance#labels}
- Type: str
The zone where the instance will be provisioned.
If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternativeLocationId] is also provided, it must be different from [locationId].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#location_id RedisInstance#location_id}
maintenance_policy block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#maintenance_policy RedisInstance#maintenance_policy}
- Type: str
The self service update maintenance version.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#maintenance_version RedisInstance#maintenance_version}
persistence_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#persistence_config RedisInstance#persistence_config}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#project RedisInstance#project}.
- Type: str
Optional.
Read replica mode. Can only be specified when trying to create the instance. If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Possible values: ["READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#read_replicas_mode RedisInstance#read_replicas_mode}
- Type: typing.Mapping[str]
Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#redis_configs RedisInstance#redis_configs}
- Type: str
The version of Redis software.
If not provided, latest supported version will be used. Please check the API documentation linked at the top for the latest valid values.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#redis_version RedisInstance#redis_version}
- Type: str
The name of the Redis region of the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#region RedisInstance#region}
- Type: typing.Union[int, float]
Optional.
The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#replica_count RedisInstance#replica_count}
- Type: str
The CIDR range of internal addresses that are reserved for this instance.
If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#reserved_ip_range RedisInstance#reserved_ip_range}
- Type: str
Optional.
Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#secondary_ip_range RedisInstance#secondary_ip_range}
- Type: typing.Mapping[str]
A map of resource manager tags.
Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#tags RedisInstance#tags}
- Type: str
The service tier of the instance. Must be one of these values:.
- BASIC: standalone instance
- STANDARD_HA: highly available primary/replica instances Default value: "BASIC" Possible values: ["BASIC", "STANDARD_HA"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#tier RedisInstance#tier}
- Type: RedisInstanceTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#timeouts RedisInstance#timeouts}
- Type: str
The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
- SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication Default value: "DISABLED" Possible values: ["SERVER_AUTHENTICATION", "DISABLED"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#transit_encryption_mode RedisInstance#transit_encryption_mode}
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_maintenance_policy |
No description. |
put_persistence_config |
No description. |
put_timeouts |
No description. |
reset_alternative_location_id |
No description. |
reset_auth_enabled |
No description. |
reset_authorized_network |
No description. |
reset_connect_mode |
No description. |
reset_customer_managed_key |
No description. |
reset_display_name |
No description. |
reset_id |
No description. |
reset_labels |
No description. |
reset_location_id |
No description. |
reset_maintenance_policy |
No description. |
reset_maintenance_version |
No description. |
reset_persistence_config |
No description. |
reset_project |
No description. |
reset_read_replicas_mode |
No description. |
reset_redis_configs |
No description. |
reset_redis_version |
No description. |
reset_region |
No description. |
reset_replica_count |
No description. |
reset_reserved_ip_range |
No description. |
reset_secondary_ip_range |
No description. |
reset_tags |
No description. |
reset_tier |
No description. |
reset_timeouts |
No description. |
reset_transit_encryption_mode |
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_maintenance_policy(
description: str = None,
weekly_maintenance_window: typing.Union[IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]] = None
) -> None
- Type: str
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#description RedisInstance#description}
- Type: typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
weekly_maintenance_window block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#weekly_maintenance_window RedisInstance#weekly_maintenance_window}
def put_persistence_config(
persistence_mode: str = None,
rdb_snapshot_period: str = None,
rdb_snapshot_start_time: str = None
) -> None
- Type: str
Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#persistence_mode RedisInstance#persistence_mode}
- Type: str
Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#rdb_snapshot_period RedisInstance#rdb_snapshot_period}
- Type: str
Optional.
Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#rdb_snapshot_start_time RedisInstance#rdb_snapshot_start_time}
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.34.0/docs/resources/redis_instance#create RedisInstance#create}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#delete RedisInstance#delete}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#update RedisInstance#update}.
def reset_alternative_location_id() -> None
def reset_auth_enabled() -> None
def reset_authorized_network() -> None
def reset_connect_mode() -> None
def reset_customer_managed_key() -> None
def reset_display_name() -> None
def reset_id() -> None
def reset_labels() -> None
def reset_location_id() -> None
def reset_maintenance_policy() -> None
def reset_maintenance_version() -> None
def reset_persistence_config() -> None
def reset_project() -> None
def reset_read_replicas_mode() -> None
def reset_redis_configs() -> None
def reset_redis_version() -> None
def reset_region() -> None
def reset_replica_count() -> None
def reset_reserved_ip_range() -> None
def reset_secondary_ip_range() -> None
def reset_tags() -> None
def reset_tier() -> None
def reset_timeouts() -> None
def reset_transit_encryption_mode() -> 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 RedisInstance resource upon running "cdktf plan ". |
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstance.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 redis_instance
redisInstance.RedisInstance.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstance.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstance.generate_config_for_import(
scope: Construct,
import_to_id: str,
import_from_id: str,
provider: TerraformProvider = None
)
Generates CDKTF code for importing a RedisInstance 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 RedisInstance to import.
- Type: str
The id of the existing RedisInstance that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the RedisInstance 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. |
auth_string |
str |
No description. |
create_time |
str |
No description. |
current_location_id |
str |
No description. |
effective_labels |
cdktf.StringMap |
No description. |
host |
str |
No description. |
maintenance_policy |
RedisInstanceMaintenancePolicyOutputReference |
No description. |
maintenance_schedule |
RedisInstanceMaintenanceScheduleList |
No description. |
nodes |
RedisInstanceNodesList |
No description. |
persistence_config |
RedisInstancePersistenceConfigOutputReference |
No description. |
persistence_iam_identity |
str |
No description. |
port |
typing.Union[int, float] |
No description. |
read_endpoint |
str |
No description. |
read_endpoint_port |
typing.Union[int, float] |
No description. |
server_ca_certs |
RedisInstanceServerCaCertsList |
No description. |
terraform_labels |
cdktf.StringMap |
No description. |
timeouts |
RedisInstanceTimeoutsOutputReference |
No description. |
alternative_location_id_input |
str |
No description. |
auth_enabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
authorized_network_input |
str |
No description. |
connect_mode_input |
str |
No description. |
customer_managed_key_input |
str |
No description. |
display_name_input |
str |
No description. |
id_input |
str |
No description. |
labels_input |
typing.Mapping[str] |
No description. |
location_id_input |
str |
No description. |
maintenance_policy_input |
RedisInstanceMaintenancePolicy |
No description. |
maintenance_version_input |
str |
No description. |
memory_size_gb_input |
typing.Union[int, float] |
No description. |
name_input |
str |
No description. |
persistence_config_input |
RedisInstancePersistenceConfig |
No description. |
project_input |
str |
No description. |
read_replicas_mode_input |
str |
No description. |
redis_configs_input |
typing.Mapping[str] |
No description. |
redis_version_input |
str |
No description. |
region_input |
str |
No description. |
replica_count_input |
typing.Union[int, float] |
No description. |
reserved_ip_range_input |
str |
No description. |
secondary_ip_range_input |
str |
No description. |
tags_input |
typing.Mapping[str] |
No description. |
tier_input |
str |
No description. |
timeouts_input |
typing.Union[cdktf.IResolvable, RedisInstanceTimeouts] |
No description. |
transit_encryption_mode_input |
str |
No description. |
alternative_location_id |
str |
No description. |
auth_enabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
authorized_network |
str |
No description. |
connect_mode |
str |
No description. |
customer_managed_key |
str |
No description. |
display_name |
str |
No description. |
id |
str |
No description. |
labels |
typing.Mapping[str] |
No description. |
location_id |
str |
No description. |
maintenance_version |
str |
No description. |
memory_size_gb |
typing.Union[int, float] |
No description. |
name |
str |
No description. |
project |
str |
No description. |
read_replicas_mode |
str |
No description. |
redis_configs |
typing.Mapping[str] |
No description. |
redis_version |
str |
No description. |
region |
str |
No description. |
replica_count |
typing.Union[int, float] |
No description. |
reserved_ip_range |
str |
No description. |
secondary_ip_range |
str |
No description. |
tags |
typing.Mapping[str] |
No description. |
tier |
str |
No description. |
transit_encryption_mode |
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]]
auth_string: str
- Type: str
create_time: str
- Type: str
current_location_id: str
- Type: str
effective_labels: StringMap
- Type: cdktf.StringMap
host: str
- Type: str
maintenance_policy: RedisInstanceMaintenancePolicyOutputReference
maintenance_schedule: RedisInstanceMaintenanceScheduleList
nodes: RedisInstanceNodesList
- Type: RedisInstanceNodesList
persistence_config: RedisInstancePersistenceConfigOutputReference
persistence_iam_identity: str
- Type: str
port: typing.Union[int, float]
- Type: typing.Union[int, float]
read_endpoint: str
- Type: str
read_endpoint_port: typing.Union[int, float]
- Type: typing.Union[int, float]
server_ca_certs: RedisInstanceServerCaCertsList
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: RedisInstanceTimeoutsOutputReference
alternative_location_id_input: str
- Type: str
auth_enabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
authorized_network_input: str
- Type: str
connect_mode_input: str
- Type: str
customer_managed_key_input: str
- Type: str
display_name_input: str
- Type: str
id_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
location_id_input: str
- Type: str
maintenance_policy_input: RedisInstanceMaintenancePolicy
maintenance_version_input: str
- Type: str
memory_size_gb_input: typing.Union[int, float]
- Type: typing.Union[int, float]
name_input: str
- Type: str
persistence_config_input: RedisInstancePersistenceConfig
project_input: str
- Type: str
read_replicas_mode_input: str
- Type: str
redis_configs_input: typing.Mapping[str]
- Type: typing.Mapping[str]
redis_version_input: str
- Type: str
region_input: str
- Type: str
replica_count_input: typing.Union[int, float]
- Type: typing.Union[int, float]
reserved_ip_range_input: str
- Type: str
secondary_ip_range_input: str
- Type: str
tags_input: typing.Mapping[str]
- Type: typing.Mapping[str]
tier_input: str
- Type: str
timeouts_input: typing.Union[IResolvable, RedisInstanceTimeouts]
- Type: typing.Union[cdktf.IResolvable, RedisInstanceTimeouts]
transit_encryption_mode_input: str
- Type: str
alternative_location_id: str
- Type: str
auth_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
authorized_network: str
- Type: str
connect_mode: str
- Type: str
customer_managed_key: str
- Type: str
display_name: str
- Type: str
id: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
location_id: str
- Type: str
maintenance_version: str
- Type: str
memory_size_gb: typing.Union[int, float]
- Type: typing.Union[int, float]
name: str
- Type: str
project: str
- Type: str
read_replicas_mode: str
- Type: str
redis_configs: typing.Mapping[str]
- Type: typing.Mapping[str]
redis_version: str
- Type: str
region: str
- Type: str
replica_count: typing.Union[int, float]
- Type: typing.Union[int, float]
reserved_ip_range: str
- Type: str
secondary_ip_range: str
- Type: str
tags: typing.Mapping[str]
- Type: typing.Mapping[str]
tier: str
- Type: str
transit_encryption_mode: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceConfig(
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,
memory_size_gb: typing.Union[int, float],
name: str,
alternative_location_id: str = None,
auth_enabled: typing.Union[bool, IResolvable] = None,
authorized_network: str = None,
connect_mode: str = None,
customer_managed_key: str = None,
display_name: str = None,
id: str = None,
labels: typing.Mapping[str] = None,
location_id: str = None,
maintenance_policy: RedisInstanceMaintenancePolicy = None,
maintenance_version: str = None,
persistence_config: RedisInstancePersistenceConfig = None,
project: str = None,
read_replicas_mode: str = None,
redis_configs: typing.Mapping[str] = None,
redis_version: str = None,
region: str = None,
replica_count: typing.Union[int, float] = None,
reserved_ip_range: str = None,
secondary_ip_range: str = None,
tags: typing.Mapping[str] = None,
tier: str = None,
timeouts: RedisInstanceTimeouts = None,
transit_encryption_mode: str = 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. |
memory_size_gb |
typing.Union[int, float] |
Redis memory size in GiB. |
name |
str |
The ID of the instance or a fully qualified identifier for the instance. |
alternative_location_id |
str |
Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. |
auth_enabled |
typing.Union[bool, cdktf.IResolvable] |
Optional. |
authorized_network |
str |
The full name of the Google Compute Engine network to which the instance is connected. |
connect_mode |
str |
The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]. |
customer_managed_key |
str |
Optional. |
display_name |
str |
An arbitrary and optional user-provided name for the instance. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#id RedisInstance#id}. |
labels |
typing.Mapping[str] |
Resource labels to represent user provided metadata. |
location_id |
str |
The zone where the instance will be provisioned. |
maintenance_policy |
RedisInstanceMaintenancePolicy |
maintenance_policy block. |
maintenance_version |
str |
The self service update maintenance version. |
persistence_config |
RedisInstancePersistenceConfig |
persistence_config block. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#project RedisInstance#project}. |
read_replicas_mode |
str |
Optional. |
redis_configs |
typing.Mapping[str] |
Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs. |
redis_version |
str |
The version of Redis software. |
region |
str |
The name of the Redis region of the instance. |
replica_count |
typing.Union[int, float] |
Optional. |
reserved_ip_range |
str |
The CIDR range of internal addresses that are reserved for this instance. |
secondary_ip_range |
str |
Optional. |
tags |
typing.Mapping[str] |
A map of resource manager tags. |
tier |
str |
The service tier of the instance. Must be one of these values:. |
timeouts |
RedisInstanceTimeouts |
timeouts block. |
transit_encryption_mode |
str |
The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. |
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]]
memory_size_gb: typing.Union[int, float]
- Type: typing.Union[int, float]
Redis memory size in GiB.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#memory_size_gb RedisInstance#memory_size_gb}
name: str
- Type: str
The ID of the instance or a fully qualified identifier for the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#name RedisInstance#name}
alternative_location_id: str
- Type: str
Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones.
If provided, it must be a different zone from the one provided in [locationId].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#alternative_location_id RedisInstance#alternative_location_id}
auth_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Optional.
Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#auth_enabled RedisInstance#auth_enabled}
authorized_network: str
- Type: str
The full name of the Google Compute Engine network to which the instance is connected.
If left unspecified, the default network will be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#authorized_network RedisInstance#authorized_network}
connect_mode: str
- Type: str
The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#connect_mode RedisInstance#connect_mode}
customer_managed_key: str
- Type: str
Optional.
The KMS key reference that you want to use to encrypt the data at rest for this Redis instance. If this is provided, CMEK is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#customer_managed_key RedisInstance#customer_managed_key}
display_name: str
- Type: str
An arbitrary and optional user-provided name for the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#display_name RedisInstance#display_name}
id: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#id RedisInstance#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.
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
Resource labels to represent user provided metadata.
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.34.0/docs/resources/redis_instance#labels RedisInstance#labels}
location_id: str
- Type: str
The zone where the instance will be provisioned.
If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternativeLocationId] is also provided, it must be different from [locationId].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#location_id RedisInstance#location_id}
maintenance_policy: RedisInstanceMaintenancePolicy
maintenance_policy block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#maintenance_policy RedisInstance#maintenance_policy}
maintenance_version: str
- Type: str
The self service update maintenance version.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#maintenance_version RedisInstance#maintenance_version}
persistence_config: RedisInstancePersistenceConfig
persistence_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#persistence_config RedisInstance#persistence_config}
project: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#project RedisInstance#project}.
read_replicas_mode: str
- Type: str
Optional.
Read replica mode. Can only be specified when trying to create the instance. If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.
- READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.
- READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Possible values: ["READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#read_replicas_mode RedisInstance#read_replicas_mode}
redis_configs: typing.Mapping[str]
- Type: typing.Mapping[str]
Redis configuration parameters, according to http://redis.io/topics/config. Please check Memorystore documentation for the list of supported parameters: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#redis_configs RedisInstance#redis_configs}
redis_version: str
- Type: str
The version of Redis software.
If not provided, latest supported version will be used. Please check the API documentation linked at the top for the latest valid values.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#redis_version RedisInstance#redis_version}
region: str
- Type: str
The name of the Redis region of the instance.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#region RedisInstance#region}
replica_count: typing.Union[int, float]
- Type: typing.Union[int, float]
Optional.
The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#replica_count RedisInstance#replica_count}
reserved_ip_range: str
- Type: str
The CIDR range of internal addresses that are reserved for this instance.
If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in an authorized network.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#reserved_ip_range RedisInstance#reserved_ip_range}
secondary_ip_range: str
- Type: str
Optional.
Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#secondary_ip_range RedisInstance#secondary_ip_range}
tags: typing.Mapping[str]
- Type: typing.Mapping[str]
A map of resource manager tags.
Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#tags RedisInstance#tags}
tier: str
- Type: str
The service tier of the instance. Must be one of these values:.
- BASIC: standalone instance
- STANDARD_HA: highly available primary/replica instances Default value: "BASIC" Possible values: ["BASIC", "STANDARD_HA"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#tier RedisInstance#tier}
timeouts: RedisInstanceTimeouts
- Type: RedisInstanceTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#timeouts RedisInstance#timeouts}
transit_encryption_mode: str
- Type: str
The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.
- SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication Default value: "DISABLED" Possible values: ["SERVER_AUTHENTICATION", "DISABLED"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#transit_encryption_mode RedisInstance#transit_encryption_mode}
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicy(
description: str = None,
weekly_maintenance_window: typing.Union[IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]] = None
)
Name | Type | Description |
---|---|---|
description |
str |
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. |
weekly_maintenance_window |
typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]] |
weekly_maintenance_window block. |
description: str
- Type: str
Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#description RedisInstance#description}
weekly_maintenance_window: typing.Union[IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
- Type: typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
weekly_maintenance_window block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#weekly_maintenance_window RedisInstance#weekly_maintenance_window}
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow(
day: str,
start_time: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
)
Name | Type | Description |
---|---|---|
day |
str |
Required. The day of week that maintenance updates occur. |
start_time |
RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime |
start_time block. |
day: str
- Type: str
Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#day RedisInstance#day}
start_time: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
start_time block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#start_time RedisInstance#start_time}
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime(
hours: typing.Union[int, float] = None,
minutes: typing.Union[int, float] = None,
nanos: typing.Union[int, float] = None,
seconds: typing.Union[int, float] = None
)
Name | Type | Description |
---|---|---|
hours |
typing.Union[int, float] |
Hours of day in 24 hour format. |
minutes |
typing.Union[int, float] |
Minutes of hour of day. Must be from 0 to 59. |
nanos |
typing.Union[int, float] |
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. |
seconds |
typing.Union[int, float] |
Seconds of minutes of the time. |
hours: typing.Union[int, float]
- Type: typing.Union[int, float]
Hours of day in 24 hour format.
Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#hours RedisInstance#hours}
minutes: typing.Union[int, float]
- Type: typing.Union[int, float]
Minutes of hour of day. Must be from 0 to 59.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#minutes RedisInstance#minutes}
nanos: typing.Union[int, float]
- Type: typing.Union[int, float]
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#nanos RedisInstance#nanos}
seconds: typing.Union[int, float]
- Type: typing.Union[int, float]
Seconds of minutes of the time.
Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#seconds RedisInstance#seconds}
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenanceSchedule()
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceNodes()
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstancePersistenceConfig(
persistence_mode: str = None,
rdb_snapshot_period: str = None,
rdb_snapshot_start_time: str = None
)
Name | Type | Description |
---|---|---|
persistence_mode |
str |
Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. |
rdb_snapshot_period |
str |
Optional. Available snapshot periods for scheduling. |
rdb_snapshot_start_time |
str |
Optional. |
persistence_mode: str
- Type: str
Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#persistence_mode RedisInstance#persistence_mode}
rdb_snapshot_period: str
- Type: str
Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#rdb_snapshot_period RedisInstance#rdb_snapshot_period}
rdb_snapshot_start_time: str
- Type: str
Optional.
Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#rdb_snapshot_start_time RedisInstance#rdb_snapshot_start_time}
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceServerCaCerts()
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceTimeouts(
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.34.0/docs/resources/redis_instance#create RedisInstance#create}. |
delete |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#delete RedisInstance#delete}. |
update |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#update RedisInstance#update}. |
create: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#create RedisInstance#create}.
delete: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#delete RedisInstance#delete}.
update: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#update RedisInstance#update}.
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyOutputReference(
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_weekly_maintenance_window |
No description. |
reset_description |
No description. |
reset_weekly_maintenance_window |
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_weekly_maintenance_window(
value: typing.Union[IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
def reset_description() -> None
def reset_weekly_maintenance_window() -> 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_time |
str |
No description. |
update_time |
str |
No description. |
weekly_maintenance_window |
RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList |
No description. |
description_input |
str |
No description. |
weekly_maintenance_window_input |
typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]] |
No description. |
description |
str |
No description. |
internal_value |
RedisInstanceMaintenancePolicy |
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_time: str
- Type: str
update_time: str
- Type: str
weekly_maintenance_window: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList
description_input: str
- Type: str
weekly_maintenance_window_input: typing.Union[IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
- Type: typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
description: str
- Type: str
internal_value: RedisInstanceMaintenancePolicy
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowList(
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]
) -> RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference
- 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[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]] |
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[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
- Type: typing.Union[cdktf.IResolvable, typing.List[RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]]
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference(
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_start_time |
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_start_time(
hours: typing.Union[int, float] = None,
minutes: typing.Union[int, float] = None,
nanos: typing.Union[int, float] = None,
seconds: typing.Union[int, float] = None
) -> None
- Type: typing.Union[int, float]
Hours of day in 24 hour format.
Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#hours RedisInstance#hours}
- Type: typing.Union[int, float]
Minutes of hour of day. Must be from 0 to 59.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#minutes RedisInstance#minutes}
- Type: typing.Union[int, float]
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#nanos RedisInstance#nanos}
- Type: typing.Union[int, float]
Seconds of minutes of the time.
Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/redis_instance#seconds RedisInstance#seconds}
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. |
duration |
str |
No description. |
start_time |
RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference |
No description. |
day_input |
str |
No description. |
start_time_input |
RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime |
No description. |
day |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow] |
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
duration: str
- Type: str
start_time: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference
day_input: str
- Type: str
start_time_input: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
day: str
- Type: str
internal_value: typing.Union[IResolvable, RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]
- Type: typing.Union[cdktf.IResolvable, RedisInstanceMaintenancePolicyWeeklyMaintenanceWindow]
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference(
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_hours |
No description. |
reset_minutes |
No description. |
reset_nanos |
No description. |
reset_seconds |
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_hours() -> None
def reset_minutes() -> None
def reset_nanos() -> None
def reset_seconds() -> 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. |
hours_input |
typing.Union[int, float] |
No description. |
minutes_input |
typing.Union[int, float] |
No description. |
nanos_input |
typing.Union[int, float] |
No description. |
seconds_input |
typing.Union[int, float] |
No description. |
hours |
typing.Union[int, float] |
No description. |
minutes |
typing.Union[int, float] |
No description. |
nanos |
typing.Union[int, float] |
No description. |
seconds |
typing.Union[int, float] |
No description. |
internal_value |
RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime |
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
hours_input: typing.Union[int, float]
- Type: typing.Union[int, float]
minutes_input: typing.Union[int, float]
- Type: typing.Union[int, float]
nanos_input: typing.Union[int, float]
- Type: typing.Union[int, float]
seconds_input: typing.Union[int, float]
- Type: typing.Union[int, float]
hours: typing.Union[int, float]
- Type: typing.Union[int, float]
minutes: typing.Union[int, float]
- Type: typing.Union[int, float]
nanos: typing.Union[int, float]
- Type: typing.Union[int, float]
seconds: typing.Union[int, float]
- Type: typing.Union[int, float]
internal_value: RedisInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenanceScheduleList(
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]
) -> RedisInstanceMaintenanceScheduleOutputReference
- 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. |
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
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceMaintenanceScheduleOutputReference(
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. |
end_time |
str |
No description. |
schedule_deadline_time |
str |
No description. |
start_time |
str |
No description. |
internal_value |
RedisInstanceMaintenanceSchedule |
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
end_time: str
- Type: str
schedule_deadline_time: str
- Type: str
start_time: str
- Type: str
internal_value: RedisInstanceMaintenanceSchedule
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceNodesList(
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]
) -> RedisInstanceNodesOutputReference
- 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. |
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
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceNodesOutputReference(
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. |
id |
str |
No description. |
zone |
str |
No description. |
internal_value |
RedisInstanceNodes |
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
id: str
- Type: str
zone: str
- Type: str
internal_value: RedisInstanceNodes
- Type: RedisInstanceNodes
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstancePersistenceConfigOutputReference(
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_persistence_mode |
No description. |
reset_rdb_snapshot_period |
No description. |
reset_rdb_snapshot_start_time |
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_persistence_mode() -> None
def reset_rdb_snapshot_period() -> None
def reset_rdb_snapshot_start_time() -> 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. |
rdb_next_snapshot_time |
str |
No description. |
persistence_mode_input |
str |
No description. |
rdb_snapshot_period_input |
str |
No description. |
rdb_snapshot_start_time_input |
str |
No description. |
persistence_mode |
str |
No description. |
rdb_snapshot_period |
str |
No description. |
rdb_snapshot_start_time |
str |
No description. |
internal_value |
RedisInstancePersistenceConfig |
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
rdb_next_snapshot_time: str
- Type: str
persistence_mode_input: str
- Type: str
rdb_snapshot_period_input: str
- Type: str
rdb_snapshot_start_time_input: str
- Type: str
persistence_mode: str
- Type: str
rdb_snapshot_period: str
- Type: str
rdb_snapshot_start_time: str
- Type: str
internal_value: RedisInstancePersistenceConfig
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceServerCaCertsList(
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]
) -> RedisInstanceServerCaCertsOutputReference
- 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. |
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
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceServerCaCertsOutputReference(
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. |
cert |
str |
No description. |
create_time |
str |
No description. |
expire_time |
str |
No description. |
serial_number |
str |
No description. |
sha1_fingerprint |
str |
No description. |
internal_value |
RedisInstanceServerCaCerts |
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
cert: str
- Type: str
create_time: str
- Type: str
expire_time: str
- Type: str
serial_number: str
- Type: str
sha1_fingerprint: str
- Type: str
internal_value: RedisInstanceServerCaCerts
from cdktf_cdktf_provider_google import redis_instance
redisInstance.RedisInstanceTimeoutsOutputReference(
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, RedisInstanceTimeouts] |
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, RedisInstanceTimeouts]
- Type: typing.Union[cdktf.IResolvable, RedisInstanceTimeouts]