aws-cdk-lib 2.135.0__py3-none-any.whl → 2.136.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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.135.0.jsii.tgz → aws-cdk-lib@2.136.0.jsii.tgz} +0 -0
- aws_cdk/aws_ec2/__init__.py +16 -18
- aws_cdk/aws_ecs/__init__.py +24 -36
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -3
- aws_cdk/aws_iam/__init__.py +41 -13
- aws_cdk/aws_rds/__init__.py +117 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +77 -39
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/RECORD +14 -14
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.135.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
19
19
|
import constructs._jsii
|
|
20
20
|
|
|
21
21
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
22
|
-
"aws-cdk-lib", "2.
|
|
22
|
+
"aws-cdk-lib", "2.136.0", __name__[0:-6], "aws-cdk-lib@2.136.0.jsii.tgz"
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -86299,29 +86299,27 @@ class VpcLookupOptions:
|
|
|
86299
86299
|
|
|
86300
86300
|
Example::
|
|
86301
86301
|
|
|
86302
|
-
|
|
86303
|
-
|
|
86304
|
-
|
|
86302
|
+
vpc = ec2.Vpc.from_lookup(self, "Vpc",
|
|
86303
|
+
is_default=True
|
|
86304
|
+
)
|
|
86305
|
+
cluster = ecs.Cluster(self, "ECSCluster", vpc=vpc)
|
|
86305
86306
|
|
|
86306
|
-
|
|
86307
|
-
|
|
86308
|
-
cloud9.Ec2Environment(self, "Cloud9Env2",
|
|
86309
|
-
vpc=default_vpc,
|
|
86310
|
-
instance_type=ec2.InstanceType("t3.large"),
|
|
86311
|
-
image_id=cloud9.ImageId.AMAZON_LINUX_2
|
|
86307
|
+
task_definition = ecs.TaskDefinition(self, "TD",
|
|
86308
|
+
compatibility=ecs.Compatibility.EC2
|
|
86312
86309
|
)
|
|
86313
86310
|
|
|
86314
|
-
|
|
86315
|
-
|
|
86316
|
-
|
|
86317
|
-
subnet_selection=ec2.SubnetSelection(
|
|
86318
|
-
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
86319
|
-
),
|
|
86320
|
-
image_id=cloud9.ImageId.AMAZON_LINUX_2
|
|
86311
|
+
task_definition.add_container("TheContainer",
|
|
86312
|
+
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
86313
|
+
memory_limit_mi_b=256
|
|
86321
86314
|
)
|
|
86322
86315
|
|
|
86323
|
-
|
|
86324
|
-
|
|
86316
|
+
run_task = tasks.EcsRunTask(self, "Run",
|
|
86317
|
+
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
86318
|
+
cluster=cluster,
|
|
86319
|
+
task_definition=task_definition,
|
|
86320
|
+
launch_target=tasks.EcsEc2LaunchTarget(),
|
|
86321
|
+
enable_execute_command=True
|
|
86322
|
+
)
|
|
86325
86323
|
'''
|
|
86326
86324
|
if __debug__:
|
|
86327
86325
|
type_hints = typing.get_type_hints(_typecheckingstub__dff7b53f348ae2cf7efc93ce0f0df35bcb1e7b1b64b7b8a6c57a9924d14268ae)
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -18900,35 +18900,29 @@ class Compatibility(enum.Enum):
|
|
|
18900
18900
|
is_default=True
|
|
18901
18901
|
)
|
|
18902
18902
|
|
|
18903
|
-
cluster = ecs.Cluster(self, "
|
|
18904
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
18905
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
18906
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
18907
|
-
)
|
|
18903
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
18908
18904
|
|
|
18909
18905
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
18910
|
-
|
|
18906
|
+
memory_mi_b="512",
|
|
18907
|
+
cpu="256",
|
|
18908
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
18911
18909
|
)
|
|
18912
18910
|
|
|
18913
|
-
task_definition.add_container("TheContainer",
|
|
18911
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
18914
18912
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
18915
18913
|
memory_limit_mi_b=256
|
|
18916
18914
|
)
|
|
18917
18915
|
|
|
18918
|
-
run_task = tasks.EcsRunTask(self, "
|
|
18916
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
18919
18917
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
18920
18918
|
cluster=cluster,
|
|
18921
18919
|
task_definition=task_definition,
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
placement_constraints=[
|
|
18929
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
18930
|
-
]
|
|
18931
|
-
),
|
|
18920
|
+
assign_public_ip=True,
|
|
18921
|
+
container_overrides=[tasks.ContainerOverride(
|
|
18922
|
+
container_definition=container_definition,
|
|
18923
|
+
environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
|
|
18924
|
+
)],
|
|
18925
|
+
launch_target=tasks.EcsFargateLaunchTarget(),
|
|
18932
18926
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
18933
18927
|
)
|
|
18934
18928
|
'''
|
|
@@ -35688,35 +35682,29 @@ class TaskDefinitionProps(CommonTaskDefinitionProps):
|
|
|
35688
35682
|
is_default=True
|
|
35689
35683
|
)
|
|
35690
35684
|
|
|
35691
|
-
cluster = ecs.Cluster(self, "
|
|
35692
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
35693
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
35694
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
35695
|
-
)
|
|
35685
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
35696
35686
|
|
|
35697
35687
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
35698
|
-
|
|
35688
|
+
memory_mi_b="512",
|
|
35689
|
+
cpu="256",
|
|
35690
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
35699
35691
|
)
|
|
35700
35692
|
|
|
35701
|
-
task_definition.add_container("TheContainer",
|
|
35693
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
35702
35694
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
35703
35695
|
memory_limit_mi_b=256
|
|
35704
35696
|
)
|
|
35705
35697
|
|
|
35706
|
-
run_task = tasks.EcsRunTask(self, "
|
|
35698
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
35707
35699
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
35708
35700
|
cluster=cluster,
|
|
35709
35701
|
task_definition=task_definition,
|
|
35710
|
-
|
|
35711
|
-
|
|
35712
|
-
|
|
35713
|
-
|
|
35714
|
-
|
|
35715
|
-
|
|
35716
|
-
placement_constraints=[
|
|
35717
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
35718
|
-
]
|
|
35719
|
-
),
|
|
35702
|
+
assign_public_ip=True,
|
|
35703
|
+
container_overrides=[tasks.ContainerOverride(
|
|
35704
|
+
container_definition=container_definition,
|
|
35705
|
+
environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
|
|
35706
|
+
)],
|
|
35707
|
+
launch_target=tasks.EcsFargateLaunchTarget(),
|
|
35720
35708
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
35721
35709
|
)
|
|
35722
35710
|
'''
|
|
@@ -19436,7 +19436,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
19436
19436
|
:param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
|
|
19437
19437
|
:param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
|
|
19438
19438
|
:param slow_start: The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group. The range is 30-900 seconds (15 minutes). Default: 0
|
|
19439
|
-
:param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default:
|
|
19439
|
+
:param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: - Stickiness is disabled
|
|
19440
19440
|
:param stickiness_cookie_name: The name of an application-based stickiness cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer. Note: ``stickinessCookieName`` parameter depends on the presence of ``stickinessCookieDuration`` parameter. If ``stickinessCookieDuration`` is not set, ``stickinessCookieName`` will be omitted. Default: - If ``stickinessCookieDuration`` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
|
|
19441
19441
|
:param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
|
|
19442
19442
|
|
|
@@ -19625,7 +19625,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
19625
19625
|
After this period, the cookie is considered stale. The minimum value is
|
|
19626
19626
|
1 second and the maximum value is 7 days (604800 seconds).
|
|
19627
19627
|
|
|
19628
|
-
:default:
|
|
19628
|
+
:default: - Stickiness is disabled
|
|
19629
19629
|
'''
|
|
19630
19630
|
result = self._values.get("stickiness_cookie_duration")
|
|
19631
19631
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
@@ -22603,7 +22603,7 @@ class ApplicationTargetGroup(
|
|
|
22603
22603
|
:param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
|
|
22604
22604
|
:param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
|
|
22605
22605
|
:param slow_start: The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group. The range is 30-900 seconds (15 minutes). Default: 0
|
|
22606
|
-
:param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default:
|
|
22606
|
+
:param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: - Stickiness is disabled
|
|
22607
22607
|
:param stickiness_cookie_name: The name of an application-based stickiness cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer. Note: ``stickinessCookieName`` parameter depends on the presence of ``stickinessCookieDuration`` parameter. If ``stickinessCookieDuration`` is not set, ``stickinessCookieName`` will be omitted. Default: - If ``stickinessCookieDuration`` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
|
|
22608
22608
|
:param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
|
|
22609
22609
|
:param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -397,6 +397,39 @@ iam.Role(self, "Role",
|
|
|
397
397
|
)
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
+
### Granting a principal permission to assume a role
|
|
401
|
+
|
|
402
|
+
A principal can be granted permission to assume a role using `grantAssumeRole`.
|
|
403
|
+
|
|
404
|
+
Note that this does not apply to service principals or account principals as they must be added to the role trust policy via `assumeRolePolicy`.
|
|
405
|
+
|
|
406
|
+
```python
|
|
407
|
+
user = iam.User(self, "user")
|
|
408
|
+
role = iam.Role(self, "role",
|
|
409
|
+
assumed_by=iam.AccountPrincipal(self.account)
|
|
410
|
+
)
|
|
411
|
+
|
|
412
|
+
role.grant_assume_role(user)
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Granting service and account principals permission to assume a role
|
|
416
|
+
|
|
417
|
+
Service principals and account principals can be granted permission to assume a role using `assumeRolePolicy` which modifies the role trust policy.
|
|
418
|
+
|
|
419
|
+
```python
|
|
420
|
+
role = iam.Role(self, "role",
|
|
421
|
+
assumed_by=iam.AccountPrincipal(self.account)
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
role.assume_role_policy.add_statements(iam.PolicyStatement(
|
|
425
|
+
actions=["sts:AssumeRole"],
|
|
426
|
+
principals=[
|
|
427
|
+
iam.AccountPrincipal("123456789"),
|
|
428
|
+
iam.ServicePrincipal("beep-boop.amazonaws.com")
|
|
429
|
+
]
|
|
430
|
+
))
|
|
431
|
+
```
|
|
432
|
+
|
|
400
433
|
## Parsing JSON Policy Documents
|
|
401
434
|
|
|
402
435
|
The `PolicyDocument.fromJson` and `PolicyStatement.fromJson` static methods can be used to parse JSON objects. For example:
|
|
@@ -10706,21 +10739,16 @@ class RoleProps:
|
|
|
10706
10739
|
|
|
10707
10740
|
Example::
|
|
10708
10741
|
|
|
10709
|
-
#
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10742
|
+
# definition: sfn.IChainable
|
|
10743
|
+
role = iam.Role(self, "Role",
|
|
10744
|
+
assumed_by=iam.ServicePrincipal("lambda.amazonaws.com")
|
|
10745
|
+
)
|
|
10746
|
+
state_machine = sfn.StateMachine(self, "StateMachine",
|
|
10747
|
+
definition_body=sfn.DefinitionBody.from_chainable(definition)
|
|
10715
10748
|
)
|
|
10716
|
-
console_read_only_role.add_to_policy(iam.PolicyStatement(
|
|
10717
|
-
actions=["eks:AccessKubernetesApi", "eks:Describe*", "eks:List*"
|
|
10718
|
-
],
|
|
10719
|
-
resources=[cluster.cluster_arn]
|
|
10720
|
-
))
|
|
10721
10749
|
|
|
10722
|
-
#
|
|
10723
|
-
|
|
10750
|
+
# Give role permission to get execution history of ALL executions for the state machine
|
|
10751
|
+
state_machine.grant_execution(role, "states:GetExecutionHistory")
|
|
10724
10752
|
'''
|
|
10725
10753
|
if __debug__:
|
|
10726
10754
|
type_hints = typing.get_type_hints(_typecheckingstub__9c9223cb9fa6dff45ee4fd7013629ab18542c2499a83f542c5405968fad2287c)
|
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -1443,6 +1443,21 @@ rds.DatabaseCluster(self, "DatabaseCluster",
|
|
|
1443
1443
|
preferred_maintenance_window="Sat:22:15-Sat:22:45"
|
|
1444
1444
|
)
|
|
1445
1445
|
```
|
|
1446
|
+
|
|
1447
|
+
You can also set the preferred maintenance window via reader and writer props:
|
|
1448
|
+
|
|
1449
|
+
```python
|
|
1450
|
+
# vpc: ec2.Vpc
|
|
1451
|
+
|
|
1452
|
+
rds.DatabaseCluster(self, "DatabaseCluster",
|
|
1453
|
+
engine=rds.DatabaseClusterEngine.AURORA,
|
|
1454
|
+
vpc=vpc,
|
|
1455
|
+
writer=rds.ClusterInstance.provisioned("WriterInstance",
|
|
1456
|
+
preferred_maintenance_window="Sat:22:15-Sat:22:45"
|
|
1457
|
+
),
|
|
1458
|
+
preferred_maintenance_window="Sat:22:15-Sat:22:45"
|
|
1459
|
+
)
|
|
1460
|
+
```
|
|
1446
1461
|
'''
|
|
1447
1462
|
from pkgutil import extend_path
|
|
1448
1463
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -17139,6 +17154,7 @@ class ClusterInstanceBindOptions:
|
|
|
17139
17154
|
"parameters": "parameters",
|
|
17140
17155
|
"performance_insight_encryption_key": "performanceInsightEncryptionKey",
|
|
17141
17156
|
"performance_insight_retention": "performanceInsightRetention",
|
|
17157
|
+
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
17142
17158
|
"publicly_accessible": "publiclyAccessible",
|
|
17143
17159
|
},
|
|
17144
17160
|
)
|
|
@@ -17156,6 +17172,7 @@ class ClusterInstanceOptions:
|
|
|
17156
17172
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17157
17173
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
17158
17174
|
performance_insight_retention: typing.Optional["PerformanceInsightRetention"] = None,
|
|
17175
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
17159
17176
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
17160
17177
|
) -> None:
|
|
17161
17178
|
'''Common options for creating a cluster instance.
|
|
@@ -17170,6 +17187,7 @@ class ClusterInstanceOptions:
|
|
|
17170
17187
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
17171
17188
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
17172
17189
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
17190
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
17173
17191
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
17174
17192
|
|
|
17175
17193
|
:exampleMetadata: fixture=_generated
|
|
@@ -17198,6 +17216,7 @@ class ClusterInstanceOptions:
|
|
|
17198
17216
|
},
|
|
17199
17217
|
performance_insight_encryption_key=key,
|
|
17200
17218
|
performance_insight_retention=rds.PerformanceInsightRetention.DEFAULT,
|
|
17219
|
+
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
17201
17220
|
publicly_accessible=False
|
|
17202
17221
|
)
|
|
17203
17222
|
'''
|
|
@@ -17213,6 +17232,7 @@ class ClusterInstanceOptions:
|
|
|
17213
17232
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
17214
17233
|
check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
|
|
17215
17234
|
check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
|
|
17235
|
+
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
17216
17236
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
17217
17237
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
17218
17238
|
if allow_major_version_upgrade is not None:
|
|
@@ -17235,6 +17255,8 @@ class ClusterInstanceOptions:
|
|
|
17235
17255
|
self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
|
|
17236
17256
|
if performance_insight_retention is not None:
|
|
17237
17257
|
self._values["performance_insight_retention"] = performance_insight_retention
|
|
17258
|
+
if preferred_maintenance_window is not None:
|
|
17259
|
+
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
17238
17260
|
if publicly_accessible is not None:
|
|
17239
17261
|
self._values["publicly_accessible"] = publicly_accessible
|
|
17240
17262
|
|
|
@@ -17385,6 +17407,22 @@ class ClusterInstanceOptions:
|
|
|
17385
17407
|
result = self._values.get("performance_insight_retention")
|
|
17386
17408
|
return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
|
|
17387
17409
|
|
|
17410
|
+
@builtins.property
|
|
17411
|
+
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
17412
|
+
'''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
|
|
17413
|
+
|
|
17414
|
+
Example: 'Sun:23:45-Mon:00:15'
|
|
17415
|
+
|
|
17416
|
+
:default:
|
|
17417
|
+
|
|
17418
|
+
- 30-minute window selected at random from an 8-hour block of time for
|
|
17419
|
+
each AWS Region, occurring on a random day of the week.
|
|
17420
|
+
|
|
17421
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
|
|
17422
|
+
'''
|
|
17423
|
+
result = self._values.get("preferred_maintenance_window")
|
|
17424
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17425
|
+
|
|
17388
17426
|
@builtins.property
|
|
17389
17427
|
def publicly_accessible(self) -> typing.Optional[builtins.bool]:
|
|
17390
17428
|
'''Indicates whether the DB instance is an internet-facing instance.
|
|
@@ -17424,6 +17462,7 @@ class ClusterInstanceOptions:
|
|
|
17424
17462
|
"parameters": "parameters",
|
|
17425
17463
|
"performance_insight_encryption_key": "performanceInsightEncryptionKey",
|
|
17426
17464
|
"performance_insight_retention": "performanceInsightRetention",
|
|
17465
|
+
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
17427
17466
|
"publicly_accessible": "publiclyAccessible",
|
|
17428
17467
|
"instance_type": "instanceType",
|
|
17429
17468
|
"promotion_tier": "promotionTier",
|
|
@@ -17443,6 +17482,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17443
17482
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17444
17483
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
17445
17484
|
performance_insight_retention: typing.Optional["PerformanceInsightRetention"] = None,
|
|
17485
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
17446
17486
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
17447
17487
|
instance_type: "ClusterInstanceType",
|
|
17448
17488
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
@@ -17459,6 +17499,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17459
17499
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
17460
17500
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
17461
17501
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
17502
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
17462
17503
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
17463
17504
|
:param instance_type: The type of cluster instance to create. Can be either provisioned or serverless v2
|
|
17464
17505
|
:param promotion_tier: The promotion tier of the cluster instance. This matters more for serverlessV2 instances. If a serverless instance is in tier 0-1 then it will scale with the writer. For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random Default: 2
|
|
@@ -17493,6 +17534,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17493
17534
|
},
|
|
17494
17535
|
performance_insight_encryption_key=key,
|
|
17495
17536
|
performance_insight_retention=rds.PerformanceInsightRetention.DEFAULT,
|
|
17537
|
+
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
17496
17538
|
promotion_tier=123,
|
|
17497
17539
|
publicly_accessible=False
|
|
17498
17540
|
)
|
|
@@ -17509,6 +17551,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17509
17551
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
17510
17552
|
check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
|
|
17511
17553
|
check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
|
|
17554
|
+
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
17512
17555
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
17513
17556
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
17514
17557
|
check_type(argname="argument promotion_tier", value=promotion_tier, expected_type=type_hints["promotion_tier"])
|
|
@@ -17535,6 +17578,8 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17535
17578
|
self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
|
|
17536
17579
|
if performance_insight_retention is not None:
|
|
17537
17580
|
self._values["performance_insight_retention"] = performance_insight_retention
|
|
17581
|
+
if preferred_maintenance_window is not None:
|
|
17582
|
+
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
17538
17583
|
if publicly_accessible is not None:
|
|
17539
17584
|
self._values["publicly_accessible"] = publicly_accessible
|
|
17540
17585
|
if promotion_tier is not None:
|
|
@@ -17687,6 +17732,22 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
17687
17732
|
result = self._values.get("performance_insight_retention")
|
|
17688
17733
|
return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
|
|
17689
17734
|
|
|
17735
|
+
@builtins.property
|
|
17736
|
+
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
17737
|
+
'''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
|
|
17738
|
+
|
|
17739
|
+
Example: 'Sun:23:45-Mon:00:15'
|
|
17740
|
+
|
|
17741
|
+
:default:
|
|
17742
|
+
|
|
17743
|
+
- 30-minute window selected at random from an 8-hour block of time for
|
|
17744
|
+
each AWS Region, occurring on a random day of the week.
|
|
17745
|
+
|
|
17746
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
|
|
17747
|
+
'''
|
|
17748
|
+
result = self._values.get("preferred_maintenance_window")
|
|
17749
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17750
|
+
|
|
17690
17751
|
@builtins.property
|
|
17691
17752
|
def publicly_accessible(self) -> typing.Optional[builtins.bool]:
|
|
17692
17753
|
'''Indicates whether the DB instance is an internet-facing instance.
|
|
@@ -32949,6 +33010,7 @@ class ProcessorFeatures:
|
|
|
32949
33010
|
"parameters": "parameters",
|
|
32950
33011
|
"performance_insight_encryption_key": "performanceInsightEncryptionKey",
|
|
32951
33012
|
"performance_insight_retention": "performanceInsightRetention",
|
|
33013
|
+
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
32952
33014
|
"publicly_accessible": "publiclyAccessible",
|
|
32953
33015
|
"instance_type": "instanceType",
|
|
32954
33016
|
"promotion_tier": "promotionTier",
|
|
@@ -32968,6 +33030,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
32968
33030
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
32969
33031
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
32970
33032
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
33033
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
32971
33034
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
32972
33035
|
instance_type: typing.Optional[_InstanceType_f64915b9] = None,
|
|
32973
33036
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
@@ -32984,6 +33047,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
32984
33047
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
32985
33048
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
32986
33049
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
33050
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
32987
33051
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
32988
33052
|
:param instance_type: The cluster instance type. Default: db.t3.medium
|
|
32989
33053
|
:param promotion_tier: The promotion tier of the cluster instance. Can be between 0-15 For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random Default: 2
|
|
@@ -33022,6 +33086,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
33022
33086
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
33023
33087
|
check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
|
|
33024
33088
|
check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
|
|
33089
|
+
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
33025
33090
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
33026
33091
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
33027
33092
|
check_type(argname="argument promotion_tier", value=promotion_tier, expected_type=type_hints["promotion_tier"])
|
|
@@ -33046,6 +33111,8 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
33046
33111
|
self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
|
|
33047
33112
|
if performance_insight_retention is not None:
|
|
33048
33113
|
self._values["performance_insight_retention"] = performance_insight_retention
|
|
33114
|
+
if preferred_maintenance_window is not None:
|
|
33115
|
+
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
33049
33116
|
if publicly_accessible is not None:
|
|
33050
33117
|
self._values["publicly_accessible"] = publicly_accessible
|
|
33051
33118
|
if instance_type is not None:
|
|
@@ -33200,6 +33267,22 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
33200
33267
|
result = self._values.get("performance_insight_retention")
|
|
33201
33268
|
return typing.cast(typing.Optional[PerformanceInsightRetention], result)
|
|
33202
33269
|
|
|
33270
|
+
@builtins.property
|
|
33271
|
+
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
33272
|
+
'''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
|
|
33273
|
+
|
|
33274
|
+
Example: 'Sun:23:45-Mon:00:15'
|
|
33275
|
+
|
|
33276
|
+
:default:
|
|
33277
|
+
|
|
33278
|
+
- 30-minute window selected at random from an 8-hour block of time for
|
|
33279
|
+
each AWS Region, occurring on a random day of the week.
|
|
33280
|
+
|
|
33281
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
|
|
33282
|
+
'''
|
|
33283
|
+
result = self._values.get("preferred_maintenance_window")
|
|
33284
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
33285
|
+
|
|
33203
33286
|
@builtins.property
|
|
33204
33287
|
def publicly_accessible(self) -> typing.Optional[builtins.bool]:
|
|
33205
33288
|
'''Indicates whether the DB instance is an internet-facing instance.
|
|
@@ -35156,6 +35239,7 @@ class ServerlessScalingOptions:
|
|
|
35156
35239
|
"parameters": "parameters",
|
|
35157
35240
|
"performance_insight_encryption_key": "performanceInsightEncryptionKey",
|
|
35158
35241
|
"performance_insight_retention": "performanceInsightRetention",
|
|
35242
|
+
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
35159
35243
|
"publicly_accessible": "publiclyAccessible",
|
|
35160
35244
|
"scale_with_writer": "scaleWithWriter",
|
|
35161
35245
|
},
|
|
@@ -35174,6 +35258,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
35174
35258
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
35175
35259
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
35176
35260
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
35261
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
35177
35262
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
35178
35263
|
scale_with_writer: typing.Optional[builtins.bool] = None,
|
|
35179
35264
|
) -> None:
|
|
@@ -35189,6 +35274,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
35189
35274
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
35190
35275
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
35191
35276
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
35277
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
35192
35278
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
35193
35279
|
:param scale_with_writer: Only applicable to reader instances. If this is true then the instance will be placed in promotion tier 1, otherwise it will be placed in promotion tier 2. For serverless v2 instances this means: - true: The serverless v2 reader will scale to match the writer instance (provisioned or serverless) - false: The serverless v2 reader will scale with the read workfload on the instance Default: false
|
|
35194
35280
|
|
|
@@ -35223,6 +35309,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
35223
35309
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
35224
35310
|
check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
|
|
35225
35311
|
check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
|
|
35312
|
+
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
35226
35313
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
35227
35314
|
check_type(argname="argument scale_with_writer", value=scale_with_writer, expected_type=type_hints["scale_with_writer"])
|
|
35228
35315
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -35246,6 +35333,8 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
35246
35333
|
self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
|
|
35247
35334
|
if performance_insight_retention is not None:
|
|
35248
35335
|
self._values["performance_insight_retention"] = performance_insight_retention
|
|
35336
|
+
if preferred_maintenance_window is not None:
|
|
35337
|
+
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
35249
35338
|
if publicly_accessible is not None:
|
|
35250
35339
|
self._values["publicly_accessible"] = publicly_accessible
|
|
35251
35340
|
if scale_with_writer is not None:
|
|
@@ -35398,6 +35487,22 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
35398
35487
|
result = self._values.get("performance_insight_retention")
|
|
35399
35488
|
return typing.cast(typing.Optional[PerformanceInsightRetention], result)
|
|
35400
35489
|
|
|
35490
|
+
@builtins.property
|
|
35491
|
+
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
35492
|
+
'''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
|
|
35493
|
+
|
|
35494
|
+
Example: 'Sun:23:45-Mon:00:15'
|
|
35495
|
+
|
|
35496
|
+
:default:
|
|
35497
|
+
|
|
35498
|
+
- 30-minute window selected at random from an 8-hour block of time for
|
|
35499
|
+
each AWS Region, occurring on a random day of the week.
|
|
35500
|
+
|
|
35501
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
|
|
35502
|
+
'''
|
|
35503
|
+
result = self._values.get("preferred_maintenance_window")
|
|
35504
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
35505
|
+
|
|
35401
35506
|
@builtins.property
|
|
35402
35507
|
def publicly_accessible(self) -> typing.Optional[builtins.bool]:
|
|
35403
35508
|
'''Indicates whether the DB instance is an internet-facing instance.
|
|
@@ -37123,6 +37228,7 @@ class ClusterInstance(
|
|
|
37123
37228
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
37124
37229
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
37125
37230
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
37231
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
37126
37232
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
37127
37233
|
) -> IClusterInstance:
|
|
37128
37234
|
'''Add a provisioned instance to the cluster.
|
|
@@ -37140,6 +37246,7 @@ class ClusterInstance(
|
|
|
37140
37246
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
37141
37247
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
37142
37248
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
37249
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
37143
37250
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
37144
37251
|
|
|
37145
37252
|
Example::
|
|
@@ -37164,6 +37271,7 @@ class ClusterInstance(
|
|
|
37164
37271
|
parameters=parameters,
|
|
37165
37272
|
performance_insight_encryption_key=performance_insight_encryption_key,
|
|
37166
37273
|
performance_insight_retention=performance_insight_retention,
|
|
37274
|
+
preferred_maintenance_window=preferred_maintenance_window,
|
|
37167
37275
|
publicly_accessible=publicly_accessible,
|
|
37168
37276
|
)
|
|
37169
37277
|
|
|
@@ -37186,6 +37294,7 @@ class ClusterInstance(
|
|
|
37186
37294
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
37187
37295
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
37188
37296
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
37297
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
37189
37298
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
37190
37299
|
) -> IClusterInstance:
|
|
37191
37300
|
'''Add a serverless v2 instance to the cluster.
|
|
@@ -37202,6 +37311,7 @@ class ClusterInstance(
|
|
|
37202
37311
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
37203
37312
|
:param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
|
|
37204
37313
|
:param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
|
|
37314
|
+
:param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
37205
37315
|
:param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
|
|
37206
37316
|
|
|
37207
37317
|
Example::
|
|
@@ -37225,6 +37335,7 @@ class ClusterInstance(
|
|
|
37225
37335
|
parameters=parameters,
|
|
37226
37336
|
performance_insight_encryption_key=performance_insight_encryption_key,
|
|
37227
37337
|
performance_insight_retention=performance_insight_retention,
|
|
37338
|
+
preferred_maintenance_window=preferred_maintenance_window,
|
|
37228
37339
|
publicly_accessible=publicly_accessible,
|
|
37229
37340
|
)
|
|
37230
37341
|
|
|
@@ -45589,6 +45700,7 @@ def _typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c63
|
|
|
45589
45700
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
45590
45701
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
45591
45702
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
45703
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
45592
45704
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
45593
45705
|
) -> None:
|
|
45594
45706
|
"""Type checking stubs"""
|
|
@@ -45606,6 +45718,7 @@ def _typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c98015
|
|
|
45606
45718
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
45607
45719
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
45608
45720
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
45721
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
45609
45722
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
45610
45723
|
instance_type: ClusterInstanceType,
|
|
45611
45724
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
@@ -46469,6 +46582,7 @@ def _typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc929
|
|
|
46469
46582
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
46470
46583
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
46471
46584
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
46585
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
46472
46586
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
46473
46587
|
instance_type: typing.Optional[_InstanceType_f64915b9] = None,
|
|
46474
46588
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
@@ -46707,6 +46821,7 @@ def _typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c3
|
|
|
46707
46821
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
46708
46822
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
46709
46823
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
46824
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
46710
46825
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
46711
46826
|
scale_with_writer: typing.Optional[builtins.bool] = None,
|
|
46712
46827
|
) -> None:
|
|
@@ -46842,6 +46957,7 @@ def _typecheckingstub__d0d2cd14a2c7ed00bfb6fd9860c31cd0b1af1bff8343258b1b4a8d847
|
|
|
46842
46957
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
46843
46958
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
46844
46959
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
46960
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
46845
46961
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
46846
46962
|
) -> None:
|
|
46847
46963
|
"""Type checking stubs"""
|
|
@@ -46861,6 +46977,7 @@ def _typecheckingstub__95714f22d2724c29931e2710712a92b10932588d2061fa1ceed93097e
|
|
|
46861
46977
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
46862
46978
|
performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
46863
46979
|
performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
|
|
46980
|
+
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
46864
46981
|
publicly_accessible: typing.Optional[builtins.bool] = None,
|
|
46865
46982
|
) -> None:
|
|
46866
46983
|
"""Type checking stubs"""
|
|
@@ -627,6 +627,34 @@ run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
|
627
627
|
)
|
|
628
628
|
```
|
|
629
629
|
|
|
630
|
+
#### ECS enable Exec
|
|
631
|
+
|
|
632
|
+
By setting the property [`enableExecuteCommand`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-enableExecuteCommand) to `true`, you can enable the [ECS Exec feature](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) for the task for either Fargate or EC2 launch types.
|
|
633
|
+
|
|
634
|
+
```python
|
|
635
|
+
vpc = ec2.Vpc.from_lookup(self, "Vpc",
|
|
636
|
+
is_default=True
|
|
637
|
+
)
|
|
638
|
+
cluster = ecs.Cluster(self, "ECSCluster", vpc=vpc)
|
|
639
|
+
|
|
640
|
+
task_definition = ecs.TaskDefinition(self, "TD",
|
|
641
|
+
compatibility=ecs.Compatibility.EC2
|
|
642
|
+
)
|
|
643
|
+
|
|
644
|
+
task_definition.add_container("TheContainer",
|
|
645
|
+
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
646
|
+
memory_limit_mi_b=256
|
|
647
|
+
)
|
|
648
|
+
|
|
649
|
+
run_task = tasks.EcsRunTask(self, "Run",
|
|
650
|
+
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
651
|
+
cluster=cluster,
|
|
652
|
+
task_definition=task_definition,
|
|
653
|
+
launch_target=tasks.EcsEc2LaunchTarget(),
|
|
654
|
+
enable_execute_command=True
|
|
655
|
+
)
|
|
656
|
+
```
|
|
657
|
+
|
|
630
658
|
## EMR
|
|
631
659
|
|
|
632
660
|
Step Functions supports Amazon EMR through the service integration pattern.
|
|
@@ -11829,35 +11857,29 @@ class EcsRunTask(
|
|
|
11829
11857
|
is_default=True
|
|
11830
11858
|
)
|
|
11831
11859
|
|
|
11832
|
-
cluster = ecs.Cluster(self, "
|
|
11833
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
11834
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
11835
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
11836
|
-
)
|
|
11860
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
11837
11861
|
|
|
11838
11862
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
11839
|
-
|
|
11863
|
+
memory_mi_b="512",
|
|
11864
|
+
cpu="256",
|
|
11865
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
11840
11866
|
)
|
|
11841
11867
|
|
|
11842
|
-
task_definition.add_container("TheContainer",
|
|
11868
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
11843
11869
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
11844
11870
|
memory_limit_mi_b=256
|
|
11845
11871
|
)
|
|
11846
11872
|
|
|
11847
|
-
run_task = tasks.EcsRunTask(self, "
|
|
11873
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
11848
11874
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
11849
11875
|
cluster=cluster,
|
|
11850
11876
|
task_definition=task_definition,
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
placement_constraints=[
|
|
11858
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
11859
|
-
]
|
|
11860
|
-
),
|
|
11877
|
+
assign_public_ip=True,
|
|
11878
|
+
container_overrides=[tasks.ContainerOverride(
|
|
11879
|
+
container_definition=container_definition,
|
|
11880
|
+
environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
|
|
11881
|
+
)],
|
|
11882
|
+
launch_target=tasks.EcsFargateLaunchTarget(),
|
|
11861
11883
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
11862
11884
|
)
|
|
11863
11885
|
'''
|
|
@@ -11872,6 +11894,7 @@ class EcsRunTask(
|
|
|
11872
11894
|
task_definition: _TaskDefinition_a541a103,
|
|
11873
11895
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
11874
11896
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11897
|
+
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
11875
11898
|
propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
11876
11899
|
revision_number: typing.Optional[jsii.Number] = None,
|
|
11877
11900
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
@@ -11897,8 +11920,9 @@ class EcsRunTask(
|
|
|
11897
11920
|
:param task_definition: [disable-awslint:ref-via-interface] Task Definition used for running tasks in the service. Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions If you want to run a RunTask with an imported task definition, consider using CustomState
|
|
11898
11921
|
:param assign_public_ip: Assign public IP addresses to each task. Default: false
|
|
11899
11922
|
:param container_overrides: Container setting overrides. Specify the container to use and the overrides to apply. Default: - No overrides
|
|
11923
|
+
:param enable_execute_command: Whether ECS Exec should be enabled. Default: false
|
|
11900
11924
|
:param propagated_tag_source: Specifies whether to propagate the tags from the task definition to the task. An error will be received if you specify the SERVICE option when running a task. Default: - No tags are propagated.
|
|
11901
|
-
:param revision_number: The revision number of ECS task
|
|
11925
|
+
:param revision_number: The revision number of ECS task definition family. Default: - '$latest'
|
|
11902
11926
|
:param security_groups: Existing security groups to use for the tasks. Default: - A new security group is created
|
|
11903
11927
|
:param subnets: Subnets to place the task's ENIs. Default: - Public subnets if assignPublicIp is set. Private subnets otherwise.
|
|
11904
11928
|
:param comment: An optional description for this state. Default: - No comment
|
|
@@ -11924,6 +11948,7 @@ class EcsRunTask(
|
|
|
11924
11948
|
task_definition=task_definition,
|
|
11925
11949
|
assign_public_ip=assign_public_ip,
|
|
11926
11950
|
container_overrides=container_overrides,
|
|
11951
|
+
enable_execute_command=enable_execute_command,
|
|
11927
11952
|
propagated_tag_source=propagated_tag_source,
|
|
11928
11953
|
revision_number=revision_number,
|
|
11929
11954
|
security_groups=security_groups,
|
|
@@ -11982,6 +12007,7 @@ class EcsRunTask(
|
|
|
11982
12007
|
"task_definition": "taskDefinition",
|
|
11983
12008
|
"assign_public_ip": "assignPublicIp",
|
|
11984
12009
|
"container_overrides": "containerOverrides",
|
|
12010
|
+
"enable_execute_command": "enableExecuteCommand",
|
|
11985
12011
|
"propagated_tag_source": "propagatedTagSource",
|
|
11986
12012
|
"revision_number": "revisionNumber",
|
|
11987
12013
|
"security_groups": "securityGroups",
|
|
@@ -12009,6 +12035,7 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12009
12035
|
task_definition: _TaskDefinition_a541a103,
|
|
12010
12036
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
12011
12037
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12038
|
+
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
12012
12039
|
propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
12013
12040
|
revision_number: typing.Optional[jsii.Number] = None,
|
|
12014
12041
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
@@ -12033,8 +12060,9 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12033
12060
|
:param task_definition: [disable-awslint:ref-via-interface] Task Definition used for running tasks in the service. Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions If you want to run a RunTask with an imported task definition, consider using CustomState
|
|
12034
12061
|
:param assign_public_ip: Assign public IP addresses to each task. Default: false
|
|
12035
12062
|
:param container_overrides: Container setting overrides. Specify the container to use and the overrides to apply. Default: - No overrides
|
|
12063
|
+
:param enable_execute_command: Whether ECS Exec should be enabled. Default: false
|
|
12036
12064
|
:param propagated_tag_source: Specifies whether to propagate the tags from the task definition to the task. An error will be received if you specify the SERVICE option when running a task. Default: - No tags are propagated.
|
|
12037
|
-
:param revision_number: The revision number of ECS task
|
|
12065
|
+
:param revision_number: The revision number of ECS task definition family. Default: - '$latest'
|
|
12038
12066
|
:param security_groups: Existing security groups to use for the tasks. Default: - A new security group is created
|
|
12039
12067
|
:param subnets: Subnets to place the task's ENIs. Default: - Public subnets if assignPublicIp is set. Private subnets otherwise.
|
|
12040
12068
|
|
|
@@ -12046,35 +12074,29 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12046
12074
|
is_default=True
|
|
12047
12075
|
)
|
|
12048
12076
|
|
|
12049
|
-
cluster = ecs.Cluster(self, "
|
|
12050
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
12051
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
12052
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
12053
|
-
)
|
|
12077
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
12054
12078
|
|
|
12055
12079
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
12056
|
-
|
|
12080
|
+
memory_mi_b="512",
|
|
12081
|
+
cpu="256",
|
|
12082
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
12057
12083
|
)
|
|
12058
12084
|
|
|
12059
|
-
task_definition.add_container("TheContainer",
|
|
12085
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
12060
12086
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
12061
12087
|
memory_limit_mi_b=256
|
|
12062
12088
|
)
|
|
12063
12089
|
|
|
12064
|
-
run_task = tasks.EcsRunTask(self, "
|
|
12090
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
12065
12091
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
12066
12092
|
cluster=cluster,
|
|
12067
12093
|
task_definition=task_definition,
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
placement_constraints=[
|
|
12075
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
12076
|
-
]
|
|
12077
|
-
),
|
|
12094
|
+
assign_public_ip=True,
|
|
12095
|
+
container_overrides=[tasks.ContainerOverride(
|
|
12096
|
+
container_definition=container_definition,
|
|
12097
|
+
environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
|
|
12098
|
+
)],
|
|
12099
|
+
launch_target=tasks.EcsFargateLaunchTarget(),
|
|
12078
12100
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
12079
12101
|
)
|
|
12080
12102
|
'''
|
|
@@ -12101,6 +12123,7 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12101
12123
|
check_type(argname="argument task_definition", value=task_definition, expected_type=type_hints["task_definition"])
|
|
12102
12124
|
check_type(argname="argument assign_public_ip", value=assign_public_ip, expected_type=type_hints["assign_public_ip"])
|
|
12103
12125
|
check_type(argname="argument container_overrides", value=container_overrides, expected_type=type_hints["container_overrides"])
|
|
12126
|
+
check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
|
|
12104
12127
|
check_type(argname="argument propagated_tag_source", value=propagated_tag_source, expected_type=type_hints["propagated_tag_source"])
|
|
12105
12128
|
check_type(argname="argument revision_number", value=revision_number, expected_type=type_hints["revision_number"])
|
|
12106
12129
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
@@ -12138,6 +12161,8 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12138
12161
|
self._values["assign_public_ip"] = assign_public_ip
|
|
12139
12162
|
if container_overrides is not None:
|
|
12140
12163
|
self._values["container_overrides"] = container_overrides
|
|
12164
|
+
if enable_execute_command is not None:
|
|
12165
|
+
self._values["enable_execute_command"] = enable_execute_command
|
|
12141
12166
|
if propagated_tag_source is not None:
|
|
12142
12167
|
self._values["propagated_tag_source"] = propagated_tag_source
|
|
12143
12168
|
if revision_number is not None:
|
|
@@ -12352,6 +12377,17 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12352
12377
|
result = self._values.get("container_overrides")
|
|
12353
12378
|
return typing.cast(typing.Optional[typing.List[ContainerOverride]], result)
|
|
12354
12379
|
|
|
12380
|
+
@builtins.property
|
|
12381
|
+
def enable_execute_command(self) -> typing.Optional[builtins.bool]:
|
|
12382
|
+
'''Whether ECS Exec should be enabled.
|
|
12383
|
+
|
|
12384
|
+
:default: false
|
|
12385
|
+
|
|
12386
|
+
:see: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-enableExecuteCommand
|
|
12387
|
+
'''
|
|
12388
|
+
result = self._values.get("enable_execute_command")
|
|
12389
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
12390
|
+
|
|
12355
12391
|
@builtins.property
|
|
12356
12392
|
def propagated_tag_source(self) -> typing.Optional[_PropagatedTagSource_ad4e874a]:
|
|
12357
12393
|
'''Specifies whether to propagate the tags from the task definition to the task.
|
|
@@ -12367,7 +12403,7 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
12367
12403
|
|
|
12368
12404
|
@builtins.property
|
|
12369
12405
|
def revision_number(self) -> typing.Optional[jsii.Number]:
|
|
12370
|
-
'''The revision number of ECS task
|
|
12406
|
+
'''The revision number of ECS task definition family.
|
|
12371
12407
|
|
|
12372
12408
|
:default: - '$latest'
|
|
12373
12409
|
'''
|
|
@@ -33287,6 +33323,7 @@ def _typecheckingstub__1b9fa1de6876853cd0aa59517079cbcfc7017daf643f17b13556a7a5f
|
|
|
33287
33323
|
task_definition: _TaskDefinition_a541a103,
|
|
33288
33324
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
33289
33325
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33326
|
+
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
33290
33327
|
propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
33291
33328
|
revision_number: typing.Optional[jsii.Number] = None,
|
|
33292
33329
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
@@ -33326,6 +33363,7 @@ def _typecheckingstub__4f880997570006602fac387ce93510039132ec3f42612722766b67ec6
|
|
|
33326
33363
|
task_definition: _TaskDefinition_a541a103,
|
|
33327
33364
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
33328
33365
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33366
|
+
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
33329
33367
|
propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
33330
33368
|
revision_number: typing.Optional[jsii.Number] = None,
|
|
33331
33369
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
aws_cdk/__init__.py,sha256=EILyfztBG_btjqeD30LwG97qU9u2gxuJEaZ5KC901jI,1789178
|
|
2
2
|
aws_cdk/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/_jsii/__init__.py,sha256=
|
|
4
|
-
aws_cdk/_jsii/aws-cdk-lib@2.
|
|
3
|
+
aws_cdk/_jsii/__init__.py,sha256=cKXkfq8Wl1xASxFSdhAze0pwiHppT1d3l6mxd83gmYY,571
|
|
4
|
+
aws_cdk/_jsii/aws-cdk-lib@2.136.0.jsii.tgz,sha256=KV0zeNFso7GiB0UJwbnK53DNKkuEFjpxUfhmA-GeYiE,21505935
|
|
5
5
|
aws_cdk/alexa_ask/__init__.py,sha256=XIdNYPkbGyRD8clfb_qolycbFSGooWWn71wTtsEnW-U,35287
|
|
6
6
|
aws_cdk/assertions/__init__.py,sha256=2OloHwZ-ipWeAuFTUn25gRLBALeML8yC58pMoQZem9k,86590
|
|
7
7
|
aws_cdk/aws_accessanalyzer/__init__.py,sha256=JiAHhmac9YzpELf-_UvGm7nfxopSF-mJ80UcwF-qUW0,41881
|
|
@@ -83,17 +83,17 @@ aws_cdk/aws_dms/__init__.py,sha256=n0eIsAwBK8h5xWajU1dyEqS_361IrCKLuOGmeMobCAA,9
|
|
|
83
83
|
aws_cdk/aws_docdb/__init__.py,sha256=7F4X8cjnIHqmwIrd16PSSFyc99ai7bP15boHmqqzH9I,304441
|
|
84
84
|
aws_cdk/aws_docdbelastic/__init__.py,sha256=eJc7qeGj4xI8KN4Wz4hopMtyh91WtFQH-bBd0hJ4zL0,45245
|
|
85
85
|
aws_cdk/aws_dynamodb/__init__.py,sha256=lbuKpxT2nEdAHWaaHQ4k-5oEkce4P1o9uBVHKfHIPME,871690
|
|
86
|
-
aws_cdk/aws_ec2/__init__.py,sha256=
|
|
86
|
+
aws_cdk/aws_ec2/__init__.py,sha256=n5s21kkDBbRcfSmN07y9vw8FH9WtEACfjTixuoTn9Go,5636980
|
|
87
87
|
aws_cdk/aws_ecr/__init__.py,sha256=GOs0P-mQgnsTEIsxBZZb2cqpSS9QXEZ65PlpKiJpZzg,256631
|
|
88
88
|
aws_cdk/aws_ecr_assets/__init__.py,sha256=AuQUpqkjGMWWWHbme1ncvg-AfJ0JC0aFGKqOgeVIGb8,83435
|
|
89
|
-
aws_cdk/aws_ecs/__init__.py,sha256=
|
|
89
|
+
aws_cdk/aws_ecs/__init__.py,sha256=gkI5o6ksdwAwTcDe7QpvZJXX4gqAaHcZZnxeR3FrRGs,2551403
|
|
90
90
|
aws_cdk/aws_ecs_patterns/__init__.py,sha256=eWckZD218qBUDWJI2RllklmFBydK7_CSkNGFFD6KNPk,1010533
|
|
91
91
|
aws_cdk/aws_efs/__init__.py,sha256=W6CVbL1DnAvGjGqJOi6hRRADI60mOb01-0pmp6SpXBQ,249529
|
|
92
92
|
aws_cdk/aws_eks/__init__.py,sha256=5O7cleodxZhDGvel-8bpNUVoR6o7IvQwt4SprFDLhRk,1040236
|
|
93
93
|
aws_cdk/aws_elasticache/__init__.py,sha256=TA6UdAIOrqbZGjEKIhO1cwdK3X9UjcVdsdDWsXNbJJw,513758
|
|
94
94
|
aws_cdk/aws_elasticbeanstalk/__init__.py,sha256=KcmYUeZ_fyv0XeIRGVVpMCT8DXRUAsJ19e2YPWpwx_M,163534
|
|
95
95
|
aws_cdk/aws_elasticloadbalancing/__init__.py,sha256=8qwxOkzQngub3XUwl-eYG7Cp2EjfT2YfU8aC5OspTas,161551
|
|
96
|
-
aws_cdk/aws_elasticloadbalancingv2/__init__.py,sha256=
|
|
96
|
+
aws_cdk/aws_elasticloadbalancingv2/__init__.py,sha256=Q18eOjto73dxKwWYXvDOWdGiDCSUuVf0BD2QdHAVjDU,1470775
|
|
97
97
|
aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py,sha256=SJaY1n50p_aolBix4TfAWYMz127avptt2Ke_bMRvqeQ,22484
|
|
98
98
|
aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py,sha256=sczJKgB6_N37Dcsmgt0jjeTi-0j_Jx21bFZFTybGd0g,20087
|
|
99
99
|
aws_cdk/aws_elasticsearch/__init__.py,sha256=9jDze4wqFz94THwdNu11xotSLNPhm3IX-7X7zuZkIyU,463992
|
|
@@ -122,7 +122,7 @@ aws_cdk/aws_groundstation/__init__.py,sha256=DcXMEPFI9JqNI20BksSJFUW2knCC_w_zVkz
|
|
|
122
122
|
aws_cdk/aws_guardduty/__init__.py,sha256=PMagRU40yo3ETHE-biq4GaR6pku3UG2KE1kUweQCunk,187466
|
|
123
123
|
aws_cdk/aws_healthimaging/__init__.py,sha256=n9A-y3ThapiaP4W2Hn-eEqeczO7NikwU9A9K9gk5Fdg,16327
|
|
124
124
|
aws_cdk/aws_healthlake/__init__.py,sha256=FiGWCTUmCFyT2am3vG1FnOujfZA5S7Ju06NccHyk8GA,53252
|
|
125
|
-
aws_cdk/aws_iam/__init__.py,sha256=
|
|
125
|
+
aws_cdk/aws_iam/__init__.py,sha256=SrT4wtGW_mzPNUTiIJn1s0qw8t5_JIrxQEonVXbAaUU,840918
|
|
126
126
|
aws_cdk/aws_identitystore/__init__.py,sha256=vCJj4HJqjN9jzD68ht8eEJ8VYnNz91ST096ggWwLmr4,29890
|
|
127
127
|
aws_cdk/aws_imagebuilder/__init__.py,sha256=2poYFrCnjPFl8VopkrP4u4VVeqEJAVmhvH9xSok7_8g,572611
|
|
128
128
|
aws_cdk/aws_inspector/__init__.py,sha256=v1EteXsxA4DV26sR6tBayxXl6H12dhTlPSJRlBHCDo8,43239
|
|
@@ -200,7 +200,7 @@ aws_cdk/aws_proton/__init__.py,sha256=4sdkMrigXGguoDXvO0cKdH8UvmziYPCzi-sj8jLrxK
|
|
|
200
200
|
aws_cdk/aws_qldb/__init__.py,sha256=k0v3F43pVRo5y79oLlCjSiw-jg_5GhaAVYWoKpEr4Vo,62400
|
|
201
201
|
aws_cdk/aws_quicksight/__init__.py,sha256=RgEZFieJhlehY6sXHo8AAZKkrr9V0-gg3uv-md1UsCk,13455186
|
|
202
202
|
aws_cdk/aws_ram/__init__.py,sha256=hQ1UdFI0v6s0ipdeuqGRhqCNktzB1z8vRkiDqXDmwvc,50223
|
|
203
|
-
aws_cdk/aws_rds/__init__.py,sha256
|
|
203
|
+
aws_cdk/aws_rds/__init__.py,sha256=-k-peDpeL1PCjznhP0coHFyhPeuQ6RjF7zwmSSa7lzs,2655044
|
|
204
204
|
aws_cdk/aws_redshift/__init__.py,sha256=ddQBZwny5kRQLUqy_pzbvcK5AKvV3QF0SiiwWfCdREA,376652
|
|
205
205
|
aws_cdk/aws_redshiftserverless/__init__.py,sha256=5NsfPwPK2px8k6hqirOS0ucXSEb3nNpKP0DYQFf2IEE,149232
|
|
206
206
|
aws_cdk/aws_refactorspaces/__init__.py,sha256=MB29dWJ8rWEkkaVrgWR2lRQzFWZ6hPb1TJ3AtGvB6iw,121468
|
|
@@ -247,7 +247,7 @@ aws_cdk/aws_ssmcontacts/__init__.py,sha256=0z_DVW5PbB2Uq7uh0vQ-WUnaIeQQduKkP0yZR
|
|
|
247
247
|
aws_cdk/aws_ssmincidents/__init__.py,sha256=aD5m9b9FnQW8J0BbRz3N6fKOLt0w7JD_TYnULHUy-xo,112134
|
|
248
248
|
aws_cdk/aws_sso/__init__.py,sha256=_qRuDxliSasWx8V9Zmddq6afYiHF29AbHSmA-rK6m6k,99603
|
|
249
249
|
aws_cdk/aws_stepfunctions/__init__.py,sha256=yGU76N_BfdFyvEGhQGIIYhxdXqeqU1wDjJ_fIF5L_Oo,873411
|
|
250
|
-
aws_cdk/aws_stepfunctions_tasks/__init__.py,sha256=
|
|
250
|
+
aws_cdk/aws_stepfunctions_tasks/__init__.py,sha256=WNrPCFjMinlr4fvFETNdhA16XNmcziW2vS6YMCEWFdU,1828985
|
|
251
251
|
aws_cdk/aws_supportapp/__init__.py,sha256=rfecThA_tsuYGkYyB0YPpujfZzpIUgYKyAOtgh6UAxA,48022
|
|
252
252
|
aws_cdk/aws_synthetics/__init__.py,sha256=5xu9jEMjK0RDgQe2BDuZszVGjF50p_m0a2Y2UlIzTy4,237398
|
|
253
253
|
aws_cdk/aws_systemsmanagersap/__init__.py,sha256=ZOn0Gl43HvEuxSyhBBBw3gtTBnRqhTGggdJjaG6mByc,29487
|
|
@@ -274,9 +274,9 @@ aws_cdk/lambda_layer_node_proxy_agent/__init__.py,sha256=L2O5Aen4xESrAMU07go5NB0
|
|
|
274
274
|
aws_cdk/pipelines/__init__.py,sha256=fnbq8c0wOp2MkA20blCIsyrhrYNgZB5OjmsuH4e9BkQ,398736
|
|
275
275
|
aws_cdk/region_info/__init__.py,sha256=N-HdesRpLDoe1UOQOzVX7bea6z2jZijx4SybmdgdsI4,37857
|
|
276
276
|
aws_cdk/triggers/__init__.py,sha256=w78wLbTJPhCIx2D2VWnle5AXqs5FRVbts9Uoi-7q_yU,115432
|
|
277
|
-
aws_cdk_lib-2.
|
|
278
|
-
aws_cdk_lib-2.
|
|
279
|
-
aws_cdk_lib-2.
|
|
280
|
-
aws_cdk_lib-2.
|
|
281
|
-
aws_cdk_lib-2.
|
|
282
|
-
aws_cdk_lib-2.
|
|
277
|
+
aws_cdk_lib-2.136.0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
|
|
278
|
+
aws_cdk_lib-2.136.0.dist-info/METADATA,sha256=UihTmhBSGVka5JL1_j_mIpOq6YTua3bCsgWpammC20s,59322
|
|
279
|
+
aws_cdk_lib-2.136.0.dist-info/NOTICE,sha256=Irn92Qln1GDSjTx0CQqiOXM94Z9jgbvnq8rfk50NQ-4,42502
|
|
280
|
+
aws_cdk_lib-2.136.0.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
281
|
+
aws_cdk_lib-2.136.0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
282
|
+
aws_cdk_lib-2.136.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|