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}.
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. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- Type: str
The 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}
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}
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}
- 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}
- 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.
- 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}
- 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}
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}
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}
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}
- 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}.
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}
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. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
def add_move_target(
move_target: str
) -> None
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def move_from_id(
id: str
) -> None
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
def move_to(
move_target: str,
index: typing.Union[str, typing.Union[int, float]] = None
) -> None
Moves this resource to the target resource given by moveTarget.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: typing.Union[str, typing.Union[int, float]]
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
def put_alloydb(
cluster_id: str,
settings: DatabaseMigrationServiceConnectionProfileAlloydbSettings = None
) -> None
- 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}
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}
def put_cloudsql(
settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettings = None
) -> None
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}
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
- 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}
- 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}
- 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}
- 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}
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}
- 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}
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
- 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}
- 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}
- 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}
- 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}
- 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_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_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}
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_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}
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
- 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}
- 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}
- 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}
- 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}
- 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}
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}
- 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}
def put_timeouts(
create: str = None,
delete: str = None,
update: str = None
) -> None
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/database_migration_service_connection_profile#create DatabaseMigrationServiceConnectionProfile#create}.
- 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}.
- 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}.
def reset_alloydb() -> None
def reset_cloudsql() -> None
def reset_display_name() -> None
def reset_id() -> None
def reset_labels() -> None
def reset_location() -> None
def reset_mysql() -> None
def reset_oracle() -> None
def reset_postgresql() -> None
def reset_project() -> None
def reset_timeouts() -> None
Name | Description |
---|---|
is_construct |
Checks if x is a construct. |
is_terraform_element |
No description. |
is_terraform_resource |
No description. |
generate_config_for_import |
Generates CDKTF code for importing a DatabaseMigrationServiceConnectionProfile resource upon running "cdktf plan ". |
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.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfile.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
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 ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the DatabaseMigrationServiceConnectionProfile to import.
- 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
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the DatabaseMigrationServiceConnectionProfile to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktf_stack |
cdktf.TerraformStack |
No description. |
fqn |
str |
No description. |
friendly_unique_id |
str |
No description. |
terraform_meta_arguments |
typing.Mapping[typing.Any] |
No description. |
terraform_resource_type |
str |
No description. |
terraform_generator_metadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[str] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
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. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
alloydb: DatabaseMigrationServiceConnectionProfileAlloydbOutputReference
cloudsql: DatabaseMigrationServiceConnectionProfileCloudsqlOutputReference
create_time: str
- Type: str
dbprovider: str
- Type: str
effective_labels: StringMap
- Type: cdktf.StringMap
error: DatabaseMigrationServiceConnectionProfileErrorList
mysql: DatabaseMigrationServiceConnectionProfileMysqlOutputReference
name: str
- Type: str
oracle: DatabaseMigrationServiceConnectionProfileOracleOutputReference
postgresql: DatabaseMigrationServiceConnectionProfilePostgresqlOutputReference
state: str
- Type: str
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: DatabaseMigrationServiceConnectionProfileTimeoutsOutputReference
alloydb_input: DatabaseMigrationServiceConnectionProfileAlloydb
cloudsql_input: DatabaseMigrationServiceConnectionProfileCloudsql
connection_profile_id_input: str
- Type: str
display_name_input: str
- Type: str
id_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
location_input: str
- Type: str
mysql_input: DatabaseMigrationServiceConnectionProfileMysql
oracle_input: DatabaseMigrationServiceConnectionProfileOracle
postgresql_input: DatabaseMigrationServiceConnectionProfilePostgresql
project_input: str
- Type: str
timeouts_input: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]
- Type: typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]
connection_profile_id: str
- Type: str
display_name: str
- Type: str
id: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
location: str
- Type: str
project: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydb(
cluster_id: str,
settings: DatabaseMigrationServiceConnectionProfileAlloydbSettings = None
)
Name | Type | Description |
---|---|---|
cluster_id |
str |
Required. The AlloyDB cluster ID that this connection profile is associated with. |
settings |
DatabaseMigrationServiceConnectionProfileAlloydbSettings |
settings block. |
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}
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}
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
)
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_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_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}
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_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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser(
password: str,
user: str
)
Name | Type | Description |
---|---|---|
password |
str |
The initial password for the user. |
user |
str |
The database username. |
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}
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}
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
)
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. |
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_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_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}
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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig(
cpu_count: typing.Union[int, float]
)
Name | Type | Description |
---|---|---|
cpu_count |
typing.Union[int, float] |
The number of CPU's in the VM instance. |
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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileCloudsql(
settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettings = None
)
Name | Type | Description |
---|---|---|
settings |
DatabaseMigrationServiceConnectionProfileCloudsqlSettings |
settings block. |
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}
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
)
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_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_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_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_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}
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_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_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_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_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}
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_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_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_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}
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_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}
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}
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
)
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_networks: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
- Type: typing.Union[cdktf.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_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_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_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}
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
)
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. |
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_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}
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}
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}
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
)
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. |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
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}
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}
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_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}
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.
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}
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}
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}
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}
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}
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}.
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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileError()
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
)
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_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}
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}
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}
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}
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}
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}
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
)
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_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_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_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}
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}
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
)
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_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}
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}
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}
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}
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_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_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}
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_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}
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
)
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. |
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}
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}
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}
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_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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity(
private_connection: str
)
Name | Type | Description |
---|---|---|
private_connection |
str |
Required. The resource name (URI) of the private connection. |
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}
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
)
Name | Type | Description |
---|---|---|
ca_certificate |
str |
Input only. |
client_certificate |
str |
Input only. |
client_key |
str |
Input only. |
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_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_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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity()
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
)
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_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_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}
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}
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}
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}
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}
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}
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
)
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_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_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_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}
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}
from cdktf_cdktf_provider_google import database_migration_service_connection_profile
databaseMigrationServiceConnectionProfile.DatabaseMigrationServiceConnectionProfileTimeouts(
create: str = None,
delete: str = None,
update: str = None
)
Name | Type | Description |
---|---|---|
create |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/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}. |
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}.
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}.
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}.
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_settings |
No description. |
reset_settings |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_settings(
initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser,
vpc_network: str,
labels: typing.Mapping[str] = None,
primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings = None
) -> None
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}
- 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}
- 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_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}
def reset_settings() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsOutputReference
cluster_id_input: str
- Type: str
settings_input: DatabaseMigrationServiceConnectionProfileAlloydbSettings
cluster_id: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileAlloydb
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
password_set: IResolvable
- Type: cdktf.IResolvable
password_input: str
- Type: str
user_input: str
- Type: str
password: str
- Type: str
user: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_initial_user |
No description. |
put_primary_instance_settings |
No description. |
reset_labels |
No description. |
reset_primary_instance_settings |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_initial_user(
password: str,
user: str
) -> None
- 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}
- 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}
def put_primary_instance_settings(
id: str,
machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig,
database_flags: typing.Mapping[str] = None,
labels: typing.Mapping[str] = None
) -> None
- 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_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}
- 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}
- 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}
def reset_labels() -> None
def reset_primary_instance_settings() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
initial_user: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUserOutputReference
primary_instance_settings: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputReference
- Type: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputReference
initial_user_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsInitialUser
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
primary_instance_settings_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings
vpc_network_input: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
vpc_network: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettings
DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputReference
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
cpu_count_input |
typing.Union[int, float] |
No description. |
cpu_count |
typing.Union[int, float] |
No description. |
internal_value |
DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
cpu_count_input: typing.Union[int, float]
- Type: typing.Union[int, float]
cpu_count: typing.Union[int, float]
- Type: typing.Union[int, float]
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_machine_config |
No description. |
reset_database_flags |
No description. |
reset_labels |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_machine_config(
cpu_count: typing.Union[int, float]
) -> None
- 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}
def reset_database_flags() -> None
def reset_labels() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
machine_config: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputReference
private_ip: str
- Type: str
database_flags_input: typing.Mapping[str]
- Type: typing.Mapping[str]
id_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
machine_config_input: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig
database_flags: typing.Mapping[str]
- Type: typing.Mapping[str]
id: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
internal_value: DatabaseMigrationServiceConnectionProfileAlloydbSettingsPrimaryInstanceSettings
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_settings |
No description. |
reset_settings |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_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
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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_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}
- 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}
- 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}
- 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}
- 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}
- 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}
def reset_settings() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
cloud_sql_id: str
- Type: str
private_ip: str
- Type: str
public_ip: str
- Type: str
settings: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsOutputReference
settings_input: DatabaseMigrationServiceConnectionProfileCloudsqlSettings
internal_value: DatabaseMigrationServiceConnectionProfileCloudsql
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
all_with_map_key |
Creating an iterator for this complex list. |
compute_fqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
get |
No description. |
def all_with_map_key(
map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
- Type: typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_expire_time |
No description. |
reset_label |
No description. |
reset_ttl |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_expire_time() -> None
def reset_label() -> None
def reset_ttl() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
expire_time_input: str
- Type: str
label_input: str
- Type: str
ttl_input: str
- Type: str
value_input: str
- Type: str
expire_time: str
- Type: str
label: str
- Type: str
ttl: str
- Type: str
value: str
- Type: str
internal_value: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]
- Type: typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_authorized_networks |
No description. |
reset_authorized_networks |
No description. |
reset_enable_ipv4 |
No description. |
reset_private_network |
No description. |
reset_require_ssl |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_authorized_networks(
value: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
def reset_authorized_networks() -> None
def reset_enable_ipv4() -> None
def reset_private_network() -> None
def reset_require_ssl() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
authorized_networks: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworksList
authorized_networks_input: typing.Union[IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
- Type: typing.Union[cdktf.IResolvable, typing.List[DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworks]]
enable_ipv4_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
private_network_input: str
- Type: str
require_ssl_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_ipv4: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
private_network: str
- Type: str
require_ssl: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
internal_value: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_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
- Type: typing.Union[cdktf.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}
- 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}
- 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}
- 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}
def reset_activation_policy() -> None
def reset_auto_storage_increase() -> None
def reset_cmek_key_name() -> None
def reset_collation() -> None
def reset_database_flags() -> None
def reset_database_version() -> None
def reset_data_disk_size_gb() -> None
def reset_data_disk_type() -> None
def reset_edition() -> None
def reset_ip_config() -> None
def reset_root_password() -> None
def reset_storage_auto_resize_limit() -> None
def reset_tier() -> None
def reset_user_labels() -> None
def reset_zone() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
ip_config: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfigOutputReference
root_password_set: IResolvable
- Type: cdktf.IResolvable
activation_policy_input: str
- Type: str
auto_storage_increase_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
cmek_key_name_input: str
- Type: str
collation_input: str
- Type: str
database_flags_input: typing.Mapping[str]
- Type: typing.Mapping[str]
database_version_input: str
- Type: str
data_disk_size_gb_input: str
- Type: str
data_disk_type_input: str
- Type: str
edition_input: str
- Type: str
ip_config_input: DatabaseMigrationServiceConnectionProfileCloudsqlSettingsIpConfig
root_password_input: str
- Type: str
source_id_input: str
- Type: str
storage_auto_resize_limit_input: str
- Type: str
tier_input: str
- Type: str
user_labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
zone_input: str
- Type: str
activation_policy: str
- Type: str
auto_storage_increase: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
cmek_key_name: str
- Type: str
collation: str
- Type: str
database_flags: typing.Mapping[str]
- Type: typing.Mapping[str]
database_version: str
- Type: str
data_disk_size_gb: str
- Type: str
data_disk_type: str
- Type: str
edition: str
- Type: str
root_password: str
- Type: str
source_id: str
- Type: str
storage_auto_resize_limit: str
- Type: str
tier: str
- Type: str
user_labels: typing.Mapping[str]
- Type: typing.Mapping[str]
zone: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileCloudsqlSettings
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
all_with_map_key |
Creating an iterator for this complex list. |
compute_fqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
get |
No description. |
def all_with_map_key(
map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> DatabaseMigrationServiceConnectionProfileErrorOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
from cdktf_cdktf_provider_google import 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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
code |
typing.Union[int, float] |
No description. |
details |
cdktf.StringMapList |
No description. |
message |
str |
No description. |
internal_value |
DatabaseMigrationServiceConnectionProfileError |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
code: typing.Union[int, float]
- Type: typing.Union[int, float]
details: StringMapList
- Type: cdktf.StringMapList
message: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileError
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_ssl(
ca_certificate: str = None,
client_certificate: str = None,
client_key: str = None,
type: str = None
) -> None
- 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}
- 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}
- 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}
- 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}
def reset_cloud_sql_id() -> None
def reset_host() -> None
def reset_password() -> None
def reset_port() -> None
def reset_ssl() -> None
def reset_username() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
password_set: IResolvable
- Type: cdktf.IResolvable
ssl: DatabaseMigrationServiceConnectionProfileMysqlSslOutputReference
cloud_sql_id_input: str
- Type: str
host_input: str
- Type: str
password_input: str
- Type: str
port_input: typing.Union[int, float]
- Type: typing.Union[int, float]
ssl_input: DatabaseMigrationServiceConnectionProfileMysqlSsl
username_input: str
- Type: str
cloud_sql_id: str
- Type: str
host: str
- Type: str
password: str
- Type: str
port: typing.Union[int, float]
- Type: typing.Union[int, float]
username: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileMysql
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_ca_certificate |
No description. |
reset_client_certificate |
No description. |
reset_client_key |
No description. |
reset_type |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_ca_certificate() -> None
def reset_client_certificate() -> None
def reset_client_key() -> None
def reset_type() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
ca_certificate_input: str
- Type: str
client_certificate_input: str
- Type: str
client_key_input: str
- Type: str
type_input: str
- Type: str
ca_certificate: str
- Type: str
client_certificate: str
- Type: str
client_key: str
- Type: str
type: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileMysqlSsl
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_password |
No description. |
reset_private_key |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_password() -> None
def reset_private_key() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
hostname_input: str
- Type: str
password_input: str
- Type: str
port_input: typing.Union[int, float]
- Type: typing.Union[int, float]
private_key_input: str
- Type: str
username_input: str
- Type: str
hostname: str
- Type: str
password: str
- Type: str
port: typing.Union[int, float]
- Type: typing.Union[int, float]
private_key: str
- Type: str
username: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_forward_ssh_connectivity(
hostname: str,
port: typing.Union[int, float],
username: str,
password: str = None,
private_key: str = None
) -> None
- 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}
- 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}
- 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}
- 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}
- 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}
def put_private_connectivity(
private_connection: str
) -> None
- 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}
def put_ssl(
ca_certificate: str = None,
client_certificate: str = None,
client_key: str = None
) -> None
- 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}
- 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}
- 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}
def put_static_service_ip_connectivity() -> None
def reset_forward_ssh_connectivity() -> None
def reset_private_connectivity() -> None
def reset_ssl() -> None
def reset_static_service_ip_connectivity() -> None
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
forward_ssh_connectivity: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivityOutputReference
password_set: IResolvable
- Type: cdktf.IResolvable
private_connectivity: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivityOutputReference
ssl: DatabaseMigrationServiceConnectionProfileOracleSslOutputReference
static_service_ip_connectivity: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivityOutputReference
database_service_input: str
- Type: str
forward_ssh_connectivity_input: DatabaseMigrationServiceConnectionProfileOracleForwardSshConnectivity
host_input: str
- Type: str
password_input: str
- Type: str
port_input: typing.Union[int, float]
- Type: typing.Union[int, float]
private_connectivity_input: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity
ssl_input: DatabaseMigrationServiceConnectionProfileOracleSsl
static_service_ip_connectivity_input: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity
username_input: str
- Type: str
database_service: str
- Type: str
host: str
- Type: str
password: str
- Type: str
port: typing.Union[int, float]
- Type: typing.Union[int, float]
username: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileOracle
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
private_connection_input |
str |
No description. |
private_connection |
str |
No description. |
internal_value |
DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
private_connection_input: str
- Type: str
private_connection: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileOraclePrivateConnectivity
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_ca_certificate |
No description. |
reset_client_certificate |
No description. |
reset_client_key |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_ca_certificate() -> None
def reset_client_certificate() -> None
def reset_client_key() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
type: str
- Type: str
ca_certificate_input: str
- Type: str
client_certificate_input: str
- Type: str
client_key_input: str
- Type: str
ca_certificate: str
- Type: str
client_certificate: str
- Type: str
client_key: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileOracleSsl
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfileOracleStaticServiceIpConnectivity
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_ssl(
ca_certificate: str = None,
client_certificate: str = None,
client_key: str = None,
type: str = None
) -> None
- 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}
- 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}
- 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}
- 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}
def reset_alloydb_cluster_id() -> None
def reset_cloud_sql_id() -> None
def reset_host() -> None
def reset_password() -> None
def reset_port() -> None
def reset_ssl() -> None
def reset_username() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
network_architecture: str
- Type: str
password_set: IResolvable
- Type: cdktf.IResolvable
ssl: DatabaseMigrationServiceConnectionProfilePostgresqlSslOutputReference
alloydb_cluster_id_input: str
- Type: str
cloud_sql_id_input: str
- Type: str
host_input: str
- Type: str
password_input: str
- Type: str
port_input: typing.Union[int, float]
- Type: typing.Union[int, float]
ssl_input: DatabaseMigrationServiceConnectionProfilePostgresqlSsl
username_input: str
- Type: str
alloydb_cluster_id: str
- Type: str
cloud_sql_id: str
- Type: str
host: str
- Type: str
password: str
- Type: str
port: typing.Union[int, float]
- Type: typing.Union[int, float]
username: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfilePostgresql
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_ca_certificate |
No description. |
reset_client_certificate |
No description. |
reset_client_key |
No description. |
reset_type |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_ca_certificate() -> None
def reset_client_certificate() -> None
def reset_client_key() -> None
def reset_type() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
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_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
ca_certificate_input: str
- Type: str
client_certificate_input: str
- Type: str
client_key_input: str
- Type: str
type_input: str
- Type: str
ca_certificate: str
- Type: str
client_certificate: str
- Type: str
client_key: str
- Type: str
type: str
- Type: str
internal_value: DatabaseMigrationServiceConnectionProfilePostgresqlSsl
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_create |
No description. |
reset_delete |
No description. |
reset_update |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_create() -> None
def reset_delete() -> None
def reset_update() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
create_input |
str |
No description. |
delete_input |
str |
No description. |
update_input |
str |
No description. |
create |
str |
No description. |
delete |
str |
No description. |
update |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
create_input: str
- Type: str
delete_input: str
- Type: str
update_input: str
- Type: str
create: str
- Type: str
delete: str
- Type: str
update: str
- Type: str
internal_value: typing.Union[IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]
- Type: typing.Union[cdktf.IResolvable, DatabaseMigrationServiceConnectionProfileTimeouts]