pulumi-aws 7.15.0__py3-none-any.whl → 7.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_aws/__init__.py +80 -0
- pulumi_aws/alb/listener.py +7 -7
- pulumi_aws/alb/target_group.py +7 -7
- pulumi_aws/alb/target_group_attachment.py +83 -0
- pulumi_aws/apigateway/domain_name.py +86 -7
- pulumi_aws/apigateway/get_domain_name.py +15 -1
- pulumi_aws/apigateway/integration.py +48 -8
- pulumi_aws/athena/_inputs.py +412 -5
- pulumi_aws/athena/outputs.py +342 -2
- pulumi_aws/backup/global_settings.py +15 -7
- pulumi_aws/bedrock/agentcore_memory_strategy.py +8 -0
- pulumi_aws/cleanrooms/collaboration.py +26 -6
- pulumi_aws/cloudfront/__init__.py +6 -0
- pulumi_aws/cloudfront/_inputs.py +3601 -478
- pulumi_aws/cloudfront/connection_function.py +658 -0
- pulumi_aws/cloudfront/connection_group.py +649 -0
- pulumi_aws/cloudfront/distribution.py +142 -0
- pulumi_aws/cloudfront/distribution_tenant.py +857 -0
- pulumi_aws/cloudfront/get_connection_group.py +249 -0
- pulumi_aws/cloudfront/get_distribution_tenant.py +279 -0
- pulumi_aws/cloudfront/multitenant_distribution.py +1181 -0
- pulumi_aws/cloudfront/outputs.py +3034 -376
- pulumi_aws/cloudwatch/log_subscription_filter.py +136 -42
- pulumi_aws/directconnect/gateway.py +78 -3
- pulumi_aws/directconnect/get_gateway.py +24 -4
- pulumi_aws/dlm/_inputs.py +3 -3
- pulumi_aws/dlm/outputs.py +2 -2
- pulumi_aws/dynamodb/__init__.py +1 -0
- pulumi_aws/dynamodb/_inputs.py +370 -0
- pulumi_aws/dynamodb/global_secondary_index.py +666 -0
- pulumi_aws/dynamodb/outputs.py +315 -0
- pulumi_aws/dynamodb/table.py +9 -1
- pulumi_aws/ec2/_inputs.py +44 -4
- pulumi_aws/ec2/get_vpc_endpoint.py +24 -4
- pulumi_aws/ec2/outputs.py +54 -4
- pulumi_aws/ecr/__init__.py +1 -0
- pulumi_aws/ecr/_inputs.py +58 -22
- pulumi_aws/ecr/get_repository_creation_template.py +1 -1
- pulumi_aws/ecr/lifecycle_policy.py +152 -64
- pulumi_aws/ecr/outputs.py +37 -15
- pulumi_aws/ecr/pull_time_update_exclusion.py +363 -0
- pulumi_aws/ecr/repository_creation_template.py +7 -7
- pulumi_aws/ecs/_inputs.py +20 -0
- pulumi_aws/ecs/outputs.py +14 -0
- pulumi_aws/ecs/task_definition.py +28 -28
- pulumi_aws/elasticache/replication_group.py +7 -7
- pulumi_aws/fsx/ontap_file_system.py +14 -0
- pulumi_aws/glue/resource_policy.py +4 -4
- pulumi_aws/guardduty/_inputs.py +41 -1
- pulumi_aws/guardduty/outputs.py +27 -1
- pulumi_aws/iam/get_saml_provider.py +15 -1
- pulumi_aws/iam/outbound_web_identity_federation.py +0 -4
- pulumi_aws/iam/policy.py +47 -0
- pulumi_aws/iam/saml_provider.py +28 -0
- pulumi_aws/iam/virtual_mfa_device.py +66 -38
- pulumi_aws/imagebuilder/_inputs.py +87 -0
- pulumi_aws/imagebuilder/image.py +47 -0
- pulumi_aws/imagebuilder/image_pipeline.py +47 -0
- pulumi_aws/imagebuilder/outputs.py +87 -0
- pulumi_aws/kms/grant.py +18 -18
- pulumi_aws/lambda_/_inputs.py +24 -4
- pulumi_aws/lambda_/event_source_mapping.py +2 -0
- pulumi_aws/lambda_/function.py +28 -0
- pulumi_aws/lambda_/function_url.py +4 -0
- pulumi_aws/lambda_/get_function.py +15 -1
- pulumi_aws/lambda_/outputs.py +17 -3
- pulumi_aws/lambda_/permission.py +47 -0
- pulumi_aws/lb/listener.py +7 -7
- pulumi_aws/lb/target_group.py +7 -7
- pulumi_aws/lb/target_group_attachment.py +83 -0
- pulumi_aws/networkfirewall/_inputs.py +3 -3
- pulumi_aws/networkfirewall/outputs.py +2 -2
- pulumi_aws/networkfirewall/vpc_endpoint_association.py +2 -2
- pulumi_aws/networkmanager/vpc_attachment.py +7 -7
- pulumi_aws/opensearchingest/pipeline.py +47 -0
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/tag.py +292 -0
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/cluster.py +21 -21
- pulumi_aws/rds/get_proxy.py +29 -1
- pulumi_aws/rds/proxy.py +94 -0
- pulumi_aws/rds/proxy_default_target_group.py +0 -76
- pulumi_aws/rds/proxy_target.py +0 -80
- pulumi_aws/redshift/__init__.py +1 -0
- pulumi_aws/redshift/_inputs.py +329 -0
- pulumi_aws/redshift/idc_application.py +687 -0
- pulumi_aws/redshift/outputs.py +265 -0
- pulumi_aws/route53/get_resolver_firewall_rules.py +9 -0
- pulumi_aws/route53/get_resolver_rule.py +19 -4
- pulumi_aws/route53/outputs.py +108 -1
- pulumi_aws/route53/resolver_firewall_rule.py +199 -32
- pulumi_aws/secretsmanager/__init__.py +1 -0
- pulumi_aws/secretsmanager/tag.py +333 -0
- pulumi_aws/sesv2/__init__.py +1 -0
- pulumi_aws/sesv2/tenant.py +418 -0
- pulumi_aws/sfn/activity.py +0 -4
- pulumi_aws/sfn/alias.py +0 -4
- pulumi_aws/transfer/_inputs.py +126 -0
- pulumi_aws/transfer/outputs.py +97 -0
- pulumi_aws/transfer/web_app.py +54 -7
- pulumi_aws/vpclattice/service_network_resource_association.py +47 -0
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/RECORD +105 -93
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/top_level.txt +0 -0
pulumi_aws/rds/proxy.py
CHANGED
|
@@ -27,11 +27,13 @@ class ProxyArgs:
|
|
|
27
27
|
auths: Optional[pulumi.Input[Sequence[pulumi.Input['ProxyAuthArgs']]]] = None,
|
|
28
28
|
debug_logging: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
29
|
default_auth_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
endpoint_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
31
|
idle_client_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
31
32
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
33
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
34
|
require_tls: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
34
35
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
36
|
+
target_connection_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
37
|
vpc_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
36
38
|
"""
|
|
37
39
|
The set of arguments for constructing a Proxy resource.
|
|
@@ -41,11 +43,13 @@ class ProxyArgs:
|
|
|
41
43
|
:param pulumi.Input[Sequence[pulumi.Input['ProxyAuthArgs']]] auths: Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `default_auth_scheme` is `NONE` or unspecified. Described below.
|
|
42
44
|
:param pulumi.Input[_builtins.bool] debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
|
|
43
45
|
:param pulumi.Input[_builtins.str] default_auth_scheme: Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.
|
|
46
|
+
:param pulumi.Input[_builtins.str] endpoint_network_type: Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
44
47
|
:param pulumi.Input[_builtins.int] idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
45
48
|
:param pulumi.Input[_builtins.str] name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
|
|
46
49
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
47
50
|
:param pulumi.Input[_builtins.bool] require_tls: A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
48
51
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A mapping of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
52
|
+
:param pulumi.Input[_builtins.str] target_connection_network_type: Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
49
53
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy.
|
|
50
54
|
"""
|
|
51
55
|
pulumi.set(__self__, "engine_family", engine_family)
|
|
@@ -57,6 +61,8 @@ class ProxyArgs:
|
|
|
57
61
|
pulumi.set(__self__, "debug_logging", debug_logging)
|
|
58
62
|
if default_auth_scheme is not None:
|
|
59
63
|
pulumi.set(__self__, "default_auth_scheme", default_auth_scheme)
|
|
64
|
+
if endpoint_network_type is not None:
|
|
65
|
+
pulumi.set(__self__, "endpoint_network_type", endpoint_network_type)
|
|
60
66
|
if idle_client_timeout is not None:
|
|
61
67
|
pulumi.set(__self__, "idle_client_timeout", idle_client_timeout)
|
|
62
68
|
if name is not None:
|
|
@@ -67,6 +73,8 @@ class ProxyArgs:
|
|
|
67
73
|
pulumi.set(__self__, "require_tls", require_tls)
|
|
68
74
|
if tags is not None:
|
|
69
75
|
pulumi.set(__self__, "tags", tags)
|
|
76
|
+
if target_connection_network_type is not None:
|
|
77
|
+
pulumi.set(__self__, "target_connection_network_type", target_connection_network_type)
|
|
70
78
|
if vpc_security_group_ids is not None:
|
|
71
79
|
pulumi.set(__self__, "vpc_security_group_ids", vpc_security_group_ids)
|
|
72
80
|
|
|
@@ -142,6 +150,18 @@ class ProxyArgs:
|
|
|
142
150
|
def default_auth_scheme(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
151
|
pulumi.set(self, "default_auth_scheme", value)
|
|
144
152
|
|
|
153
|
+
@_builtins.property
|
|
154
|
+
@pulumi.getter(name="endpointNetworkType")
|
|
155
|
+
def endpoint_network_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
156
|
+
"""
|
|
157
|
+
Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
158
|
+
"""
|
|
159
|
+
return pulumi.get(self, "endpoint_network_type")
|
|
160
|
+
|
|
161
|
+
@endpoint_network_type.setter
|
|
162
|
+
def endpoint_network_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
163
|
+
pulumi.set(self, "endpoint_network_type", value)
|
|
164
|
+
|
|
145
165
|
@_builtins.property
|
|
146
166
|
@pulumi.getter(name="idleClientTimeout")
|
|
147
167
|
def idle_client_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
@@ -202,6 +222,18 @@ class ProxyArgs:
|
|
|
202
222
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
203
223
|
pulumi.set(self, "tags", value)
|
|
204
224
|
|
|
225
|
+
@_builtins.property
|
|
226
|
+
@pulumi.getter(name="targetConnectionNetworkType")
|
|
227
|
+
def target_connection_network_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
228
|
+
"""
|
|
229
|
+
Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
230
|
+
"""
|
|
231
|
+
return pulumi.get(self, "target_connection_network_type")
|
|
232
|
+
|
|
233
|
+
@target_connection_network_type.setter
|
|
234
|
+
def target_connection_network_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
235
|
+
pulumi.set(self, "target_connection_network_type", value)
|
|
236
|
+
|
|
205
237
|
@_builtins.property
|
|
206
238
|
@pulumi.getter(name="vpcSecurityGroupIds")
|
|
207
239
|
def vpc_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
@@ -223,6 +255,7 @@ class _ProxyState:
|
|
|
223
255
|
debug_logging: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
224
256
|
default_auth_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
|
225
257
|
endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
258
|
+
endpoint_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
259
|
engine_family: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
260
|
idle_client_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
228
261
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -231,6 +264,7 @@ class _ProxyState:
|
|
|
231
264
|
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
265
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
233
266
|
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
267
|
+
target_connection_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
268
|
vpc_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
235
269
|
vpc_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
236
270
|
"""
|
|
@@ -240,6 +274,7 @@ class _ProxyState:
|
|
|
240
274
|
:param pulumi.Input[_builtins.bool] debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
|
|
241
275
|
:param pulumi.Input[_builtins.str] default_auth_scheme: Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.
|
|
242
276
|
:param pulumi.Input[_builtins.str] endpoint: The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
|
|
277
|
+
:param pulumi.Input[_builtins.str] endpoint_network_type: Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
243
278
|
:param pulumi.Input[_builtins.str] engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.
|
|
244
279
|
:param pulumi.Input[_builtins.int] idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
245
280
|
:param pulumi.Input[_builtins.str] name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
|
|
@@ -248,6 +283,7 @@ class _ProxyState:
|
|
|
248
283
|
:param pulumi.Input[_builtins.str] role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
249
284
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A mapping of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
250
285
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
286
|
+
:param pulumi.Input[_builtins.str] target_connection_network_type: Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
251
287
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy.
|
|
252
288
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
253
289
|
"""
|
|
@@ -261,6 +297,8 @@ class _ProxyState:
|
|
|
261
297
|
pulumi.set(__self__, "default_auth_scheme", default_auth_scheme)
|
|
262
298
|
if endpoint is not None:
|
|
263
299
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
300
|
+
if endpoint_network_type is not None:
|
|
301
|
+
pulumi.set(__self__, "endpoint_network_type", endpoint_network_type)
|
|
264
302
|
if engine_family is not None:
|
|
265
303
|
pulumi.set(__self__, "engine_family", engine_family)
|
|
266
304
|
if idle_client_timeout is not None:
|
|
@@ -277,6 +315,8 @@ class _ProxyState:
|
|
|
277
315
|
pulumi.set(__self__, "tags", tags)
|
|
278
316
|
if tags_all is not None:
|
|
279
317
|
pulumi.set(__self__, "tags_all", tags_all)
|
|
318
|
+
if target_connection_network_type is not None:
|
|
319
|
+
pulumi.set(__self__, "target_connection_network_type", target_connection_network_type)
|
|
280
320
|
if vpc_security_group_ids is not None:
|
|
281
321
|
pulumi.set(__self__, "vpc_security_group_ids", vpc_security_group_ids)
|
|
282
322
|
if vpc_subnet_ids is not None:
|
|
@@ -342,6 +382,18 @@ class _ProxyState:
|
|
|
342
382
|
def endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
343
383
|
pulumi.set(self, "endpoint", value)
|
|
344
384
|
|
|
385
|
+
@_builtins.property
|
|
386
|
+
@pulumi.getter(name="endpointNetworkType")
|
|
387
|
+
def endpoint_network_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
388
|
+
"""
|
|
389
|
+
Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
390
|
+
"""
|
|
391
|
+
return pulumi.get(self, "endpoint_network_type")
|
|
392
|
+
|
|
393
|
+
@endpoint_network_type.setter
|
|
394
|
+
def endpoint_network_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
395
|
+
pulumi.set(self, "endpoint_network_type", value)
|
|
396
|
+
|
|
345
397
|
@_builtins.property
|
|
346
398
|
@pulumi.getter(name="engineFamily")
|
|
347
399
|
def engine_family(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -438,6 +490,18 @@ class _ProxyState:
|
|
|
438
490
|
def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
439
491
|
pulumi.set(self, "tags_all", value)
|
|
440
492
|
|
|
493
|
+
@_builtins.property
|
|
494
|
+
@pulumi.getter(name="targetConnectionNetworkType")
|
|
495
|
+
def target_connection_network_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
496
|
+
"""
|
|
497
|
+
Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
498
|
+
"""
|
|
499
|
+
return pulumi.get(self, "target_connection_network_type")
|
|
500
|
+
|
|
501
|
+
@target_connection_network_type.setter
|
|
502
|
+
def target_connection_network_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
503
|
+
pulumi.set(self, "target_connection_network_type", value)
|
|
504
|
+
|
|
441
505
|
@_builtins.property
|
|
442
506
|
@pulumi.getter(name="vpcSecurityGroupIds")
|
|
443
507
|
def vpc_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
@@ -472,6 +536,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
472
536
|
auths: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProxyAuthArgs', 'ProxyAuthArgsDict']]]]] = None,
|
|
473
537
|
debug_logging: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
474
538
|
default_auth_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
|
539
|
+
endpoint_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
475
540
|
engine_family: Optional[pulumi.Input[_builtins.str]] = None,
|
|
476
541
|
idle_client_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
477
542
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -479,6 +544,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
479
544
|
require_tls: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
480
545
|
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
481
546
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
547
|
+
target_connection_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
482
548
|
vpc_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
483
549
|
vpc_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
484
550
|
__props__=None):
|
|
@@ -496,6 +562,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
496
562
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProxyAuthArgs', 'ProxyAuthArgsDict']]]] auths: Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `default_auth_scheme` is `NONE` or unspecified. Described below.
|
|
497
563
|
:param pulumi.Input[_builtins.bool] debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
|
|
498
564
|
:param pulumi.Input[_builtins.str] default_auth_scheme: Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.
|
|
565
|
+
:param pulumi.Input[_builtins.str] endpoint_network_type: Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
499
566
|
:param pulumi.Input[_builtins.str] engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.
|
|
500
567
|
:param pulumi.Input[_builtins.int] idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
501
568
|
:param pulumi.Input[_builtins.str] name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
|
|
@@ -503,6 +570,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
503
570
|
:param pulumi.Input[_builtins.bool] require_tls: A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
504
571
|
:param pulumi.Input[_builtins.str] role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
505
572
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A mapping of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
573
|
+
:param pulumi.Input[_builtins.str] target_connection_network_type: Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
506
574
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy.
|
|
507
575
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
508
576
|
"""
|
|
@@ -539,6 +607,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
539
607
|
auths: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProxyAuthArgs', 'ProxyAuthArgsDict']]]]] = None,
|
|
540
608
|
debug_logging: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
541
609
|
default_auth_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
|
610
|
+
endpoint_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
542
611
|
engine_family: Optional[pulumi.Input[_builtins.str]] = None,
|
|
543
612
|
idle_client_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
544
613
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -546,6 +615,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
546
615
|
require_tls: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
547
616
|
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
548
617
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
618
|
+
target_connection_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
549
619
|
vpc_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
550
620
|
vpc_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
551
621
|
__props__=None):
|
|
@@ -560,6 +630,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
560
630
|
__props__.__dict__["auths"] = auths
|
|
561
631
|
__props__.__dict__["debug_logging"] = debug_logging
|
|
562
632
|
__props__.__dict__["default_auth_scheme"] = default_auth_scheme
|
|
633
|
+
__props__.__dict__["endpoint_network_type"] = endpoint_network_type
|
|
563
634
|
if engine_family is None and not opts.urn:
|
|
564
635
|
raise TypeError("Missing required property 'engine_family'")
|
|
565
636
|
__props__.__dict__["engine_family"] = engine_family
|
|
@@ -571,6 +642,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
571
642
|
raise TypeError("Missing required property 'role_arn'")
|
|
572
643
|
__props__.__dict__["role_arn"] = role_arn
|
|
573
644
|
__props__.__dict__["tags"] = tags
|
|
645
|
+
__props__.__dict__["target_connection_network_type"] = target_connection_network_type
|
|
574
646
|
__props__.__dict__["vpc_security_group_ids"] = vpc_security_group_ids
|
|
575
647
|
if vpc_subnet_ids is None and not opts.urn:
|
|
576
648
|
raise TypeError("Missing required property 'vpc_subnet_ids'")
|
|
@@ -593,6 +665,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
593
665
|
debug_logging: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
594
666
|
default_auth_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
|
595
667
|
endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
668
|
+
endpoint_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
596
669
|
engine_family: Optional[pulumi.Input[_builtins.str]] = None,
|
|
597
670
|
idle_client_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
598
671
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -601,6 +674,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
601
674
|
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
602
675
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
603
676
|
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
677
|
+
target_connection_network_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
604
678
|
vpc_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
605
679
|
vpc_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'Proxy':
|
|
606
680
|
"""
|
|
@@ -615,6 +689,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
615
689
|
:param pulumi.Input[_builtins.bool] debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
|
|
616
690
|
:param pulumi.Input[_builtins.str] default_auth_scheme: Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.
|
|
617
691
|
:param pulumi.Input[_builtins.str] endpoint: The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
|
|
692
|
+
:param pulumi.Input[_builtins.str] endpoint_network_type: Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
618
693
|
:param pulumi.Input[_builtins.str] engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.
|
|
619
694
|
:param pulumi.Input[_builtins.int] idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
620
695
|
:param pulumi.Input[_builtins.str] name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
|
|
@@ -623,6 +698,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
623
698
|
:param pulumi.Input[_builtins.str] role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
624
699
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A mapping of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
625
700
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
701
|
+
:param pulumi.Input[_builtins.str] target_connection_network_type: Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
626
702
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy.
|
|
627
703
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
628
704
|
"""
|
|
@@ -635,6 +711,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
635
711
|
__props__.__dict__["debug_logging"] = debug_logging
|
|
636
712
|
__props__.__dict__["default_auth_scheme"] = default_auth_scheme
|
|
637
713
|
__props__.__dict__["endpoint"] = endpoint
|
|
714
|
+
__props__.__dict__["endpoint_network_type"] = endpoint_network_type
|
|
638
715
|
__props__.__dict__["engine_family"] = engine_family
|
|
639
716
|
__props__.__dict__["idle_client_timeout"] = idle_client_timeout
|
|
640
717
|
__props__.__dict__["name"] = name
|
|
@@ -643,6 +720,7 @@ class Proxy(pulumi.CustomResource):
|
|
|
643
720
|
__props__.__dict__["role_arn"] = role_arn
|
|
644
721
|
__props__.__dict__["tags"] = tags
|
|
645
722
|
__props__.__dict__["tags_all"] = tags_all
|
|
723
|
+
__props__.__dict__["target_connection_network_type"] = target_connection_network_type
|
|
646
724
|
__props__.__dict__["vpc_security_group_ids"] = vpc_security_group_ids
|
|
647
725
|
__props__.__dict__["vpc_subnet_ids"] = vpc_subnet_ids
|
|
648
726
|
return Proxy(resource_name, opts=opts, __props__=__props__)
|
|
@@ -687,6 +765,14 @@ class Proxy(pulumi.CustomResource):
|
|
|
687
765
|
"""
|
|
688
766
|
return pulumi.get(self, "endpoint")
|
|
689
767
|
|
|
768
|
+
@_builtins.property
|
|
769
|
+
@pulumi.getter(name="endpointNetworkType")
|
|
770
|
+
def endpoint_network_type(self) -> pulumi.Output[_builtins.str]:
|
|
771
|
+
"""
|
|
772
|
+
Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `target_connection_network_type` must be `IPV6`.
|
|
773
|
+
"""
|
|
774
|
+
return pulumi.get(self, "endpoint_network_type")
|
|
775
|
+
|
|
690
776
|
@_builtins.property
|
|
691
777
|
@pulumi.getter(name="engineFamily")
|
|
692
778
|
def engine_family(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -751,6 +837,14 @@ class Proxy(pulumi.CustomResource):
|
|
|
751
837
|
"""
|
|
752
838
|
return pulumi.get(self, "tags_all")
|
|
753
839
|
|
|
840
|
+
@_builtins.property
|
|
841
|
+
@pulumi.getter(name="targetConnectionNetworkType")
|
|
842
|
+
def target_connection_network_type(self) -> pulumi.Output[_builtins.str]:
|
|
843
|
+
"""
|
|
844
|
+
Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.
|
|
845
|
+
"""
|
|
846
|
+
return pulumi.get(self, "target_connection_network_type")
|
|
847
|
+
|
|
754
848
|
@_builtins.property
|
|
755
849
|
@pulumi.getter(name="vpcSecurityGroupIds")
|
|
756
850
|
def vpc_security_group_ids(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
@@ -172,46 +172,8 @@ class ProxyDefaultTargetGroup(pulumi.CustomResource):
|
|
|
172
172
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
173
|
__props__=None):
|
|
174
174
|
"""
|
|
175
|
-
Provides a resource to manage an RDS DB proxy default target group resource.
|
|
176
|
-
|
|
177
|
-
The `rds.ProxyDefaultTargetGroup` behaves differently from normal resources, in that the provider does not _create_ or _destroy_ this resource, since it implicitly exists as part of an RDS DB Proxy. On the provider resource creation it is automatically imported and on resource destruction, the provider performs no actions in RDS.
|
|
178
|
-
|
|
179
175
|
## Example Usage
|
|
180
176
|
|
|
181
|
-
```python
|
|
182
|
-
import pulumi
|
|
183
|
-
import pulumi_aws as aws
|
|
184
|
-
|
|
185
|
-
example = aws.rds.Proxy("example",
|
|
186
|
-
name="example",
|
|
187
|
-
debug_logging=False,
|
|
188
|
-
engine_family="MYSQL",
|
|
189
|
-
idle_client_timeout=1800,
|
|
190
|
-
require_tls=True,
|
|
191
|
-
role_arn=example_aws_iam_role["arn"],
|
|
192
|
-
vpc_security_group_ids=[example_aws_security_group["id"]],
|
|
193
|
-
vpc_subnet_ids=[example_aws_subnet["id"]],
|
|
194
|
-
auths=[{
|
|
195
|
-
"auth_scheme": "SECRETS",
|
|
196
|
-
"description": "example",
|
|
197
|
-
"iam_auth": "DISABLED",
|
|
198
|
-
"secret_arn": example_aws_secretsmanager_secret["arn"],
|
|
199
|
-
}],
|
|
200
|
-
tags={
|
|
201
|
-
"Name": "example",
|
|
202
|
-
"Key": "value",
|
|
203
|
-
})
|
|
204
|
-
example_proxy_default_target_group = aws.rds.ProxyDefaultTargetGroup("example",
|
|
205
|
-
db_proxy_name=example.name,
|
|
206
|
-
connection_pool_config={
|
|
207
|
-
"connection_borrow_timeout": 120,
|
|
208
|
-
"init_query": "SET x=1, y=2",
|
|
209
|
-
"max_connections_percent": 100,
|
|
210
|
-
"max_idle_connections_percent": 50,
|
|
211
|
-
"session_pinning_filters": ["EXCLUDE_VARIABLE_SETS"],
|
|
212
|
-
})
|
|
213
|
-
```
|
|
214
|
-
|
|
215
177
|
## Import
|
|
216
178
|
|
|
217
179
|
Using `pulumi import`, import DB proxy default target groups using the `db_proxy_name`. For example:
|
|
@@ -233,46 +195,8 @@ class ProxyDefaultTargetGroup(pulumi.CustomResource):
|
|
|
233
195
|
args: ProxyDefaultTargetGroupArgs,
|
|
234
196
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
235
197
|
"""
|
|
236
|
-
Provides a resource to manage an RDS DB proxy default target group resource.
|
|
237
|
-
|
|
238
|
-
The `rds.ProxyDefaultTargetGroup` behaves differently from normal resources, in that the provider does not _create_ or _destroy_ this resource, since it implicitly exists as part of an RDS DB Proxy. On the provider resource creation it is automatically imported and on resource destruction, the provider performs no actions in RDS.
|
|
239
|
-
|
|
240
198
|
## Example Usage
|
|
241
199
|
|
|
242
|
-
```python
|
|
243
|
-
import pulumi
|
|
244
|
-
import pulumi_aws as aws
|
|
245
|
-
|
|
246
|
-
example = aws.rds.Proxy("example",
|
|
247
|
-
name="example",
|
|
248
|
-
debug_logging=False,
|
|
249
|
-
engine_family="MYSQL",
|
|
250
|
-
idle_client_timeout=1800,
|
|
251
|
-
require_tls=True,
|
|
252
|
-
role_arn=example_aws_iam_role["arn"],
|
|
253
|
-
vpc_security_group_ids=[example_aws_security_group["id"]],
|
|
254
|
-
vpc_subnet_ids=[example_aws_subnet["id"]],
|
|
255
|
-
auths=[{
|
|
256
|
-
"auth_scheme": "SECRETS",
|
|
257
|
-
"description": "example",
|
|
258
|
-
"iam_auth": "DISABLED",
|
|
259
|
-
"secret_arn": example_aws_secretsmanager_secret["arn"],
|
|
260
|
-
}],
|
|
261
|
-
tags={
|
|
262
|
-
"Name": "example",
|
|
263
|
-
"Key": "value",
|
|
264
|
-
})
|
|
265
|
-
example_proxy_default_target_group = aws.rds.ProxyDefaultTargetGroup("example",
|
|
266
|
-
db_proxy_name=example.name,
|
|
267
|
-
connection_pool_config={
|
|
268
|
-
"connection_borrow_timeout": 120,
|
|
269
|
-
"init_query": "SET x=1, y=2",
|
|
270
|
-
"max_connections_percent": 100,
|
|
271
|
-
"max_idle_connections_percent": 50,
|
|
272
|
-
"session_pinning_filters": ["EXCLUDE_VARIABLE_SETS"],
|
|
273
|
-
})
|
|
274
|
-
```
|
|
275
|
-
|
|
276
200
|
## Import
|
|
277
201
|
|
|
278
202
|
Using `pulumi import`, import DB proxy default target groups using the `db_proxy_name`. For example:
|
pulumi_aws/rds/proxy_target.py
CHANGED
|
@@ -307,48 +307,8 @@ class ProxyTarget(pulumi.CustomResource):
|
|
|
307
307
|
target_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
308
|
__props__=None):
|
|
309
309
|
"""
|
|
310
|
-
Provides an RDS DB proxy target resource.
|
|
311
|
-
|
|
312
310
|
## Example Usage
|
|
313
311
|
|
|
314
|
-
```python
|
|
315
|
-
import pulumi
|
|
316
|
-
import pulumi_aws as aws
|
|
317
|
-
|
|
318
|
-
example = aws.rds.Proxy("example",
|
|
319
|
-
name="example",
|
|
320
|
-
debug_logging=False,
|
|
321
|
-
engine_family="MYSQL",
|
|
322
|
-
idle_client_timeout=1800,
|
|
323
|
-
require_tls=True,
|
|
324
|
-
role_arn=example_aws_iam_role["arn"],
|
|
325
|
-
vpc_security_group_ids=[example_aws_security_group["id"]],
|
|
326
|
-
vpc_subnet_ids=[example_aws_subnet["id"]],
|
|
327
|
-
auths=[{
|
|
328
|
-
"auth_scheme": "SECRETS",
|
|
329
|
-
"description": "example",
|
|
330
|
-
"iam_auth": "DISABLED",
|
|
331
|
-
"secret_arn": example_aws_secretsmanager_secret["arn"],
|
|
332
|
-
}],
|
|
333
|
-
tags={
|
|
334
|
-
"Name": "example",
|
|
335
|
-
"Key": "value",
|
|
336
|
-
})
|
|
337
|
-
example_proxy_default_target_group = aws.rds.ProxyDefaultTargetGroup("example",
|
|
338
|
-
db_proxy_name=example.name,
|
|
339
|
-
connection_pool_config={
|
|
340
|
-
"connection_borrow_timeout": 120,
|
|
341
|
-
"init_query": "SET x=1, y=2",
|
|
342
|
-
"max_connections_percent": 100,
|
|
343
|
-
"max_idle_connections_percent": 50,
|
|
344
|
-
"session_pinning_filters": ["EXCLUDE_VARIABLE_SETS"],
|
|
345
|
-
})
|
|
346
|
-
example_proxy_target = aws.rds.ProxyTarget("example",
|
|
347
|
-
db_instance_identifier=example_aws_db_instance["identifier"],
|
|
348
|
-
db_proxy_name=example.name,
|
|
349
|
-
target_group_name=example_proxy_default_target_group.name)
|
|
350
|
-
```
|
|
351
|
-
|
|
352
312
|
## Import
|
|
353
313
|
|
|
354
314
|
Provisioned Clusters:
|
|
@@ -383,48 +343,8 @@ class ProxyTarget(pulumi.CustomResource):
|
|
|
383
343
|
args: ProxyTargetArgs,
|
|
384
344
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
385
345
|
"""
|
|
386
|
-
Provides an RDS DB proxy target resource.
|
|
387
|
-
|
|
388
346
|
## Example Usage
|
|
389
347
|
|
|
390
|
-
```python
|
|
391
|
-
import pulumi
|
|
392
|
-
import pulumi_aws as aws
|
|
393
|
-
|
|
394
|
-
example = aws.rds.Proxy("example",
|
|
395
|
-
name="example",
|
|
396
|
-
debug_logging=False,
|
|
397
|
-
engine_family="MYSQL",
|
|
398
|
-
idle_client_timeout=1800,
|
|
399
|
-
require_tls=True,
|
|
400
|
-
role_arn=example_aws_iam_role["arn"],
|
|
401
|
-
vpc_security_group_ids=[example_aws_security_group["id"]],
|
|
402
|
-
vpc_subnet_ids=[example_aws_subnet["id"]],
|
|
403
|
-
auths=[{
|
|
404
|
-
"auth_scheme": "SECRETS",
|
|
405
|
-
"description": "example",
|
|
406
|
-
"iam_auth": "DISABLED",
|
|
407
|
-
"secret_arn": example_aws_secretsmanager_secret["arn"],
|
|
408
|
-
}],
|
|
409
|
-
tags={
|
|
410
|
-
"Name": "example",
|
|
411
|
-
"Key": "value",
|
|
412
|
-
})
|
|
413
|
-
example_proxy_default_target_group = aws.rds.ProxyDefaultTargetGroup("example",
|
|
414
|
-
db_proxy_name=example.name,
|
|
415
|
-
connection_pool_config={
|
|
416
|
-
"connection_borrow_timeout": 120,
|
|
417
|
-
"init_query": "SET x=1, y=2",
|
|
418
|
-
"max_connections_percent": 100,
|
|
419
|
-
"max_idle_connections_percent": 50,
|
|
420
|
-
"session_pinning_filters": ["EXCLUDE_VARIABLE_SETS"],
|
|
421
|
-
})
|
|
422
|
-
example_proxy_target = aws.rds.ProxyTarget("example",
|
|
423
|
-
db_instance_identifier=example_aws_db_instance["identifier"],
|
|
424
|
-
db_proxy_name=example.name,
|
|
425
|
-
target_group_name=example_proxy_default_target_group.name)
|
|
426
|
-
```
|
|
427
|
-
|
|
428
348
|
## Import
|
|
429
349
|
|
|
430
350
|
Provisioned Clusters:
|
pulumi_aws/redshift/__init__.py
CHANGED
|
@@ -23,6 +23,7 @@ from .get_producer_data_shares import *
|
|
|
23
23
|
from .get_subnet_group import *
|
|
24
24
|
from .hsm_client_certificate import *
|
|
25
25
|
from .hsm_configuration import *
|
|
26
|
+
from .idc_application import *
|
|
26
27
|
from .integration import *
|
|
27
28
|
from .logging import *
|
|
28
29
|
from .parameter_group import *
|