Skip to content

Files

Latest commit

 

History

History
12549 lines (7960 loc) · 695 KB
·

databaseMigrationServiceConnectionProfile.python.md

File metadata and controls

12549 lines (7960 loc) · 695 KB
·

databaseMigrationServiceConnectionProfile Submodule

Constructs

DatabaseMigrationServiceConnectionProfile

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

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile(
  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,
  connection_profile_id: str,
  alloydb: DatabaseMigrationServiceConnectionProfileAlloydb = None,
  cloudsql: DatabaseMigrationServiceConnectionProfileCloudsql = None,
  display_name: str = None,
  id: str = None,
  labels: typing.Mapping[str] = None,
  location: str = None,
  mysql: DatabaseMigrationServiceConnectionProfileMysql = None,
  oracle: DatabaseMigrationServiceConnectionProfileOracle = None,
  postgresql: DatabaseMigrationServiceConnectionProfilePostgresql = None,
  project: str = None,
  timeouts: DatabaseMigrationServiceConnectionProfileTimeouts = 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.
connection_profile_id str The ID of the connection profile.
alloydb DatabaseMigrationServiceConnectionProfileAlloydb alloydb block.
cloudsql DatabaseMigrationServiceConnectionProfileCloudsql cloudsql block.
display_name str The connection profile display name.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#id DatabaseMigrationServiceConnectionProfile#id}.
labels typing.Mapping[str] The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.
location str The location where the connection profile should reside.
mysql DatabaseMigrationServiceConnectionProfileMysql mysql block.
oracle DatabaseMigrationServiceConnectionProfileOracle oracle block.
postgresql DatabaseMigrationServiceConnectionProfilePostgresql postgresql block.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#project DatabaseMigrationServiceConnectionProfile#project}.
timeouts DatabaseMigrationServiceConnectionProfileTimeouts timeouts block.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: str

The scoped construct ID.

Must be unique amongst siblings in the same scope


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

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

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

for_eachOptional
  • Type: cdktf.ITerraformIterator

lifecycleOptional
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
  • Type: cdktf.TerraformProvider

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

connection_profile_idRequired
  • Type: str

The ID of the connection profile.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#connection_profile_id DatabaseMigrationServiceConnectionProfile#connection_profile_id}


alloydbOptional

alloydb block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#alloydb DatabaseMigrationServiceConnectionProfile#alloydb}


cloudsqlOptional

cloudsql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloudsql DatabaseMigrationServiceConnectionProfile#cloudsql}


display_nameOptional
  • Type: str

The connection profile display name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#display_name DatabaseMigrationServiceConnectionProfile#display_name}


idOptional
  • Type: str

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


labelsOptional
  • Type: typing.Mapping[str]

The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.

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

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


locationOptional
  • Type: str

The location where the connection profile should reside.

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


mysqlOptional

mysql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#mysql DatabaseMigrationServiceConnectionProfile#mysql}


oracleOptional

oracle block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#oracle DatabaseMigrationServiceConnectionProfile#oracle}


postgresqlOptional

postgresql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#postgresql DatabaseMigrationServiceConnectionProfile#postgresql}


projectOptional
  • Type: str

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


timeoutsOptional

timeouts block.

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


Methods

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

to_string
def to_string() -> str

Returns a string representation of this construct.

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

valueRequired
  • Type: typing.Any

override_logical_id
def override_logical_id(
  new_logical_id: str
) -> None

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

new_logical_idRequired
  • Type: str

The new logical ID to use for this stack element.


reset_override_logical_id
def reset_override_logical_id() -> None

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

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

Adds this resource to the terraform JSON output.

add_move_target
def add_move_target(
  move_target: str
) -> None

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

move_targetRequired
  • Type: str

The string move target that will correspond to this resource.


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

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

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

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

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

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

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

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

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

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

providerOptional
  • Type: cdktf.TerraformProvider

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

move_from_id
def move_from_id(
  id: str
) -> None

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

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

idRequired
  • Type: str

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


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

Moves this resource to the target resource given by moveTarget.

move_targetRequired
  • Type: str

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


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

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


move_to_id
def move_to_id(
  id: str
) -> None

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

idRequired
  • Type: str

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


put_alloydb
def put_alloydb(
  cluster_id: str,
  settings: DatabaseMigrationServiceConnectionProfileAlloydbSettings = None
) -> None
cluster_idRequired
  • Type: str

Required. The AlloyDB cluster ID that this connection profile is associated with.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cluster_id DatabaseMigrationServiceConnectionProfile#cluster_id}


settingsOptional

settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#settings DatabaseMigrationServiceConnectionProfile#settings}


put_cloudsql
def put_cloudsql(
  settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettings = None
) -> None
settingsOptional

settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#settings DatabaseMigrationServiceConnectionProfile#settings}


put_mysql
def put_mysql(
  cloud_sql_id: str = None,
  host: str = None,
  password: str = None,
  port: typing.Union[int, float] = None,
  ssl: DatabaseMigrationServiceConnectionProfileMysqlSsl = None,
  username: str = None
) -> None
cloud_sql_idOptional
  • Type: str

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloud_sql_id DatabaseMigrationServiceConnectionProfile#cloud_sql_id}


hostOptional
  • Type: str

The IP or hostname of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordOptional
  • Type: str

Input only.

The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


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

The network port of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


sslOptional

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


usernameOptional
  • Type: str

The username that Database Migration Service will use to connect to the database.

The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


put_oracle
def put_oracle(
  database_service: str,
  host: str,
  password: str,
  port: typing.Union[int, float],
  username: str,
  forward_ssh_connectivity: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity = None,
  private_connectivity: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity = None,
  ssl: DatabaseMigrationServiceConnectionProfileOracleSsl = None,
  static_service_ip_connectivity: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity = None
) -> None
database_serviceRequired
  • Type: str

Required. Database service for the Oracle connection.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_service DatabaseMigrationServiceConnectionProfile#database_service}


hostRequired
  • Type: str

Required. The IP or hostname of the source Oracle database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordRequired
  • Type: str

Required.

Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


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

Required. The network port of the source Oracle database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


usernameRequired
  • Type: str

Required.

The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


forward_ssh_connectivityOptional

forward_ssh_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#forward_ssh_connectivity DatabaseMigrationServiceConnectionProfile#forward_ssh_connectivity}


private_connectivityOptional

private_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_connectivity DatabaseMigrationServiceConnectionProfile#private_connectivity}


sslOptional

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


static_service_ip_connectivityOptional

static_service_ip_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#static_service_ip_connectivity DatabaseMigrationServiceConnectionProfile#static_service_ip_connectivity}


put_postgresql
def put_postgresql(
  alloydb_cluster_id: str = None,
  cloud_sql_id: str = None,
  host: str = None,
  password: str = None,
  port: typing.Union[int, float] = None,
  ssl: DatabaseMigrationServiceConnectionProfilePostgresqlSsl = None,
  username: str = None
) -> None
alloydb_cluster_idOptional
  • Type: str

If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#alloydb_cluster_id DatabaseMigrationServiceConnectionProfile#alloydb_cluster_id}


cloud_sql_idOptional
  • Type: str

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloud_sql_id DatabaseMigrationServiceConnectionProfile#cloud_sql_id}


hostOptional
  • Type: str

The IP or hostname of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordOptional
  • Type: str

Input only.

The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


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

The network port of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


sslOptional

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


usernameOptional
  • Type: str

The username that Database Migration Service will use to connect to the database.

The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


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

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


deleteOptional
  • Type: str

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


updateOptional
  • Type: str

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


reset_alloydb
def reset_alloydb() -> None
reset_cloudsql
def reset_cloudsql() -> None
reset_display_name
def reset_display_name() -> None
reset_id
def reset_id() -> None
reset_labels
def reset_labels() -> None
reset_location
def reset_location() -> None
reset_mysql
def reset_mysql() -> None
reset_oracle
def reset_oracle() -> None
reset_postgresql
def reset_postgresql() -> None
reset_project
def reset_project() -> None
reset_timeouts
def reset_timeouts() -> None

Static Functions

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

is_construct
from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.is_construct(
  x: typing.Any
)

Checks if x is a construct.

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

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

xRequired
  • Type: typing.Any

Any object.


is_terraform_element
from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.is_terraform_element(
  x: typing.Any
)
xRequired
  • Type: typing.Any

is_terraform_resource
from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.is_terraform_resource(
  x: typing.Any
)
xRequired
  • Type: typing.Any

generate_config_for_import
from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.generate_config_for_import(
  scope: Construct,
  import_to_id: str,
  import_from_id: str,
  provider: TerraformProvider = None
)

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

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


import_to_idRequired
  • Type: str

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


import_from_idRequired
  • Type: str

The id of the existing DatabaseMigrationServiceConnectionProfile that should be imported.

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


providerOptional
  • Type: cdktf.TerraformProvider

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


Properties

Name Type Description
node constructs.Node The tree node.
cdktf_stack cdktf.TerraformStack No description.
fqn str No description.
friendly_unique_id str No description.
terraform_meta_arguments typing.Mapping[typing.Any] No description.
terraform_resource_type str No description.
terraform_generator_metadata cdktf.TerraformProviderGeneratorMetadata No description.
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[str] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
alloydb DatabaseMigrationServiceConnectionProfileAlloydbOutputReference No description.
cloudsql DatabaseMigrationServiceConnectionProfileCloudsqlOutputReference No description.
create_time str No description.
dbprovider str No description.
effective_labels cdktf.StringMap No description.
error DatabaseMigrationServiceConnectionProfileErrorList No description.
mysql DatabaseMigrationServiceConnectionProfileMysqlOutputReference No description.
name str No description.
oracle DatabaseMigrationServiceConnectionProfileOracleOutputReference No description.
postgresql DatabaseMigrationServiceConnectionProfilePostgresqlOutputReference No description.
state str No description.
terraform_labels cdktf.StringMap No description.
timeouts DatabaseMigrationServiceConnectionProfileTimeoutsOutputReference No description.
alloydb_input DatabaseMigrationServiceConnectionProfileAlloydb No description.
cloudsql_input DatabaseMigrationServiceConnectionProfileCloudsql No description.
connection_profile_id_input str No description.
display_name_input str No description.
id_input str No description.
labels_input typing.Mapping[str] No description.
location_input str No description.
mysql_input DatabaseMigrationServiceConnectionProfileMysql No description.
oracle_input DatabaseMigrationServiceConnectionProfileOracle No description.
postgresql_input DatabaseMigrationServiceConnectionProfilePostgresql No description.
project_input str No description.
timeouts_input typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts] No description.
connection_profile_id str No description.
display_name str No description.
id str No description.
labels typing.Mapping[str] No description.
location str No description.
project str No description.

nodeRequired
node: Node
  • Type: constructs.Node

The tree node.


cdktf_stackRequired
cdktf_stack: TerraformStack
  • Type: cdktf.TerraformStack

fqnRequired
fqn: str
  • Type: str

friendly_unique_idRequired
friendly_unique_id: str
  • Type: str

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

terraform_resource_typeRequired
terraform_resource_type: str
  • Type: str

terraform_generator_metadataOptional
terraform_generator_metadata: TerraformProviderGeneratorMetadata
  • Type: cdktf.TerraformProviderGeneratorMetadata

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

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

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

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

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

alloydbRequired
alloydb: DatabaseMigrationServiceConnectionProfileAlloydbOutputReference

cloudsqlRequired
cloudsql: DatabaseMigrationServiceConnectionProfileCloudsqlOutputReference

create_timeRequired
create_time: str
  • Type: str

dbproviderRequired
dbprovider: str
  • Type: str

effective_labelsRequired
effective_labels: StringMap
  • Type: cdktf.StringMap

errorRequired
error: DatabaseMigrationServiceConnectionProfileErrorList

mysqlRequired
mysql: DatabaseMigrationServiceConnectionProfileMysqlOutputReference

nameRequired
name: str
  • Type: str

oracleRequired
oracle: DatabaseMigrationServiceConnectionProfileOracleOutputReference

postgresqlRequired
postgresql: DatabaseMigrationServiceConnectionProfilePostgresqlOutputReference

stateRequired
state: str
  • Type: str

terraform_labelsRequired
terraform_labels: StringMap
  • Type: cdktf.StringMap

timeoutsRequired
timeouts: DatabaseMigrationServiceConnectionProfileTimeoutsOutputReference

alloydb_inputOptional
alloydb_input: DatabaseMigrationServiceConnectionProfileAlloydb

cloudsql_inputOptional
cloudsql_input: DatabaseMigrationServiceConnectionProfileCloudsql

connection_profile_id_inputOptional
connection_profile_id_input: str
  • Type: str

display_name_inputOptional
display_name_input: str
  • Type: str

id_inputOptional
id_input: str
  • Type: str

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

location_inputOptional
location_input: str
  • Type: str

mysql_inputOptional
mysql_input: DatabaseMigrationServiceConnectionProfileMysql

oracle_inputOptional
oracle_input: DatabaseMigrationServiceConnectionProfileOracle

postgresql_inputOptional
postgresql_input: DatabaseMigrationServiceConnectionProfilePostgresql

project_inputOptional
project_input: str
  • Type: str

timeouts_inputOptional
timeouts_input: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]

connection_profile_idRequired
connection_profile_id: str
  • Type: str

display_nameRequired
display_name: str
  • Type: str

idRequired
id: str
  • Type: str

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

locationRequired
location: str
  • Type: str

projectRequired
project: str
  • Type: str

Constants

Name Type Description
tfResourceType str No description.

tfResourceTypeRequired
tfResourceType: str
  • Type: str

Structs

DatabaseMigrationServiceConnectionProfileAlloydb

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydb(
  cluster_id: str,
  settings: DatabaseMigrationServiceConnectionProfileAlloydbSettings = None
)

Properties

Name Type Description
cluster_id str Required. The AlloyDB cluster ID that this connection profile is associated with.
settings DatabaseMigrationServiceConnectionProfileAlloydbSettings settings block.

cluster_idRequired
cluster_id: str
  • Type: str

Required. The AlloyDB cluster ID that this connection profile is associated with.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cluster_id DatabaseMigrationServiceConnectionProfile#cluster_id}


settingsOptional
settings: DatabaseMigrationServiceConnectionProfileAlloydbSettings

settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#settings DatabaseMigrationServiceConnectionProfile#settings}


DatabaseMigrationServiceConnectionProfileAlloydbSettings

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettings(
  initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser,
  vpc_network: str,
  labels: typing.Mapping[str] = None,
  primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings = None
)

Properties

Name Type Description
initial_user DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser initial_user block.
vpc_network str Required.
labels typing.Mapping[str] Labels for the AlloyDB cluster created by DMS.
primary_instance_settings DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings primary_instance_settings block.

initial_userRequired
initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser

initial_user block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#initial_user DatabaseMigrationServiceConnectionProfile#initial_user}


vpc_networkRequired
vpc_network: str
  • Type: str

Required.

The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#vpc_network DatabaseMigrationServiceConnectionProfile#vpc_network}


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

Labels for the AlloyDB cluster created by DMS.

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


primary_instance_settingsOptional
primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings

primary_instance_settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#primary_instance_settings DatabaseMigrationServiceConnectionProfile#primary_instance_settings}


DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser(
  password: str,
  user: str
)

Properties

Name Type Description
password str The initial password for the user.
user str The database username.

passwordRequired
password: str
  • Type: str

The initial password for the user.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


userRequired
user: str
  • Type: str

The database username.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#user DatabaseMigrationServiceConnectionProfile#user}


DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings(
  id: str,
  machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig,
  database_flags: typing.Mapping[str] = None,
  labels: typing.Mapping[str] = None
)

Properties

Name Type Description
id str The database username.
machine_config DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig machine_config block.
database_flags typing.Mapping[str] Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.
labels typing.Mapping[str] Labels for the AlloyDB primary instance created by DMS.

idRequired
id: str
  • Type: str

The database username.

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


machine_configRequired
machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig

machine_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#machine_config DatabaseMigrationServiceConnectionProfile#machine_config}


database_flagsOptional
database_flags: typing.Mapping[str]
  • Type: typing.Mapping[str]

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.

See the AlloyDB documentation for how these can be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_flags DatabaseMigrationServiceConnectionProfile#database_flags}


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

Labels for the AlloyDB primary instance created by DMS.

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


DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig(
  cpu_count: typing.Union[int, float]
)

Properties

Name Type Description
cpu_count typing.Union[int, float] The number of CPU's in the VM instance.

cpu_countRequired
cpu_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

The number of CPU's in the VM instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cpu_count DatabaseMigrationServiceConnectionProfile#cpu_count}


DatabaseMigrationServiceConnectionProfileCloudsql

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileCloudsql(
  settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettings = None
)

Properties

Name Type Description
settings DatabaseMigrationServiceConnectionProfileCloudsqlSettings settings block.

settingsOptional
settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettings

settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#settings DatabaseMigrationServiceConnectionProfile#settings}


DatabaseMigrationServiceConnectionProfileCloudsqlSettings

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileCloudsqlSettings(
  source_id: str,
  activation_policy: str = None,
  auto_storage_increase: typing.Union[bool, IResolvable] = None,
  cmek_key_name: str = None,
  collation: str = None,
  database_flags: typing.Mapping[str] = None,
  database_version: str = None,
  data_disk_size_gb: str = None,
  data_disk_type: str = None,
  edition: str = None,
  ip_config: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig = None,
  root_password: str = None,
  storage_auto_resize_limit: str = None,
  tier: str = None,
  user_labels: typing.Mapping[str] = None,
  zone: str = None
)

Properties

Name Type Description
source_id str The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID.
activation_policy str The activation policy specifies when the instance is activated;
auto_storage_increase typing.Union[bool, cdktf.IResolvable] If you enable this setting, Cloud SQL checks your available storage every 30 seconds.
cmek_key_name str The KMS key name used for the csql instance.
collation str The Cloud SQL default instance level collation.
database_flags typing.Mapping[str] The database flags passed to the Cloud SQL instance at startup.
database_version str The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion.
data_disk_size_gb str The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
data_disk_type str The type of storage. Possible values: ["PD_SSD", "PD_HDD"].
edition str The edition of the given Cloud SQL instance. Possible values: ["ENTERPRISE", "ENTERPRISE_PLUS"].
ip_config DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig ip_config block.
root_password str Input only. Initial root password.
storage_auto_resize_limit str The maximum size to which storage capacity can be automatically increased.
tier str The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).
user_labels typing.Mapping[str] The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.
zone str The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.

source_idRequired
source_id: str
  • Type: str

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#source_id DatabaseMigrationServiceConnectionProfile#source_id}


activation_policyOptional
activation_policy: str
  • Type: str

The activation policy specifies when the instance is activated;

it is applicable only when the instance state is 'RUNNABLE'. Possible values: ["ALWAYS", "NEVER"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#activation_policy DatabaseMigrationServiceConnectionProfile#activation_policy}


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

If you enable this setting, Cloud SQL checks your available storage every 30 seconds.

If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#auto_storage_increase DatabaseMigrationServiceConnectionProfile#auto_storage_increase}


cmek_key_nameOptional
cmek_key_name: str
  • Type: str

The KMS key name used for the csql instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cmek_key_name DatabaseMigrationServiceConnectionProfile#cmek_key_name}


collationOptional
collation: str
  • Type: str

The Cloud SQL default instance level collation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#collation DatabaseMigrationServiceConnectionProfile#collation}


database_flagsOptional
database_flags: typing.Mapping[str]
  • Type: typing.Mapping[str]

The database flags passed to the Cloud SQL instance at startup.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_flags DatabaseMigrationServiceConnectionProfile#database_flags}


database_versionOptional
database_version: str
  • Type: str

The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_version DatabaseMigrationServiceConnectionProfile#database_version}


data_disk_size_gbOptional
data_disk_size_gb: str
  • Type: str

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#data_disk_size_gb DatabaseMigrationServiceConnectionProfile#data_disk_size_gb}


data_disk_typeOptional
data_disk_type: str
  • Type: str

The type of storage. Possible values: ["PD_SSD", "PD_HDD"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#data_disk_type DatabaseMigrationServiceConnectionProfile#data_disk_type}


editionOptional
edition: str
  • Type: str

The edition of the given Cloud SQL instance. Possible values: ["ENTERPRISE", "ENTERPRISE_PLUS"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#edition DatabaseMigrationServiceConnectionProfile#edition}


ip_configOptional
ip_config: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig

ip_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ip_config DatabaseMigrationServiceConnectionProfile#ip_config}


root_passwordOptional
root_password: str
  • Type: str

Input only. Initial root password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#root_password DatabaseMigrationServiceConnectionProfile#root_password}


storage_auto_resize_limitOptional
storage_auto_resize_limit: str
  • Type: str

The maximum size to which storage capacity can be automatically increased.

The default value is 0, which specifies that there is no limit.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#storage_auto_resize_limit DatabaseMigrationServiceConnectionProfile#storage_auto_resize_limit}


tierOptional
tier: str
  • Type: str

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).

For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#tier DatabaseMigrationServiceConnectionProfile#tier}


user_labelsOptional
user_labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#user_labels DatabaseMigrationServiceConnectionProfile#user_labels}


zoneOptional
zone: str
  • Type: str

The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#zone DatabaseMigrationServiceConnectionProfile#zone}


DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig(
  authorized_networks: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]] = None,
  enable_ipv4: typing.Union[bool, IResolvable] = None,
  private_network: str = None,
  require_ssl: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
authorized_networks typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]] authorized_networks block.
enable_ipv4 typing.Union[bool, cdktf.IResolvable] Whether the instance should be assigned an IPv4 address or not.
private_network str The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP.
require_ssl typing.Union[bool, cdktf.IResolvable] Whether SSL connections over IP should be enforced or not.

authorized_networksOptional
authorized_networks: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]

authorized_networks block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#authorized_networks DatabaseMigrationServiceConnectionProfile#authorized_networks}


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

Whether the instance should be assigned an IPv4 address or not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#enable_ipv4 DatabaseMigrationServiceConnectionProfile#enable_ipv4}


private_networkOptional
private_network: str
  • Type: str

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP.

For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_network DatabaseMigrationServiceConnectionProfile#private_network}


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

Whether SSL connections over IP should be enforced or not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#require_ssl DatabaseMigrationServiceConnectionProfile#require_ssl}


DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks(
  value: str,
  expire_time: str = None,
  label: str = None,
  ttl: str = None
)

Properties

Name Type Description
value str The allowlisted value for the access control list.
expire_time str The time when this access control entry expires in RFC 3339 format.
label str A label to identify this entry.
ttl str Input only. The time-to-leave of this access control entry.

valueRequired
value: str
  • Type: str

The allowlisted value for the access control list.

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


expire_timeOptional
expire_time: str
  • Type: str

The time when this access control entry expires in RFC 3339 format.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#expire_time DatabaseMigrationServiceConnectionProfile#expire_time}


labelOptional
label: str
  • Type: str

A label to identify this entry.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#label DatabaseMigrationServiceConnectionProfile#label}


ttlOptional
ttl: str
  • Type: str

Input only. The time-to-leave of this access control entry.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ttl DatabaseMigrationServiceConnectionProfile#ttl}


DatabaseMigrationServiceConnectionProfileConfig

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileConfig(
  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,
  connection_profile_id: str,
  alloydb: DatabaseMigrationServiceConnectionProfileAlloydb = None,
  cloudsql: DatabaseMigrationServiceConnectionProfileCloudsql = None,
  display_name: str = None,
  id: str = None,
  labels: typing.Mapping[str] = None,
  location: str = None,
  mysql: DatabaseMigrationServiceConnectionProfileMysql = None,
  oracle: DatabaseMigrationServiceConnectionProfileOracle = None,
  postgresql: DatabaseMigrationServiceConnectionProfilePostgresql = None,
  project: str = None,
  timeouts: DatabaseMigrationServiceConnectionProfileTimeouts = None
)

Properties

Name Type Description
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[cdktf.ITerraformDependable] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
connection_profile_id str The ID of the connection profile.
alloydb DatabaseMigrationServiceConnectionProfileAlloydb alloydb block.
cloudsql DatabaseMigrationServiceConnectionProfileCloudsql cloudsql block.
display_name str The connection profile display name.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#id DatabaseMigrationServiceConnectionProfile#id}.
labels typing.Mapping[str] The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.
location str The location where the connection profile should reside.
mysql DatabaseMigrationServiceConnectionProfileMysql mysql block.
oracle DatabaseMigrationServiceConnectionProfileOracle oracle block.
postgresql DatabaseMigrationServiceConnectionProfilePostgresql postgresql block.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#project DatabaseMigrationServiceConnectionProfile#project}.
timeouts DatabaseMigrationServiceConnectionProfileTimeouts timeouts block.

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

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

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

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

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

connection_profile_idRequired
connection_profile_id: str
  • Type: str

The ID of the connection profile.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#connection_profile_id DatabaseMigrationServiceConnectionProfile#connection_profile_id}


alloydbOptional
alloydb: DatabaseMigrationServiceConnectionProfileAlloydb

alloydb block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#alloydb DatabaseMigrationServiceConnectionProfile#alloydb}


cloudsqlOptional
cloudsql: DatabaseMigrationServiceConnectionProfileCloudsql

cloudsql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloudsql DatabaseMigrationServiceConnectionProfile#cloudsql}


display_nameOptional
display_name: str
  • Type: str

The connection profile display name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#display_name DatabaseMigrationServiceConnectionProfile#display_name}


idOptional
id: str
  • Type: str

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


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

The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.

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

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


locationOptional
location: str
  • Type: str

The location where the connection profile should reside.

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


mysqlOptional
mysql: DatabaseMigrationServiceConnectionProfileMysql

mysql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#mysql DatabaseMigrationServiceConnectionProfile#mysql}


oracleOptional
oracle: DatabaseMigrationServiceConnectionProfileOracle

oracle block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#oracle DatabaseMigrationServiceConnectionProfile#oracle}


postgresqlOptional
postgresql: DatabaseMigrationServiceConnectionProfilePostgresql

postgresql block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#postgresql DatabaseMigrationServiceConnectionProfile#postgresql}


projectOptional
project: str
  • Type: str

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


timeoutsOptional
timeouts: DatabaseMigrationServiceConnectionProfileTimeouts

timeouts block.

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


DatabaseMigrationServiceConnectionProfileError

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileError()

DatabaseMigrationServiceConnectionProfileMysql

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileMysql(
  cloud_sql_id: str = None,
  host: str = None,
  password: str = None,
  port: typing.Union[int, float] = None,
  ssl: DatabaseMigrationServiceConnectionProfileMysqlSsl = None,
  username: str = None
)

Properties

Name Type Description
cloud_sql_id str If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
host str The IP or hostname of the source MySQL database.
password str Input only.
port typing.Union[int, float] The network port of the source MySQL database.
ssl DatabaseMigrationServiceConnectionProfileMysqlSsl ssl block.
username str The username that Database Migration Service will use to connect to the database.

cloud_sql_idOptional
cloud_sql_id: str
  • Type: str

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloud_sql_id DatabaseMigrationServiceConnectionProfile#cloud_sql_id}


hostOptional
host: str
  • Type: str

The IP or hostname of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordOptional
password: str
  • Type: str

Input only.

The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


portOptional
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

The network port of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


sslOptional
ssl: DatabaseMigrationServiceConnectionProfileMysqlSsl

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


usernameOptional
username: str
  • Type: str

The username that Database Migration Service will use to connect to the database.

The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


DatabaseMigrationServiceConnectionProfileMysqlSsl

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileMysqlSsl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None,
  type: str = None
)

Properties

Name Type Description
ca_certificate str Input only.
client_certificate str Input only.
client_key str Input only.
type str The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

ca_certificateOptional
ca_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
client_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
client_key: str
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


typeOptional
type: str
  • Type: str

The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#type DatabaseMigrationServiceConnectionProfile#type}


DatabaseMigrationServiceConnectionProfileOracle

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOracle(
  database_service: str,
  host: str,
  password: str,
  port: typing.Union[int, float],
  username: str,
  forward_ssh_connectivity: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity = None,
  private_connectivity: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity = None,
  ssl: DatabaseMigrationServiceConnectionProfileOracleSsl = None,
  static_service_ip_connectivity: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity = None
)

Properties

Name Type Description
database_service str Required. Database service for the Oracle connection.
host str Required. The IP or hostname of the source Oracle database.
password str Required.
port typing.Union[int, float] Required. The network port of the source Oracle database.
username str Required.
forward_ssh_connectivity DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity forward_ssh_connectivity block.
private_connectivity DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity private_connectivity block.
ssl DatabaseMigrationServiceConnectionProfileOracleSsl ssl block.
static_service_ip_connectivity DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity static_service_ip_connectivity block.

database_serviceRequired
database_service: str
  • Type: str

Required. Database service for the Oracle connection.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_service DatabaseMigrationServiceConnectionProfile#database_service}


hostRequired
host: str
  • Type: str

Required. The IP or hostname of the source Oracle database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordRequired
password: str
  • Type: str

Required.

Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

Required. The network port of the source Oracle database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


usernameRequired
username: str
  • Type: str

Required.

The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


forward_ssh_connectivityOptional
forward_ssh_connectivity: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity

forward_ssh_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#forward_ssh_connectivity DatabaseMigrationServiceConnectionProfile#forward_ssh_connectivity}


private_connectivityOptional
private_connectivity: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity

private_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_connectivity DatabaseMigrationServiceConnectionProfile#private_connectivity}


sslOptional
ssl: DatabaseMigrationServiceConnectionProfileOracleSsl

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


static_service_ip_connectivityOptional
static_service_ip_connectivity: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity

static_service_ip_connectivity block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#static_service_ip_connectivity DatabaseMigrationServiceConnectionProfile#static_service_ip_connectivity}


DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity(
  hostname: str,
  port: typing.Union[int, float],
  username: str,
  password: str = None,
  private_key: str = None
)

Properties

Name Type Description
hostname str Required. Hostname for the SSH tunnel.
port typing.Union[int, float] Port for the SSH tunnel, default value is 22.
username str Required. Username for the SSH tunnel.
password str Input only. SSH password. Only one of 'password' and 'private_key' can be configured.
private_key str Input only. SSH private key. Only one of 'password' and 'private_key' can be configured.

hostnameRequired
hostname: str
  • Type: str

Required. Hostname for the SSH tunnel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#hostname DatabaseMigrationServiceConnectionProfile#hostname}


portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

Port for the SSH tunnel, default value is 22.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


usernameRequired
username: str
  • Type: str

Required. Username for the SSH tunnel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


passwordOptional
password: str
  • Type: str

Input only. SSH password. Only one of 'password' and 'private_key' can be configured.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


private_keyOptional
private_key: str
  • Type: str

Input only. SSH private key. Only one of 'password' and 'private_key' can be configured.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_key DatabaseMigrationServiceConnectionProfile#private_key}


DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity(
  private_connection: str
)

Properties

Name Type Description
private_connection str Required. The resource name (URI) of the private connection.

private_connectionRequired
private_connection: str
  • Type: str

Required. The resource name (URI) of the private connection.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_connection DatabaseMigrationServiceConnectionProfile#private_connection}


DatabaseMigrationServiceConnectionProfileOracleSsl

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOracleSsl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None
)

Properties

Name Type Description
ca_certificate str Input only.
client_certificate str Input only.
client_key str Input only.

ca_certificateOptional
ca_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
client_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
client_key: str
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity()

DatabaseMigrationServiceConnectionProfilePostgresql

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfilePostgresql(
  alloydb_cluster_id: str = None,
  cloud_sql_id: str = None,
  host: str = None,
  password: str = None,
  port: typing.Union[int, float] = None,
  ssl: DatabaseMigrationServiceConnectionProfilePostgresqlSsl = None,
  username: str = None
)

Properties

Name Type Description
alloydb_cluster_id str If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.
cloud_sql_id str If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
host str The IP or hostname of the source MySQL database.
password str Input only.
port typing.Union[int, float] The network port of the source MySQL database.
ssl DatabaseMigrationServiceConnectionProfilePostgresqlSsl ssl block.
username str The username that Database Migration Service will use to connect to the database.

alloydb_cluster_idOptional
alloydb_cluster_id: str
  • Type: str

If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#alloydb_cluster_id DatabaseMigrationServiceConnectionProfile#alloydb_cluster_id}


cloud_sql_idOptional
cloud_sql_id: str
  • Type: str

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cloud_sql_id DatabaseMigrationServiceConnectionProfile#cloud_sql_id}


hostOptional
host: str
  • Type: str

The IP or hostname of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#host DatabaseMigrationServiceConnectionProfile#host}


passwordOptional
password: str
  • Type: str

Input only.

The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


portOptional
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

The network port of the source MySQL database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


sslOptional
ssl: DatabaseMigrationServiceConnectionProfilePostgresqlSsl

ssl block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ssl DatabaseMigrationServiceConnectionProfile#ssl}


usernameOptional
username: str
  • Type: str

The username that Database Migration Service will use to connect to the database.

The value is encrypted when stored in Database Migration Service.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


DatabaseMigrationServiceConnectionProfilePostgresqlSsl

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfilePostgresqlSsl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None,
  type: str = None
)

Properties

Name Type Description
ca_certificate str Input only.
client_certificate str Input only.
client_key str Input only.
type str The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

ca_certificateOptional
ca_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
client_certificate: str
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
client_key: str
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


typeOptional
type: str
  • Type: str

The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#type DatabaseMigrationServiceConnectionProfile#type}


DatabaseMigrationServiceConnectionProfileTimeouts

Initializer

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileTimeouts(
  create: str = None,
  delete: str = None,
  update: str = None
)

Properties

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

createOptional
create: str
  • Type: str

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


deleteOptional
delete: str
  • Type: str

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


updateOptional
update: str
  • Type: str

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


Classes

DatabaseMigrationServiceConnectionProfileAlloydbOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_settings
def put_settings(
  initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser,
  vpc_network: str,
  labels: typing.Mapping[str] = None,
  primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings = None
) -> None
initial_userRequired

initial_user block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#initial_user DatabaseMigrationServiceConnectionProfile#initial_user}


vpc_networkRequired
  • Type: str

Required.

The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#vpc_network DatabaseMigrationServiceConnectionProfile#vpc_network}


labelsOptional
  • Type: typing.Mapping[str]

Labels for the AlloyDB cluster created by DMS.

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


primary_instance_settingsOptional

primary_instance_settings block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#primary_instance_settings DatabaseMigrationServiceConnectionProfile#primary_instance_settings}


reset_settings
def reset_settings() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
settings DatabaseMigrationServiceConnectionProfileAlloydbSettingsOutputReference No description.
cluster_id_input str No description.
settings_input DatabaseMigrationServiceConnectionProfileAlloydbSettings No description.
cluster_id str No description.
internal_value DatabaseMigrationServiceConnectionProfileAlloydb No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

settingsRequired
settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsOutputReference

cluster_id_inputOptional
cluster_id_input: str
  • Type: str

settings_inputOptional
settings_input: DatabaseMigrationServiceConnectionProfileAlloydbSettings

cluster_idRequired
cluster_id: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileAlloydb

DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUserOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
password_set cdktf.IResolvable No description.
password_input str No description.
user_input str No description.
password str No description.
user str No description.
internal_value DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

password_setRequired
password_set: IResolvable
  • Type: cdktf.IResolvable

password_inputOptional
password_input: str
  • Type: str

user_inputOptional
user_input: str
  • Type: str

passwordRequired
password: str
  • Type: str

userRequired
user: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser

DatabaseMigrationServiceConnectionProfileAlloydbSettingsOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_initial_user
def put_initial_user(
  password: str,
  user: str
) -> None
passwordRequired
  • Type: str

The initial password for the user.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


userRequired
  • Type: str

The database username.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#user DatabaseMigrationServiceConnectionProfile#user}


put_primary_instance_settings
def put_primary_instance_settings(
  id: str,
  machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig,
  database_flags: typing.Mapping[str] = None,
  labels: typing.Mapping[str] = None
) -> None
idRequired
  • Type: str

The database username.

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


machine_configRequired

machine_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#machine_config DatabaseMigrationServiceConnectionProfile#machine_config}


database_flagsOptional
  • Type: typing.Mapping[str]

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.

See the AlloyDB documentation for how these can be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_flags DatabaseMigrationServiceConnectionProfile#database_flags}


labelsOptional
  • Type: typing.Mapping[str]

Labels for the AlloyDB primary instance created by DMS.

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


reset_labels
def reset_labels() -> None
reset_primary_instance_settings
def reset_primary_instance_settings() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
initial_user DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUserOutputReference No description.
primary_instance_settings DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputReference No description.
initial_user_input DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser No description.
labels_input typing.Mapping[str] No description.
primary_instance_settings_input DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings No description.
vpc_network_input str No description.
labels typing.Mapping[str] No description.
vpc_network str No description.
internal_value DatabaseMigrationServiceConnectionProfileAlloydbSettings No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

initial_userRequired
initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUserOutputReference

primary_instance_settingsRequired
primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputReference

initial_user_inputOptional
initial_user_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser

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

primary_instance_settings_inputOptional
primary_instance_settings_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings

vpc_network_inputOptional
vpc_network_input: str
  • Type: str

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

vpc_networkRequired
vpc_network: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettings

DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
cpu_count_input typing.Union[int, float] No description.
cpu_count typing.Union[int, float] No description.
internal_value DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

cpu_count_inputOptional
cpu_count_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

cpu_countRequired
cpu_count: typing.Union[int, float]
  • Type: typing.Union[int, float]

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig

DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_machine_config
def put_machine_config(
  cpu_count: typing.Union[int, float]
) -> None
cpu_countRequired
  • Type: typing.Union[int, float]

The number of CPU's in the VM instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cpu_count DatabaseMigrationServiceConnectionProfile#cpu_count}


reset_database_flags
def reset_database_flags() -> None
reset_labels
def reset_labels() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
machine_config DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputReference No description.
private_ip str No description.
database_flags_input typing.Mapping[str] No description.
id_input str No description.
labels_input typing.Mapping[str] No description.
machine_config_input DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig No description.
database_flags typing.Mapping[str] No description.
id str No description.
labels typing.Mapping[str] No description.
internal_value DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

machine_configRequired
machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputReference

private_ipRequired
private_ip: str
  • Type: str

database_flags_inputOptional
database_flags_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

id_inputOptional
id_input: str
  • Type: str

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

machine_config_inputOptional
machine_config_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig

database_flagsRequired
database_flags: typing.Mapping[str]
  • Type: typing.Mapping[str]

idRequired
id: str
  • Type: str

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

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings

DatabaseMigrationServiceConnectionProfileCloudsqlOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_settings
def put_settings(
  source_id: str,
  activation_policy: str = None,
  auto_storage_increase: typing.Union[bool, IResolvable] = None,
  cmek_key_name: str = None,
  collation: str = None,
  database_flags: typing.Mapping[str] = None,
  database_version: str = None,
  data_disk_size_gb: str = None,
  data_disk_type: str = None,
  edition: str = None,
  ip_config: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig = None,
  root_password: str = None,
  storage_auto_resize_limit: str = None,
  tier: str = None,
  user_labels: typing.Mapping[str] = None,
  zone: str = None
) -> None
source_idRequired
  • Type: str

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#source_id DatabaseMigrationServiceConnectionProfile#source_id}


activation_policyOptional
  • Type: str

The activation policy specifies when the instance is activated;

it is applicable only when the instance state is 'RUNNABLE'. Possible values: ["ALWAYS", "NEVER"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#activation_policy DatabaseMigrationServiceConnectionProfile#activation_policy}


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

If you enable this setting, Cloud SQL checks your available storage every 30 seconds.

If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#auto_storage_increase DatabaseMigrationServiceConnectionProfile#auto_storage_increase}


cmek_key_nameOptional
  • Type: str

The KMS key name used for the csql instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#cmek_key_name DatabaseMigrationServiceConnectionProfile#cmek_key_name}


collationOptional
  • Type: str

The Cloud SQL default instance level collation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#collation DatabaseMigrationServiceConnectionProfile#collation}


database_flagsOptional
  • Type: typing.Mapping[str]

The database flags passed to the Cloud SQL instance at startup.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_flags DatabaseMigrationServiceConnectionProfile#database_flags}


database_versionOptional
  • Type: str

The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#database_version DatabaseMigrationServiceConnectionProfile#database_version}


data_disk_size_gbOptional
  • Type: str

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#data_disk_size_gb DatabaseMigrationServiceConnectionProfile#data_disk_size_gb}


data_disk_typeOptional
  • Type: str

The type of storage. Possible values: ["PD_SSD", "PD_HDD"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#data_disk_type DatabaseMigrationServiceConnectionProfile#data_disk_type}


editionOptional
  • Type: str

The edition of the given Cloud SQL instance. Possible values: ["ENTERPRISE", "ENTERPRISE_PLUS"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#edition DatabaseMigrationServiceConnectionProfile#edition}


ip_configOptional

ip_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ip_config DatabaseMigrationServiceConnectionProfile#ip_config}


root_passwordOptional
  • Type: str

Input only. Initial root password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#root_password DatabaseMigrationServiceConnectionProfile#root_password}


storage_auto_resize_limitOptional
  • Type: str

The maximum size to which storage capacity can be automatically increased.

The default value is 0, which specifies that there is no limit.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#storage_auto_resize_limit DatabaseMigrationServiceConnectionProfile#storage_auto_resize_limit}


tierOptional
  • Type: str

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).

For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#tier DatabaseMigrationServiceConnectionProfile#tier}


user_labelsOptional
  • Type: typing.Mapping[str]

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#user_labels DatabaseMigrationServiceConnectionProfile#user_labels}


zoneOptional
  • Type: str

The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#zone DatabaseMigrationServiceConnectionProfile#zone}


reset_settings
def reset_settings() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
cloud_sql_id str No description.
private_ip str No description.
public_ip str No description.
settings DatabaseMigrationServiceConnectionProfileCloudsqlSettingsOutputReference No description.
settings_input DatabaseMigrationServiceConnectionProfileCloudsqlSettings No description.
internal_value DatabaseMigrationServiceConnectionProfileCloudsql No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

cloud_sql_idRequired
cloud_sql_id: str
  • Type: str

private_ipRequired
private_ip: str
  • Type: str

public_ipRequired
public_ip: str
  • Type: str

settingsRequired
settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsOutputReference

settings_inputOptional
settings_input: DatabaseMigrationServiceConnectionProfileCloudsqlSettings

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileCloudsql

DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksList

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

the index of the item to return.


Properties

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

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

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

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


fqnRequired
fqn: str
  • Type: str

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

DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


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

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_expire_time
def reset_expire_time() -> None
reset_label
def reset_label() -> None
reset_ttl
def reset_ttl() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
expire_time_input str No description.
label_input str No description.
ttl_input str No description.
value_input str No description.
expire_time str No description.
label str No description.
ttl str No description.
value str No description.
internal_value typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks] No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

expire_time_inputOptional
expire_time_input: str
  • Type: str

label_inputOptional
label_input: str
  • Type: str

ttl_inputOptional
ttl_input: str
  • Type: str

value_inputOptional
value_input: str
  • Type: str

expire_timeRequired
expire_time: str
  • Type: str

labelRequired
label: str
  • Type: str

ttlRequired
ttl: str
  • Type: str

valueRequired
value: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]

DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

reset_authorized_networks
def reset_authorized_networks() -> None
reset_enable_ipv4
def reset_enable_ipv4() -> None
reset_private_network
def reset_private_network() -> None
reset_require_ssl
def reset_require_ssl() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
authorized_networks DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksList No description.
authorized_networks_input typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]] No description.
enable_ipv4_input typing.Union[bool, cdktf.IResolvable] No description.
private_network_input str No description.
require_ssl_input typing.Union[bool, cdktf.IResolvable] No description.
enable_ipv4 typing.Union[bool, cdktf.IResolvable] No description.
private_network str No description.
require_ssl typing.Union[bool, cdktf.IResolvable] No description.
internal_value DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

authorized_networksRequired
authorized_networks: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksList

authorized_networks_inputOptional
authorized_networks_input: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]

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

private_network_inputOptional
private_network_input: str
  • Type: str

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

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

private_networkRequired
private_network: str
  • Type: str

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

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig

DatabaseMigrationServiceConnectionProfileCloudsqlSettingsOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_ip_config No description.
reset_activation_policy No description.
reset_auto_storage_increase No description.
reset_cmek_key_name No description.
reset_collation No description.
reset_database_flags No description.
reset_database_version No description.
reset_data_disk_size_gb No description.
reset_data_disk_type No description.
reset_edition No description.
reset_ip_config No description.
reset_root_password No description.
reset_storage_auto_resize_limit No description.
reset_tier No description.
reset_user_labels No description.
reset_zone No description.

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_ip_config
def put_ip_config(
  authorized_networks: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]] = None,
  enable_ipv4: typing.Union[bool, IResolvable] = None,
  private_network: str = None,
  require_ssl: typing.Union[bool, IResolvable] = None
) -> None
authorized_networksOptional

authorized_networks block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#authorized_networks DatabaseMigrationServiceConnectionProfile#authorized_networks}


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

Whether the instance should be assigned an IPv4 address or not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#enable_ipv4 DatabaseMigrationServiceConnectionProfile#enable_ipv4}


private_networkOptional
  • Type: str

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP.

For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_network DatabaseMigrationServiceConnectionProfile#private_network}


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

Whether SSL connections over IP should be enforced or not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#require_ssl DatabaseMigrationServiceConnectionProfile#require_ssl}


reset_activation_policy
def reset_activation_policy() -> None
reset_auto_storage_increase
def reset_auto_storage_increase() -> None
reset_cmek_key_name
def reset_cmek_key_name() -> None
reset_collation
def reset_collation() -> None
reset_database_flags
def reset_database_flags() -> None
reset_database_version
def reset_database_version() -> None
reset_data_disk_size_gb
def reset_data_disk_size_gb() -> None
reset_data_disk_type
def reset_data_disk_type() -> None
reset_edition
def reset_edition() -> None
reset_ip_config
def reset_ip_config() -> None
reset_root_password
def reset_root_password() -> None
reset_storage_auto_resize_limit
def reset_storage_auto_resize_limit() -> None
reset_tier
def reset_tier() -> None
reset_user_labels
def reset_user_labels() -> None
reset_zone
def reset_zone() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
ip_config DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigOutputReference No description.
root_password_set cdktf.IResolvable No description.
activation_policy_input str No description.
auto_storage_increase_input typing.Union[bool, cdktf.IResolvable] No description.
cmek_key_name_input str No description.
collation_input str No description.
database_flags_input typing.Mapping[str] No description.
database_version_input str No description.
data_disk_size_gb_input str No description.
data_disk_type_input str No description.
edition_input str No description.
ip_config_input DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig No description.
root_password_input str No description.
source_id_input str No description.
storage_auto_resize_limit_input str No description.
tier_input str No description.
user_labels_input typing.Mapping[str] No description.
zone_input str No description.
activation_policy str No description.
auto_storage_increase typing.Union[bool, cdktf.IResolvable] No description.
cmek_key_name str No description.
collation str No description.
database_flags typing.Mapping[str] No description.
database_version str No description.
data_disk_size_gb str No description.
data_disk_type str No description.
edition str No description.
root_password str No description.
source_id str No description.
storage_auto_resize_limit str No description.
tier str No description.
user_labels typing.Mapping[str] No description.
zone str No description.
internal_value DatabaseMigrationServiceConnectionProfileCloudsqlSettings No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

ip_configRequired
ip_config: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigOutputReference

root_password_setRequired
root_password_set: IResolvable
  • Type: cdktf.IResolvable

activation_policy_inputOptional
activation_policy_input: str
  • Type: str

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

cmek_key_name_inputOptional
cmek_key_name_input: str
  • Type: str

collation_inputOptional
collation_input: str
  • Type: str

database_flags_inputOptional
database_flags_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

database_version_inputOptional
database_version_input: str
  • Type: str

data_disk_size_gb_inputOptional
data_disk_size_gb_input: str
  • Type: str

data_disk_type_inputOptional
data_disk_type_input: str
  • Type: str

edition_inputOptional
edition_input: str
  • Type: str

ip_config_inputOptional
ip_config_input: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig

root_password_inputOptional
root_password_input: str
  • Type: str

source_id_inputOptional
source_id_input: str
  • Type: str

storage_auto_resize_limit_inputOptional
storage_auto_resize_limit_input: str
  • Type: str

tier_inputOptional
tier_input: str
  • Type: str

user_labels_inputOptional
user_labels_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

zone_inputOptional
zone_input: str
  • Type: str

activation_policyRequired
activation_policy: str
  • Type: str

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

cmek_key_nameRequired
cmek_key_name: str
  • Type: str

collationRequired
collation: str
  • Type: str

database_flagsRequired
database_flags: typing.Mapping[str]
  • Type: typing.Mapping[str]

database_versionRequired
database_version: str
  • Type: str

data_disk_size_gbRequired
data_disk_size_gb: str
  • Type: str

data_disk_typeRequired
data_disk_type: str
  • Type: str

editionRequired
edition: str
  • Type: str

root_passwordRequired
root_password: str
  • Type: str

source_idRequired
source_id: str
  • Type: str

storage_auto_resize_limitRequired
storage_auto_resize_limit: str
  • Type: str

tierRequired
tier: str
  • Type: str

user_labelsRequired
user_labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

zoneRequired
zone: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileCloudsqlSettings

DatabaseMigrationServiceConnectionProfileErrorList

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

the index of the item to return.


Properties

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

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

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

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


fqnRequired
fqn: str
  • Type: str

DatabaseMigrationServiceConnectionProfileErrorOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


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

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
code typing.Union[int, float] No description.
details cdktf.StringMapList No description.
message str No description.
internal_value DatabaseMigrationServiceConnectionProfileError No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

codeRequired
code: typing.Union[int, float]
  • Type: typing.Union[int, float]

detailsRequired
details: StringMapList
  • Type: cdktf.StringMapList

messageRequired
message: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileError

DatabaseMigrationServiceConnectionProfileMysqlOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_ssl
def put_ssl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None,
  type: str = None
) -> None
ca_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


typeOptional
  • Type: str

The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#type DatabaseMigrationServiceConnectionProfile#type}


reset_cloud_sql_id
def reset_cloud_sql_id() -> None
reset_host
def reset_host() -> None
reset_password
def reset_password() -> None
reset_port
def reset_port() -> None
reset_ssl
def reset_ssl() -> None
reset_username
def reset_username() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
password_set cdktf.IResolvable No description.
ssl DatabaseMigrationServiceConnectionProfileMysqlSslOutputReference No description.
cloud_sql_id_input str No description.
host_input str No description.
password_input str No description.
port_input typing.Union[int, float] No description.
ssl_input DatabaseMigrationServiceConnectionProfileMysqlSsl No description.
username_input str No description.
cloud_sql_id str No description.
host str No description.
password str No description.
port typing.Union[int, float] No description.
username str No description.
internal_value DatabaseMigrationServiceConnectionProfileMysql No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

password_setRequired
password_set: IResolvable
  • Type: cdktf.IResolvable

sslRequired
ssl: DatabaseMigrationServiceConnectionProfileMysqlSslOutputReference

cloud_sql_id_inputOptional
cloud_sql_id_input: str
  • Type: str

host_inputOptional
host_input: str
  • Type: str

password_inputOptional
password_input: str
  • Type: str

port_inputOptional
port_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

ssl_inputOptional
ssl_input: DatabaseMigrationServiceConnectionProfileMysqlSsl

username_inputOptional
username_input: str
  • Type: str

cloud_sql_idRequired
cloud_sql_id: str
  • Type: str

hostRequired
host: str
  • Type: str

passwordRequired
password: str
  • Type: str

portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

usernameRequired
username: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileMysql

DatabaseMigrationServiceConnectionProfileMysqlSslOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_ca_certificate
def reset_ca_certificate() -> None
reset_client_certificate
def reset_client_certificate() -> None
reset_client_key
def reset_client_key() -> None
reset_type
def reset_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
ca_certificate_input str No description.
client_certificate_input str No description.
client_key_input str No description.
type_input str No description.
ca_certificate str No description.
client_certificate str No description.
client_key str No description.
type str No description.
internal_value DatabaseMigrationServiceConnectionProfileMysqlSsl No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

ca_certificate_inputOptional
ca_certificate_input: str
  • Type: str

client_certificate_inputOptional
client_certificate_input: str
  • Type: str

client_key_inputOptional
client_key_input: str
  • Type: str

type_inputOptional
type_input: str
  • Type: str

ca_certificateRequired
ca_certificate: str
  • Type: str

client_certificateRequired
client_certificate: str
  • Type: str

client_keyRequired
client_key: str
  • Type: str

typeRequired
type: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileMysqlSsl

DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivityOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_password
def reset_password() -> None
reset_private_key
def reset_private_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
hostname_input str No description.
password_input str No description.
port_input typing.Union[int, float] No description.
private_key_input str No description.
username_input str No description.
hostname str No description.
password str No description.
port typing.Union[int, float] No description.
private_key str No description.
username str No description.
internal_value DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

hostname_inputOptional
hostname_input: str
  • Type: str

password_inputOptional
password_input: str
  • Type: str

port_inputOptional
port_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

private_key_inputOptional
private_key_input: str
  • Type: str

username_inputOptional
username_input: str
  • Type: str

hostnameRequired
hostname: str
  • Type: str

passwordRequired
password: str
  • Type: str

portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

private_keyRequired
private_key: str
  • Type: str

usernameRequired
username: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity

DatabaseMigrationServiceConnectionProfileOracleOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_forward_ssh_connectivity
def put_forward_ssh_connectivity(
  hostname: str,
  port: typing.Union[int, float],
  username: str,
  password: str = None,
  private_key: str = None
) -> None
hostnameRequired
  • Type: str

Required. Hostname for the SSH tunnel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#hostname DatabaseMigrationServiceConnectionProfile#hostname}


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

Port for the SSH tunnel, default value is 22.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#port DatabaseMigrationServiceConnectionProfile#port}


usernameRequired
  • Type: str

Required. Username for the SSH tunnel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#username DatabaseMigrationServiceConnectionProfile#username}


passwordOptional
  • Type: str

Input only. SSH password. Only one of 'password' and 'private_key' can be configured.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#password DatabaseMigrationServiceConnectionProfile#password}


private_keyOptional
  • Type: str

Input only. SSH private key. Only one of 'password' and 'private_key' can be configured.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_key DatabaseMigrationServiceConnectionProfile#private_key}


put_private_connectivity
def put_private_connectivity(
  private_connection: str
) -> None
private_connectionRequired
  • Type: str

Required. The resource name (URI) of the private connection.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#private_connection DatabaseMigrationServiceConnectionProfile#private_connection}


put_ssl
def put_ssl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None
) -> None
ca_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


put_static_service_ip_connectivity
def put_static_service_ip_connectivity() -> None
reset_forward_ssh_connectivity
def reset_forward_ssh_connectivity() -> None
reset_private_connectivity
def reset_private_connectivity() -> None
reset_ssl
def reset_ssl() -> None
reset_static_service_ip_connectivity
def reset_static_service_ip_connectivity() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
forward_ssh_connectivity DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivityOutputReference No description.
password_set cdktf.IResolvable No description.
private_connectivity DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivityOutputReference No description.
ssl DatabaseMigrationServiceConnectionProfileOracleSslOutputReference No description.
static_service_ip_connectivity DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivityOutputReference No description.
database_service_input str No description.
forward_ssh_connectivity_input DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity No description.
host_input str No description.
password_input str No description.
port_input typing.Union[int, float] No description.
private_connectivity_input DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity No description.
ssl_input DatabaseMigrationServiceConnectionProfileOracleSsl No description.
static_service_ip_connectivity_input DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity No description.
username_input str No description.
database_service str No description.
host str No description.
password str No description.
port typing.Union[int, float] No description.
username str No description.
internal_value DatabaseMigrationServiceConnectionProfileOracle No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

forward_ssh_connectivityRequired
forward_ssh_connectivity: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivityOutputReference

password_setRequired
password_set: IResolvable
  • Type: cdktf.IResolvable

private_connectivityRequired
private_connectivity: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivityOutputReference

sslRequired
ssl: DatabaseMigrationServiceConnectionProfileOracleSslOutputReference

static_service_ip_connectivityRequired
static_service_ip_connectivity: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivityOutputReference

database_service_inputOptional
database_service_input: str
  • Type: str

forward_ssh_connectivity_inputOptional
forward_ssh_connectivity_input: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity

host_inputOptional
host_input: str
  • Type: str

password_inputOptional
password_input: str
  • Type: str

port_inputOptional
port_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

private_connectivity_inputOptional
private_connectivity_input: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity

ssl_inputOptional
ssl_input: DatabaseMigrationServiceConnectionProfileOracleSsl

static_service_ip_connectivity_inputOptional
static_service_ip_connectivity_input: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity

username_inputOptional
username_input: str
  • Type: str

database_serviceRequired
database_service: str
  • Type: str

hostRequired
host: str
  • Type: str

passwordRequired
password: str
  • Type: str

portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

usernameRequired
username: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileOracle

DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivityOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

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

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

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

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


fqnRequired
fqn: str
  • Type: str

private_connection_inputOptional
private_connection_input: str
  • Type: str

private_connectionRequired
private_connection: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity

DatabaseMigrationServiceConnectionProfileOracleSslOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_ca_certificate
def reset_ca_certificate() -> None
reset_client_certificate
def reset_client_certificate() -> None
reset_client_key
def reset_client_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
type str No description.
ca_certificate_input str No description.
client_certificate_input str No description.
client_key_input str No description.
ca_certificate str No description.
client_certificate str No description.
client_key str No description.
internal_value DatabaseMigrationServiceConnectionProfileOracleSsl No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

typeRequired
type: str
  • Type: str

ca_certificate_inputOptional
ca_certificate_input: str
  • Type: str

client_certificate_inputOptional
client_certificate_input: str
  • Type: str

client_key_inputOptional
client_key_input: str
  • Type: str

ca_certificateRequired
ca_certificate: str
  • Type: str

client_certificateRequired
client_certificate: str
  • Type: str

client_keyRequired
client_key: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileOracleSsl

DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivityOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

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

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

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

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


fqnRequired
fqn: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity

DatabaseMigrationServiceConnectionProfilePostgresqlOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_ssl
def put_ssl(
  ca_certificate: str = None,
  client_certificate: str = None,
  client_key: str = None,
  type: str = None
) -> None
ca_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}


client_certificateOptional
  • Type: str

Input only.

The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}


client_keyOptional
  • Type: str

Input only.

The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}


typeOptional
  • Type: str

The current connection profile state. Possible values: ["SERVER_ONLY", "SERVER_CLIENT", "REQUIRED", "NONE"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#type DatabaseMigrationServiceConnectionProfile#type}


reset_alloydb_cluster_id
def reset_alloydb_cluster_id() -> None
reset_cloud_sql_id
def reset_cloud_sql_id() -> None
reset_host
def reset_host() -> None
reset_password
def reset_password() -> None
reset_port
def reset_port() -> None
reset_ssl
def reset_ssl() -> None
reset_username
def reset_username() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
network_architecture str No description.
password_set cdktf.IResolvable No description.
ssl DatabaseMigrationServiceConnectionProfilePostgresqlSslOutputReference No description.
alloydb_cluster_id_input str No description.
cloud_sql_id_input str No description.
host_input str No description.
password_input str No description.
port_input typing.Union[int, float] No description.
ssl_input DatabaseMigrationServiceConnectionProfilePostgresqlSsl No description.
username_input str No description.
alloydb_cluster_id str No description.
cloud_sql_id str No description.
host str No description.
password str No description.
port typing.Union[int, float] No description.
username str No description.
internal_value DatabaseMigrationServiceConnectionProfilePostgresql No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

network_architectureRequired
network_architecture: str
  • Type: str

password_setRequired
password_set: IResolvable
  • Type: cdktf.IResolvable

sslRequired
ssl: DatabaseMigrationServiceConnectionProfilePostgresqlSslOutputReference

alloydb_cluster_id_inputOptional
alloydb_cluster_id_input: str
  • Type: str

cloud_sql_id_inputOptional
cloud_sql_id_input: str
  • Type: str

host_inputOptional
host_input: str
  • Type: str

password_inputOptional
password_input: str
  • Type: str

port_inputOptional
port_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

ssl_inputOptional
ssl_input: DatabaseMigrationServiceConnectionProfilePostgresqlSsl

username_inputOptional
username_input: str
  • Type: str

alloydb_cluster_idRequired
alloydb_cluster_id: str
  • Type: str

cloud_sql_idRequired
cloud_sql_id: str
  • Type: str

hostRequired
host: str
  • Type: str

passwordRequired
password: str
  • Type: str

portRequired
port: typing.Union[int, float]
  • Type: typing.Union[int, float]

usernameRequired
username: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfilePostgresql

DatabaseMigrationServiceConnectionProfilePostgresqlSslOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_ca_certificate
def reset_ca_certificate() -> None
reset_client_certificate
def reset_client_certificate() -> None
reset_client_key
def reset_client_key() -> None
reset_type
def reset_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
ca_certificate_input str No description.
client_certificate_input str No description.
client_key_input str No description.
type_input str No description.
ca_certificate str No description.
client_certificate str No description.
client_key str No description.
type str No description.
internal_value DatabaseMigrationServiceConnectionProfilePostgresqlSsl No description.

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

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

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


fqnRequired
fqn: str
  • Type: str

ca_certificate_inputOptional
ca_certificate_input: str
  • Type: str

client_certificate_inputOptional
client_certificate_input: str
  • Type: str

client_key_inputOptional
client_key_input: str
  • Type: str

type_inputOptional
type_input: str
  • Type: str

ca_certificateRequired
ca_certificate: str
  • Type: str

client_certificateRequired
client_certificate: str
  • Type: str

client_keyRequired
client_key: str
  • Type: str

typeRequired
type: str
  • Type: str

internal_valueOptional
internal_value: DatabaseMigrationServiceConnectionProfilePostgresqlSsl

DatabaseMigrationServiceConnectionProfileTimeoutsOutputReference

Initializers

from cdktf_cdktf_provider_google import database_migration_service_connection_profile

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

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

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

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

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

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

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

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

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

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

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

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

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

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

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

Properties

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

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

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

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


fqnRequired
fqn: str
  • Type: str

create_inputOptional
create_input: str
  • Type: str

delete_inputOptional
delete_input: str
  • Type: str

update_inputOptional
update_input: str
  • Type: str

createRequired
create: str
  • Type: str

deleteRequired
delete: str
  • Type: str

updateRequired
update: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]