aws-cdk-lib 2.195.0__py3-none-any.whl → 2.196.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/__init__.py +433 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +148 -69
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +620 -14
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +87 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +6 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +91 -12
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +557 -14
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +21 -13
- aws_cdk/aws_dynamodb/__init__.py +20 -8
- aws_cdk/aws_ec2/__init__.py +282 -21
- aws_cdk/aws_ecr/__init__.py +6 -0
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +112 -19
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +6 -0
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +21 -16
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +9 -11
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +9 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
- aws_cdk/aws_logs/__init__.py +155 -12
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +306 -30
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +723 -25
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_sagemaker/__init__.py +199 -4
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +7 -7
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +83 -5
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +100 -100
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecr/__init__.py
CHANGED
|
@@ -5534,6 +5534,12 @@ class Repository(
|
|
|
5534
5534
|
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
5535
5535
|
return typing.cast(_AddToResourcePolicyResult_1d0a53ad, jsii.invoke(self, "addToResourcePolicy", [statement]))
|
|
5536
5536
|
|
|
5537
|
+
@jsii.python.classproperty
|
|
5538
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
5539
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
5540
|
+
'''Uniquely identifies this class.'''
|
|
5541
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
5542
|
+
|
|
5537
5543
|
@builtins.property
|
|
5538
5544
|
@jsii.member(jsii_name="repositoryArn")
|
|
5539
5545
|
def repository_arn(self) -> builtins.str:
|
|
@@ -487,6 +487,12 @@ class DockerImageAsset(
|
|
|
487
487
|
check_type(argname="argument resource_property", value=resource_property, expected_type=type_hints["resource_property"])
|
|
488
488
|
return typing.cast(None, jsii.invoke(self, "addResourceMetadata", [resource, resource_property]))
|
|
489
489
|
|
|
490
|
+
@jsii.python.classproperty
|
|
491
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
492
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
493
|
+
'''Uniquely identifies this class.'''
|
|
494
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
495
|
+
|
|
490
496
|
@builtins.property
|
|
491
497
|
@jsii.member(jsii_name="assetHash")
|
|
492
498
|
def asset_hash(self) -> builtins.str:
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -3611,6 +3611,12 @@ class AsgCapacityProvider(
|
|
|
3611
3611
|
|
|
3612
3612
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3613
3613
|
|
|
3614
|
+
@jsii.python.classproperty
|
|
3615
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
3616
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
3617
|
+
'''Uniquely identifies this class.'''
|
|
3618
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
3619
|
+
|
|
3614
3620
|
@builtins.property
|
|
3615
3621
|
@jsii.member(jsii_name="autoScalingGroup")
|
|
3616
3622
|
def auto_scaling_group(self) -> _AutoScalingGroup_c547a7b9:
|
|
@@ -8626,6 +8632,7 @@ class CfnService(
|
|
|
8626
8632
|
)]
|
|
8627
8633
|
)],
|
|
8628
8634
|
throughput=123,
|
|
8635
|
+
volume_initialization_rate=123,
|
|
8629
8636
|
volume_type="volumeType"
|
|
8630
8637
|
)
|
|
8631
8638
|
)],
|
|
@@ -11142,6 +11149,7 @@ class CfnService(
|
|
|
11142
11149
|
"snapshot_id": "snapshotId",
|
|
11143
11150
|
"tag_specifications": "tagSpecifications",
|
|
11144
11151
|
"throughput": "throughput",
|
|
11152
|
+
"volume_initialization_rate": "volumeInitializationRate",
|
|
11145
11153
|
"volume_type": "volumeType",
|
|
11146
11154
|
},
|
|
11147
11155
|
)
|
|
@@ -11158,6 +11166,7 @@ class CfnService(
|
|
|
11158
11166
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
11159
11167
|
tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnService.EBSTagSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11160
11168
|
throughput: typing.Optional[jsii.Number] = None,
|
|
11169
|
+
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
11161
11170
|
volume_type: typing.Optional[builtins.str] = None,
|
|
11162
11171
|
) -> None:
|
|
11163
11172
|
'''The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf.
|
|
@@ -11175,6 +11184,7 @@ class CfnService(
|
|
|
11175
11184
|
:param snapshot_id: The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size. This parameter maps 1:1 with the ``SnapshotId`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* .
|
|
11176
11185
|
:param tag_specifications: The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with the ``TagSpecifications.N`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* .
|
|
11177
11186
|
:param throughput: The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* . .. epigraph:: This parameter is only supported for the ``gp3`` volume type.
|
|
11187
|
+
:param volume_initialization_rate:
|
|
11178
11188
|
:param volume_type: The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* . For more information, see `Amazon EBS volume types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html>`_ in the *Amazon EC2 User Guide* . The following are the supported volume types. - General Purpose SSD: ``gp2`` | ``gp3`` - Provisioned IOPS SSD: ``io1`` | ``io2`` - Throughput Optimized HDD: ``st1`` - Cold HDD: ``sc1`` - Magnetic: ``standard`` .. epigraph:: The magnetic volume type is not supported on Fargate.
|
|
11179
11189
|
|
|
11180
11190
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html
|
|
@@ -11207,6 +11217,7 @@ class CfnService(
|
|
|
11207
11217
|
)]
|
|
11208
11218
|
)],
|
|
11209
11219
|
throughput=123,
|
|
11220
|
+
volume_initialization_rate=123,
|
|
11210
11221
|
volume_type="volumeType"
|
|
11211
11222
|
)
|
|
11212
11223
|
'''
|
|
@@ -11221,6 +11232,7 @@ class CfnService(
|
|
|
11221
11232
|
check_type(argname="argument snapshot_id", value=snapshot_id, expected_type=type_hints["snapshot_id"])
|
|
11222
11233
|
check_type(argname="argument tag_specifications", value=tag_specifications, expected_type=type_hints["tag_specifications"])
|
|
11223
11234
|
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
11235
|
+
check_type(argname="argument volume_initialization_rate", value=volume_initialization_rate, expected_type=type_hints["volume_initialization_rate"])
|
|
11224
11236
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
11225
11237
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11226
11238
|
"role_arn": role_arn,
|
|
@@ -11241,6 +11253,8 @@ class CfnService(
|
|
|
11241
11253
|
self._values["tag_specifications"] = tag_specifications
|
|
11242
11254
|
if throughput is not None:
|
|
11243
11255
|
self._values["throughput"] = throughput
|
|
11256
|
+
if volume_initialization_rate is not None:
|
|
11257
|
+
self._values["volume_initialization_rate"] = volume_initialization_rate
|
|
11244
11258
|
if volume_type is not None:
|
|
11245
11259
|
self._values["volume_type"] = volume_type
|
|
11246
11260
|
|
|
@@ -11375,6 +11389,14 @@ class CfnService(
|
|
|
11375
11389
|
result = self._values.get("throughput")
|
|
11376
11390
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11377
11391
|
|
|
11392
|
+
@builtins.property
|
|
11393
|
+
def volume_initialization_rate(self) -> typing.Optional[jsii.Number]:
|
|
11394
|
+
'''
|
|
11395
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html#cfn-ecs-service-servicemanagedebsvolumeconfiguration-volumeinitializationrate
|
|
11396
|
+
'''
|
|
11397
|
+
result = self._values.get("volume_initialization_rate")
|
|
11398
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11399
|
+
|
|
11378
11400
|
@builtins.property
|
|
11379
11401
|
def volume_type(self) -> typing.Optional[builtins.str]:
|
|
11380
11402
|
'''The volume type.
|
|
@@ -11579,6 +11601,7 @@ class CfnService(
|
|
|
11579
11601
|
)]
|
|
11580
11602
|
)],
|
|
11581
11603
|
throughput=123,
|
|
11604
|
+
volume_initialization_rate=123,
|
|
11582
11605
|
volume_type="volumeType"
|
|
11583
11606
|
)
|
|
11584
11607
|
)
|
|
@@ -12044,6 +12067,7 @@ class CfnServiceProps:
|
|
|
12044
12067
|
)]
|
|
12045
12068
|
)],
|
|
12046
12069
|
throughput=123,
|
|
12070
|
+
volume_initialization_rate=123,
|
|
12047
12071
|
volume_type="volumeType"
|
|
12048
12072
|
)
|
|
12049
12073
|
)],
|
|
@@ -20919,6 +20943,12 @@ class ContainerDefinition(
|
|
|
20919
20943
|
def CONTAINER_PORT_USE_RANGE(cls) -> jsii.Number:
|
|
20920
20944
|
return typing.cast(jsii.Number, jsii.sget(cls, "CONTAINER_PORT_USE_RANGE"))
|
|
20921
20945
|
|
|
20946
|
+
@jsii.python.classproperty
|
|
20947
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20948
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20949
|
+
'''Uniquely identifies this class.'''
|
|
20950
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20951
|
+
|
|
20922
20952
|
@builtins.property
|
|
20923
20953
|
@jsii.member(jsii_name="containerDependencies")
|
|
20924
20954
|
def container_dependencies(self) -> typing.List["ContainerDependency"]:
|
|
@@ -22694,24 +22724,32 @@ class ContainerImage(
|
|
|
22694
22724
|
|
|
22695
22725
|
Example::
|
|
22696
22726
|
|
|
22697
|
-
#
|
|
22698
|
-
# my_job_role: iam.Role
|
|
22727
|
+
# vpc: ec2.Vpc
|
|
22699
22728
|
|
|
22700
|
-
my_file_system.grant_read(my_job_role)
|
|
22701
22729
|
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
|
|
22706
|
-
|
|
22707
|
-
|
|
22708
|
-
|
|
22709
|
-
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
|
|
22713
|
-
|
|
22730
|
+
cluster = ecs.Cluster(self, "FargateCPCluster",
|
|
22731
|
+
vpc=vpc,
|
|
22732
|
+
enable_fargate_capacity_providers=True
|
|
22733
|
+
)
|
|
22734
|
+
|
|
22735
|
+
task_definition = ecs.FargateTaskDefinition(self, "TaskDef")
|
|
22736
|
+
|
|
22737
|
+
task_definition.add_container("web",
|
|
22738
|
+
image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
|
|
22739
|
+
)
|
|
22740
|
+
|
|
22741
|
+
ecs.FargateService(self, "FargateService",
|
|
22742
|
+
cluster=cluster,
|
|
22743
|
+
task_definition=task_definition,
|
|
22744
|
+
min_healthy_percent=100,
|
|
22745
|
+
capacity_provider_strategies=[ecs.CapacityProviderStrategy(
|
|
22746
|
+
capacity_provider="FARGATE_SPOT",
|
|
22747
|
+
weight=2
|
|
22748
|
+
), ecs.CapacityProviderStrategy(
|
|
22749
|
+
capacity_provider="FARGATE",
|
|
22750
|
+
weight=1
|
|
22714
22751
|
)
|
|
22752
|
+
]
|
|
22715
22753
|
)
|
|
22716
22754
|
'''
|
|
22717
22755
|
|
|
@@ -28542,6 +28580,12 @@ class FirelensLogRouter(
|
|
|
28542
28580
|
check_type(argname="argument _task_definition", value=_task_definition, expected_type=type_hints["_task_definition"])
|
|
28543
28581
|
return typing.cast(CfnTaskDefinition.ContainerDefinitionProperty, jsii.invoke(self, "renderContainerDefinition", [_task_definition]))
|
|
28544
28582
|
|
|
28583
|
+
@jsii.python.classproperty
|
|
28584
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
28585
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
28586
|
+
'''Uniquely identifies this class.'''
|
|
28587
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
28588
|
+
|
|
28545
28589
|
@builtins.property
|
|
28546
28590
|
@jsii.member(jsii_name="firelensConfig")
|
|
28547
28591
|
def firelens_config(self) -> FirelensConfig:
|
|
@@ -37081,8 +37125,8 @@ class TagParameterContainerImage(
|
|
|
37081
37125
|
# This is the Stack containing a simple ECS Service that uses the provided ContainerImage.
|
|
37082
37126
|
#
|
|
37083
37127
|
class EcsAppStack(cdk.Stack):
|
|
37084
|
-
def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
|
|
37085
|
-
super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
|
|
37128
|
+
def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
37129
|
+
super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
|
|
37086
37130
|
|
|
37087
37131
|
task_definition = ecs.TaskDefinition(self, "TaskDefinition",
|
|
37088
37132
|
compatibility=ecs.Compatibility.FARGATE,
|
|
@@ -37106,8 +37150,8 @@ class TagParameterContainerImage(
|
|
|
37106
37150
|
#
|
|
37107
37151
|
class PipelineStack(cdk.Stack):
|
|
37108
37152
|
|
|
37109
|
-
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
|
|
37110
|
-
super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
|
|
37153
|
+
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
37154
|
+
super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
|
|
37111
37155
|
|
|
37112
37156
|
# ********* ECS part ****************
|
|
37113
37157
|
|
|
@@ -37861,6 +37905,12 @@ class TaskDefinition(
|
|
|
37861
37905
|
'''Creates the task execution IAM role if it doesn't already exist.'''
|
|
37862
37906
|
return typing.cast(_IRole_235f5d8e, jsii.invoke(self, "obtainExecutionRole", []))
|
|
37863
37907
|
|
|
37908
|
+
@jsii.python.classproperty
|
|
37909
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
37910
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
37911
|
+
'''Uniquely identifies this class.'''
|
|
37912
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
37913
|
+
|
|
37864
37914
|
@builtins.property
|
|
37865
37915
|
@jsii.member(jsii_name="compatibility")
|
|
37866
37916
|
def compatibility(self) -> Compatibility:
|
|
@@ -40304,6 +40354,12 @@ class Cluster(
|
|
|
40304
40354
|
|
|
40305
40355
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryUtilization", [props]))
|
|
40306
40356
|
|
|
40357
|
+
@jsii.python.classproperty
|
|
40358
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
40359
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
40360
|
+
'''Uniquely identifies this class.'''
|
|
40361
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
40362
|
+
|
|
40307
40363
|
@builtins.property
|
|
40308
40364
|
@jsii.member(jsii_name="capacityProviderNames")
|
|
40309
40365
|
def capacity_provider_names(self) -> typing.List[builtins.str]:
|
|
@@ -41921,6 +41977,12 @@ class Ec2Service(
|
|
|
41921
41977
|
check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
|
|
41922
41978
|
return typing.cast(None, jsii.invoke(self, "attachToClassicLB", [load_balancer]))
|
|
41923
41979
|
|
|
41980
|
+
@jsii.python.classproperty
|
|
41981
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
41982
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
41983
|
+
'''Uniquely identifies this class.'''
|
|
41984
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
41985
|
+
|
|
41924
41986
|
|
|
41925
41987
|
@jsii.implements(IEc2TaskDefinition)
|
|
41926
41988
|
class Ec2TaskDefinition(
|
|
@@ -42193,6 +42255,12 @@ class Ec2TaskDefinition(
|
|
|
42193
42255
|
|
|
42194
42256
|
return typing.cast(ContainerDefinition, jsii.invoke(self, "addContainer", [id, props]))
|
|
42195
42257
|
|
|
42258
|
+
@jsii.python.classproperty
|
|
42259
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
42260
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
42261
|
+
'''Uniquely identifies this class.'''
|
|
42262
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
42263
|
+
|
|
42196
42264
|
|
|
42197
42265
|
@jsii.implements(IExternalService)
|
|
42198
42266
|
class ExternalService(
|
|
@@ -42496,6 +42564,12 @@ class ExternalService(
|
|
|
42496
42564
|
check_type(argname="argument _targets", value=_targets, expected_type=typing.Tuple[type_hints["_targets"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
42497
42565
|
return typing.cast(None, jsii.invoke(self, "registerLoadBalancerTargets", [*_targets]))
|
|
42498
42566
|
|
|
42567
|
+
@jsii.python.classproperty
|
|
42568
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
42569
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
42570
|
+
'''Uniquely identifies this class.'''
|
|
42571
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
42572
|
+
|
|
42499
42573
|
|
|
42500
42574
|
@jsii.implements(IExternalTaskDefinition)
|
|
42501
42575
|
class ExternalTaskDefinition(
|
|
@@ -42633,6 +42707,12 @@ class ExternalTaskDefinition(
|
|
|
42633
42707
|
|
|
42634
42708
|
return typing.cast(None, jsii.invoke(self, "addInferenceAccelerator", [_inference_accelerator]))
|
|
42635
42709
|
|
|
42710
|
+
@jsii.python.classproperty
|
|
42711
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
42712
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
42713
|
+
'''Uniquely identifies this class.'''
|
|
42714
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
42715
|
+
|
|
42636
42716
|
|
|
42637
42717
|
@jsii.implements(IFargateService)
|
|
42638
42718
|
class FargateService(
|
|
@@ -42837,6 +42917,12 @@ class FargateService(
|
|
|
42837
42917
|
check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
|
|
42838
42918
|
return typing.cast(None, jsii.invoke(self, "attachToClassicLB", [load_balancer]))
|
|
42839
42919
|
|
|
42920
|
+
@jsii.python.classproperty
|
|
42921
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
42922
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
42923
|
+
'''Uniquely identifies this class.'''
|
|
42924
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
42925
|
+
|
|
42840
42926
|
|
|
42841
42927
|
@jsii.implements(IFargateTaskDefinition)
|
|
42842
42928
|
class FargateTaskDefinition(
|
|
@@ -42988,6 +43074,12 @@ class FargateTaskDefinition(
|
|
|
42988
43074
|
|
|
42989
43075
|
return typing.cast(IFargateTaskDefinition, jsii.sinvoke(cls, "fromFargateTaskDefinitionAttributes", [scope, id, attrs]))
|
|
42990
43076
|
|
|
43077
|
+
@jsii.python.classproperty
|
|
43078
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
43079
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
43080
|
+
'''Uniquely identifies this class.'''
|
|
43081
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
43082
|
+
|
|
42991
43083
|
@builtins.property
|
|
42992
43084
|
@jsii.member(jsii_name="cpu")
|
|
42993
43085
|
def cpu(self) -> jsii.Number:
|
|
@@ -44196,6 +44288,7 @@ def _typecheckingstub__dfccfa8c4140c61b1030fe8ed564cee115f38fe8144d5ff6ac1654634
|
|
|
44196
44288
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
44197
44289
|
tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnService.EBSTagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
44198
44290
|
throughput: typing.Optional[jsii.Number] = None,
|
|
44291
|
+
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
44199
44292
|
volume_type: typing.Optional[builtins.str] = None,
|
|
44200
44293
|
) -> None:
|
|
44201
44294
|
"""Type checking stubs"""
|
|
@@ -1143,6 +1143,20 @@ network_load_balanced_fargate_service = ecs_patterns.NetworkLoadBalancedFargateS
|
|
|
1143
1143
|
)
|
|
1144
1144
|
```
|
|
1145
1145
|
|
|
1146
|
+
### Set healthCheckGracePeriod for QueueProcessingFargateService
|
|
1147
|
+
|
|
1148
|
+
```python
|
|
1149
|
+
# vpc: ec2.Vpc
|
|
1150
|
+
|
|
1151
|
+
queue_processing_fargate_service = ecs_patterns.QueueProcessingFargateService(self, "Service",
|
|
1152
|
+
vpc=vpc,
|
|
1153
|
+
memory_limit_mi_b=512,
|
|
1154
|
+
image=ecs.ContainerImage.from_registry("test"),
|
|
1155
|
+
min_healthy_percent=100,
|
|
1156
|
+
health_check_grace_period=Duration.seconds(120)
|
|
1157
|
+
)
|
|
1158
|
+
```
|
|
1159
|
+
|
|
1146
1160
|
### Set securityGroups for NetworkLoadBalancedFargateService
|
|
1147
1161
|
|
|
1148
1162
|
```python
|
|
@@ -8560,6 +8574,12 @@ class ApplicationLoadBalancedFargateService(
|
|
|
8560
8574
|
|
|
8561
8575
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8562
8576
|
|
|
8577
|
+
@jsii.python.classproperty
|
|
8578
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
8579
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
8580
|
+
'''Uniquely identifies this class.'''
|
|
8581
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
8582
|
+
|
|
8563
8583
|
@builtins.property
|
|
8564
8584
|
@jsii.member(jsii_name="assignPublicIp")
|
|
8565
8585
|
def assign_public_ip(self) -> builtins.bool:
|
|
@@ -10064,6 +10084,12 @@ class ApplicationMultipleTargetGroupsFargateService(
|
|
|
10064
10084
|
|
|
10065
10085
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
10066
10086
|
|
|
10087
|
+
@jsii.python.classproperty
|
|
10088
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
10089
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
10090
|
+
'''Uniquely identifies this class.'''
|
|
10091
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
10092
|
+
|
|
10067
10093
|
@builtins.property
|
|
10068
10094
|
@jsii.member(jsii_name="assignPublicIp")
|
|
10069
10095
|
def assign_public_ip(self) -> builtins.bool:
|
|
@@ -11428,6 +11454,12 @@ class NetworkLoadBalancedFargateService(
|
|
|
11428
11454
|
|
|
11429
11455
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
11430
11456
|
|
|
11457
|
+
@jsii.python.classproperty
|
|
11458
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
11459
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
11460
|
+
'''Uniquely identifies this class.'''
|
|
11461
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
11462
|
+
|
|
11431
11463
|
@builtins.property
|
|
11432
11464
|
@jsii.member(jsii_name="assignPublicIp")
|
|
11433
11465
|
def assign_public_ip(self) -> builtins.bool:
|
|
@@ -12731,6 +12763,12 @@ class NetworkMultipleTargetGroupsFargateService(
|
|
|
12731
12763
|
|
|
12732
12764
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
12733
12765
|
|
|
12766
|
+
@jsii.python.classproperty
|
|
12767
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
12768
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
12769
|
+
'''Uniquely identifies this class.'''
|
|
12770
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
12771
|
+
|
|
12734
12772
|
@builtins.property
|
|
12735
12773
|
@jsii.member(jsii_name="assignPublicIp")
|
|
12736
12774
|
def assign_public_ip(self) -> builtins.bool:
|
|
@@ -14068,6 +14106,7 @@ class QueueProcessingFargateService(
|
|
|
14068
14106
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
14069
14107
|
container_name: typing.Optional[builtins.str] = None,
|
|
14070
14108
|
health_check: typing.Optional[typing.Union[_HealthCheck_6459d04f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
14109
|
+
health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
14071
14110
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
14072
14111
|
task_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
14073
14112
|
capacity_provider_strategies: typing.Optional[typing.Sequence[typing.Union[_CapacityProviderStrategy_8d7b6657, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14112,6 +14151,7 @@ class QueueProcessingFargateService(
|
|
|
14112
14151
|
:param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. Default: false
|
|
14113
14152
|
:param container_name: Optional name for the container added. This name is not used when ``taskDefinition`` is provided. Default: - QueueProcessingContainer
|
|
14114
14153
|
:param health_check: The health check command and associated configuration parameters for the container. Default: - Health check configuration from container.
|
|
14154
|
+
:param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
|
|
14115
14155
|
:param security_groups: The security groups to associate with the service. If you do not specify a security group, a new security group is created. Default: - A new security group is created.
|
|
14116
14156
|
:param task_subnets: The subnets to associate with the service. Default: - Public subnets if ``assignPublicIp`` is set, otherwise the first available one of Private, Isolated, Public, in that order.
|
|
14117
14157
|
:param capacity_provider_strategies: A list of Capacity Provider strategies used to place a service. Default: - undefined
|
|
@@ -14157,6 +14197,7 @@ class QueueProcessingFargateService(
|
|
|
14157
14197
|
assign_public_ip=assign_public_ip,
|
|
14158
14198
|
container_name=container_name,
|
|
14159
14199
|
health_check=health_check,
|
|
14200
|
+
health_check_grace_period=health_check_grace_period,
|
|
14160
14201
|
security_groups=security_groups,
|
|
14161
14202
|
task_subnets=task_subnets,
|
|
14162
14203
|
capacity_provider_strategies=capacity_provider_strategies,
|
|
@@ -14251,6 +14292,7 @@ class QueueProcessingFargateService(
|
|
|
14251
14292
|
"assign_public_ip": "assignPublicIp",
|
|
14252
14293
|
"container_name": "containerName",
|
|
14253
14294
|
"health_check": "healthCheck",
|
|
14295
|
+
"health_check_grace_period": "healthCheckGracePeriod",
|
|
14254
14296
|
"security_groups": "securityGroups",
|
|
14255
14297
|
"task_subnets": "taskSubnets",
|
|
14256
14298
|
},
|
|
@@ -14299,6 +14341,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
14299
14341
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
14300
14342
|
container_name: typing.Optional[builtins.str] = None,
|
|
14301
14343
|
health_check: typing.Optional[typing.Union[_HealthCheck_6459d04f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
14344
|
+
health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
14302
14345
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
14303
14346
|
task_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
14304
14347
|
) -> None:
|
|
@@ -14341,6 +14384,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
14341
14384
|
:param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. Default: false
|
|
14342
14385
|
:param container_name: Optional name for the container added. This name is not used when ``taskDefinition`` is provided. Default: - QueueProcessingContainer
|
|
14343
14386
|
:param health_check: The health check command and associated configuration parameters for the container. Default: - Health check configuration from container.
|
|
14387
|
+
:param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
|
|
14344
14388
|
:param security_groups: The security groups to associate with the service. If you do not specify a security group, a new security group is created. Default: - A new security group is created.
|
|
14345
14389
|
:param task_subnets: The subnets to associate with the service. Default: - Public subnets if ``assignPublicIp`` is set, otherwise the first available one of Private, Isolated, Public, in that order.
|
|
14346
14390
|
|
|
@@ -14416,6 +14460,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
14416
14460
|
check_type(argname="argument assign_public_ip", value=assign_public_ip, expected_type=type_hints["assign_public_ip"])
|
|
14417
14461
|
check_type(argname="argument container_name", value=container_name, expected_type=type_hints["container_name"])
|
|
14418
14462
|
check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
|
|
14463
|
+
check_type(argname="argument health_check_grace_period", value=health_check_grace_period, expected_type=type_hints["health_check_grace_period"])
|
|
14419
14464
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
14420
14465
|
check_type(argname="argument task_subnets", value=task_subnets, expected_type=type_hints["task_subnets"])
|
|
14421
14466
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -14493,6 +14538,8 @@ class QueueProcessingFargateServiceProps(
|
|
|
14493
14538
|
self._values["container_name"] = container_name
|
|
14494
14539
|
if health_check is not None:
|
|
14495
14540
|
self._values["health_check"] = health_check
|
|
14541
|
+
if health_check_grace_period is not None:
|
|
14542
|
+
self._values["health_check_grace_period"] = health_check_grace_period
|
|
14496
14543
|
if security_groups is not None:
|
|
14497
14544
|
self._values["security_groups"] = security_groups
|
|
14498
14545
|
if task_subnets is not None:
|
|
@@ -14937,6 +14984,15 @@ class QueueProcessingFargateServiceProps(
|
|
|
14937
14984
|
result = self._values.get("health_check")
|
|
14938
14985
|
return typing.cast(typing.Optional[_HealthCheck_6459d04f], result)
|
|
14939
14986
|
|
|
14987
|
+
@builtins.property
|
|
14988
|
+
def health_check_grace_period(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
14989
|
+
'''The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
|
|
14990
|
+
|
|
14991
|
+
:default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
|
|
14992
|
+
'''
|
|
14993
|
+
result = self._values.get("health_check_grace_period")
|
|
14994
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
14995
|
+
|
|
14940
14996
|
@builtins.property
|
|
14941
14997
|
def security_groups(self) -> typing.Optional[typing.List[_ISecurityGroup_acf8a799]]:
|
|
14942
14998
|
'''The security groups to associate with the service.
|
|
@@ -17671,6 +17727,7 @@ def _typecheckingstub__f7f1cc7ffec4414918cb71e7371c364ad046987205ab7eb0cbe7ad6fc
|
|
|
17671
17727
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
17672
17728
|
container_name: typing.Optional[builtins.str] = None,
|
|
17673
17729
|
health_check: typing.Optional[typing.Union[_HealthCheck_6459d04f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17730
|
+
health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17674
17731
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
17675
17732
|
task_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17676
17733
|
capacity_provider_strategies: typing.Optional[typing.Sequence[typing.Union[_CapacityProviderStrategy_8d7b6657, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -17750,6 +17807,7 @@ def _typecheckingstub__9959b47db027250927e99f3cbc475109465e4e426a52383adb8d29f22
|
|
|
17750
17807
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
17751
17808
|
container_name: typing.Optional[builtins.str] = None,
|
|
17752
17809
|
health_check: typing.Optional[typing.Union[_HealthCheck_6459d04f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17810
|
+
health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17753
17811
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
17754
17812
|
task_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17755
17813
|
) -> None:
|
aws_cdk/aws_efs/__init__.py
CHANGED
|
@@ -4562,6 +4562,12 @@ class AccessPoint(
|
|
|
4562
4562
|
check_type(argname="argument access_point_id", value=access_point_id, expected_type=type_hints["access_point_id"])
|
|
4563
4563
|
return typing.cast(IAccessPoint, jsii.sinvoke(cls, "fromAccessPointId", [scope, id, access_point_id]))
|
|
4564
4564
|
|
|
4565
|
+
@jsii.python.classproperty
|
|
4566
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
4567
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
4568
|
+
'''Uniquely identifies this class.'''
|
|
4569
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
4570
|
+
|
|
4565
4571
|
@builtins.property
|
|
4566
4572
|
@jsii.member(jsii_name="accessPointArn")
|
|
4567
4573
|
def access_point_arn(self) -> builtins.str:
|
|
@@ -4831,6 +4837,12 @@ class FileSystem(
|
|
|
4831
4837
|
'''The default port File System listens on.'''
|
|
4832
4838
|
return typing.cast(jsii.Number, jsii.sget(cls, "DEFAULT_PORT"))
|
|
4833
4839
|
|
|
4840
|
+
@jsii.python.classproperty
|
|
4841
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
4842
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
4843
|
+
'''Uniquely identifies this class.'''
|
|
4844
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
4845
|
+
|
|
4834
4846
|
@builtins.property
|
|
4835
4847
|
@jsii.member(jsii_name="connections")
|
|
4836
4848
|
def connections(self) -> _Connections_0f31fce8:
|
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -14893,6 +14893,12 @@ class KubernetesManifest(
|
|
|
14893
14893
|
|
|
14894
14894
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
14895
14895
|
|
|
14896
|
+
@jsii.python.classproperty
|
|
14897
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
14898
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
14899
|
+
'''Uniquely identifies this class.'''
|
|
14900
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
14901
|
+
|
|
14896
14902
|
@jsii.python.classproperty
|
|
14897
14903
|
@jsii.member(jsii_name="RESOURCE_TYPE")
|
|
14898
14904
|
def RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -16225,6 +16231,12 @@ class Nodegroup(
|
|
|
16225
16231
|
check_type(argname="argument nodegroup_name", value=nodegroup_name, expected_type=type_hints["nodegroup_name"])
|
|
16226
16232
|
return typing.cast(INodegroup, jsii.sinvoke(cls, "fromNodegroupName", [scope, id, nodegroup_name]))
|
|
16227
16233
|
|
|
16234
|
+
@jsii.python.classproperty
|
|
16235
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
16236
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
16237
|
+
'''Uniquely identifies this class.'''
|
|
16238
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
16239
|
+
|
|
16228
16240
|
@builtins.property
|
|
16229
16241
|
@jsii.member(jsii_name="cluster")
|
|
16230
16242
|
def cluster(self) -> ICluster:
|
|
@@ -17334,6 +17346,12 @@ class OpenIdConnectProvider(
|
|
|
17334
17346
|
|
|
17335
17347
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
17336
17348
|
|
|
17349
|
+
@jsii.python.classproperty
|
|
17350
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
17351
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
17352
|
+
'''Uniquely identifies this class.'''
|
|
17353
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
17354
|
+
|
|
17337
17355
|
|
|
17338
17356
|
@jsii.data_type(
|
|
17339
17357
|
jsii_type="aws-cdk-lib.aws_eks.OpenIdConnectProviderProps",
|
|
@@ -18286,6 +18304,12 @@ class AccessEntry(
|
|
|
18286
18304
|
check_type(argname="argument new_access_policies", value=new_access_policies, expected_type=type_hints["new_access_policies"])
|
|
18287
18305
|
return typing.cast(None, jsii.invoke(self, "addAccessPolicies", [new_access_policies]))
|
|
18288
18306
|
|
|
18307
|
+
@jsii.python.classproperty
|
|
18308
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
18309
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
18310
|
+
'''Uniquely identifies this class.'''
|
|
18311
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
18312
|
+
|
|
18289
18313
|
@builtins.property
|
|
18290
18314
|
@jsii.member(jsii_name="accessEntryArn")
|
|
18291
18315
|
def access_entry_arn(self) -> builtins.str:
|
|
@@ -18480,6 +18504,12 @@ class Addon(
|
|
|
18480
18504
|
|
|
18481
18505
|
return typing.cast(IAddon, jsii.sinvoke(cls, "fromAddonAttributes", [scope, id, attrs]))
|
|
18482
18506
|
|
|
18507
|
+
@jsii.python.classproperty
|
|
18508
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
18509
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
18510
|
+
'''Uniquely identifies this class.'''
|
|
18511
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
18512
|
+
|
|
18483
18513
|
@builtins.property
|
|
18484
18514
|
@jsii.member(jsii_name="addonArn")
|
|
18485
18515
|
def addon_arn(self) -> builtins.str:
|
|
@@ -19248,6 +19278,12 @@ class Cluster(
|
|
|
19248
19278
|
check_type(argname="argument access_policies", value=access_policies, expected_type=type_hints["access_policies"])
|
|
19249
19279
|
return typing.cast(None, jsii.invoke(self, "grantAccess", [id, principal, access_policies]))
|
|
19250
19280
|
|
|
19281
|
+
@jsii.python.classproperty
|
|
19282
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
19283
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
19284
|
+
'''Uniquely identifies this class.'''
|
|
19285
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
19286
|
+
|
|
19251
19287
|
@builtins.property
|
|
19252
19288
|
@jsii.member(jsii_name="adminRole")
|
|
19253
19289
|
def admin_role(self) -> _Role_e8c6e11f:
|
|
@@ -20951,6 +20987,12 @@ class FargateCluster(
|
|
|
20951
20987
|
|
|
20952
20988
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
20953
20989
|
|
|
20990
|
+
@jsii.python.classproperty
|
|
20991
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20992
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20993
|
+
'''Uniquely identifies this class.'''
|
|
20994
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20995
|
+
|
|
20954
20996
|
@builtins.property
|
|
20955
20997
|
@jsii.member(jsii_name="defaultProfile")
|
|
20956
20998
|
def default_profile(self) -> FargateProfile:
|
|
@@ -2269,6 +2269,12 @@ class LoadBalancer(
|
|
|
2269
2269
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
2270
2270
|
return typing.cast(None, jsii.invoke(self, "addTarget", [target]))
|
|
2271
2271
|
|
|
2272
|
+
@jsii.python.classproperty
|
|
2273
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
2274
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
2275
|
+
'''Uniquely identifies this class.'''
|
|
2276
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
2277
|
+
|
|
2272
2278
|
@builtins.property
|
|
2273
2279
|
@jsii.member(jsii_name="connections")
|
|
2274
2280
|
def connections(self) -> _Connections_0f31fce8:
|