aws-cdk-lib 2.134.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/__init__.py +5 -0
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.134.0.jsii.tgz → aws-cdk-lib@2.136.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -0
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +30 -21
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +3 -0
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +3 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +3 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +17 -11
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +21 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +20 -9
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +2908 -284
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +30 -36
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +42 -22
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -15
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +5 -2
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +18 -8
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +44 -13
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +37 -14
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +30 -27
- aws_cdk/aws_kendra/__init__.py +22 -15
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +11 -4
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +8 -2
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +3 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +219 -13
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +3 -0
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +3 -0
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +80 -39
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +3 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +3 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +3 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.136.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.134.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecr/__init__.py
CHANGED
|
@@ -220,6 +220,9 @@ To do that, you can use `asset.repository.addToResourcePolicy(statement)` to
|
|
|
220
220
|
grant the desired principal the following permissions: "ecr:GetDownloadUrlForLayer",
|
|
221
221
|
"ecr:BatchGetImage" and "ecr:BatchCheckLayerAvailability".
|
|
222
222
|
'''
|
|
223
|
+
from pkgutil import extend_path
|
|
224
|
+
__path__ = extend_path(__path__, __name__)
|
|
225
|
+
|
|
223
226
|
import abc
|
|
224
227
|
import builtins
|
|
225
228
|
import datetime
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -1863,6 +1863,9 @@ task_definition.add_container("TheContainer",
|
|
|
1863
1863
|
)
|
|
1864
1864
|
```
|
|
1865
1865
|
'''
|
|
1866
|
+
from pkgutil import extend_path
|
|
1867
|
+
__path__ = extend_path(__path__, __name__)
|
|
1868
|
+
|
|
1866
1869
|
import abc
|
|
1867
1870
|
import builtins
|
|
1868
1871
|
import datetime
|
|
@@ -16874,6 +16877,9 @@ class CfnTaskSet(
|
|
|
16874
16877
|
'''Create a task set in the specified cluster and service.
|
|
16875
16878
|
|
|
16876
16879
|
This is used when a service uses the ``EXTERNAL`` deployment controller type. For more information, see `Amazon ECS deployment types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
16880
|
+
.. epigraph::
|
|
16881
|
+
|
|
16882
|
+
On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.
|
|
16877
16883
|
|
|
16878
16884
|
For information about the maximum number of task sets and otther quotas, see `Amazon ECS service quotas <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
16879
16885
|
|
|
@@ -18894,35 +18900,29 @@ class Compatibility(enum.Enum):
|
|
|
18894
18900
|
is_default=True
|
|
18895
18901
|
)
|
|
18896
18902
|
|
|
18897
|
-
cluster = ecs.Cluster(self, "
|
|
18898
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
18899
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
18900
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
18901
|
-
)
|
|
18903
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
18902
18904
|
|
|
18903
18905
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
18904
|
-
|
|
18906
|
+
memory_mi_b="512",
|
|
18907
|
+
cpu="256",
|
|
18908
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
18905
18909
|
)
|
|
18906
18910
|
|
|
18907
|
-
task_definition.add_container("TheContainer",
|
|
18911
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
18908
18912
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
18909
18913
|
memory_limit_mi_b=256
|
|
18910
18914
|
)
|
|
18911
18915
|
|
|
18912
|
-
run_task = tasks.EcsRunTask(self, "
|
|
18916
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
18913
18917
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
18914
18918
|
cluster=cluster,
|
|
18915
18919
|
task_definition=task_definition,
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
placement_constraints=[
|
|
18923
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
18924
|
-
]
|
|
18925
|
-
),
|
|
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(),
|
|
18926
18926
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
18927
18927
|
)
|
|
18928
18928
|
'''
|
|
@@ -35682,35 +35682,29 @@ class TaskDefinitionProps(CommonTaskDefinitionProps):
|
|
|
35682
35682
|
is_default=True
|
|
35683
35683
|
)
|
|
35684
35684
|
|
|
35685
|
-
cluster = ecs.Cluster(self, "
|
|
35686
|
-
cluster.add_capacity("DefaultAutoScalingGroup",
|
|
35687
|
-
instance_type=ec2.InstanceType("t2.micro"),
|
|
35688
|
-
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
35689
|
-
)
|
|
35685
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
35690
35686
|
|
|
35691
35687
|
task_definition = ecs.TaskDefinition(self, "TD",
|
|
35692
|
-
|
|
35688
|
+
memory_mi_b="512",
|
|
35689
|
+
cpu="256",
|
|
35690
|
+
compatibility=ecs.Compatibility.FARGATE
|
|
35693
35691
|
)
|
|
35694
35692
|
|
|
35695
|
-
task_definition.add_container("TheContainer",
|
|
35693
|
+
container_definition = task_definition.add_container("TheContainer",
|
|
35696
35694
|
image=ecs.ContainerImage.from_registry("foo/bar"),
|
|
35697
35695
|
memory_limit_mi_b=256
|
|
35698
35696
|
)
|
|
35699
35697
|
|
|
35700
|
-
run_task = tasks.EcsRunTask(self, "
|
|
35698
|
+
run_task = tasks.EcsRunTask(self, "RunFargate",
|
|
35701
35699
|
integration_pattern=sfn.IntegrationPattern.RUN_JOB,
|
|
35702
35700
|
cluster=cluster,
|
|
35703
35701
|
task_definition=task_definition,
|
|
35704
|
-
|
|
35705
|
-
|
|
35706
|
-
|
|
35707
|
-
|
|
35708
|
-
|
|
35709
|
-
|
|
35710
|
-
placement_constraints=[
|
|
35711
|
-
ecs.PlacementConstraint.member_of("blieptuut")
|
|
35712
|
-
]
|
|
35713
|
-
),
|
|
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(),
|
|
35714
35708
|
propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
|
|
35715
35709
|
)
|
|
35716
35710
|
'''
|
|
@@ -1088,6 +1088,9 @@ queue_processing_fargate_service = ecs_patterns.NetworkLoadBalancedFargateServic
|
|
|
1088
1088
|
)
|
|
1089
1089
|
```
|
|
1090
1090
|
'''
|
|
1091
|
+
from pkgutil import extend_path
|
|
1092
|
+
__path__ = extend_path(__path__, __name__)
|
|
1093
|
+
|
|
1091
1094
|
import abc
|
|
1092
1095
|
import builtins
|
|
1093
1096
|
import datetime
|
aws_cdk/aws_efs/__init__.py
CHANGED
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -196,8 +196,7 @@ cluster = eks.Cluster(self, "HelloEKS",
|
|
|
196
196
|
cluster.add_nodegroup_capacity("custom-node-group",
|
|
197
197
|
instance_types=[ec2.InstanceType("m5.large")],
|
|
198
198
|
min_size=4,
|
|
199
|
-
disk_size=100
|
|
200
|
-
ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
|
|
199
|
+
disk_size=100
|
|
201
200
|
)
|
|
202
201
|
```
|
|
203
202
|
|
|
@@ -217,6 +216,25 @@ cluster.add_nodegroup_capacity("custom-node-group",
|
|
|
217
216
|
)
|
|
218
217
|
```
|
|
219
218
|
|
|
219
|
+
To define the type of the AMI for the node group, you may explicitly define `amiType` according to your requirements, supported amiType could be found [HERE](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.NodegroupAmiType.html).
|
|
220
|
+
|
|
221
|
+
```python
|
|
222
|
+
# cluster: eks.Cluster
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
# X86_64 based AMI managed node group
|
|
226
|
+
cluster.add_nodegroup_capacity("custom-node-group",
|
|
227
|
+
instance_types=[ec2.InstanceType("m5.large")], # NOTE: if amiType is x86_64-based image, the instance types here must be x86_64-based.
|
|
228
|
+
ami_type=eks.NodegroupAmiType.AL2023_X86_64_STANDARD
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
# ARM_64 based AMI managed node group
|
|
232
|
+
cluster.add_nodegroup_capacity("custom-node-group",
|
|
233
|
+
instance_types=[ec2.InstanceType("m6g.medium")], # NOTE: if amiType is ARM-based image, the instance types here must be ARM-based.
|
|
234
|
+
ami_type=eks.NodegroupAmiType.AL2023_ARM_64_STANDARD
|
|
235
|
+
)
|
|
236
|
+
```
|
|
237
|
+
|
|
220
238
|
To define the maximum number of instances which can be simultaneously replaced in a node group during a version update you can set `maxUnavailable` or `maxUnavailablePercentage` options.
|
|
221
239
|
|
|
222
240
|
> For more details visit [Updating a managed node group](https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html)
|
|
@@ -1747,6 +1765,9 @@ cluster = eks.Cluster(self, "Cluster",
|
|
|
1747
1765
|
* [Service Account dependencies](https://github.com/aws/aws-cdk/issues/9910)
|
|
1748
1766
|
* [Support isolated VPCs](https://github.com/aws/aws-cdk/issues/12171)
|
|
1749
1767
|
'''
|
|
1768
|
+
from pkgutil import extend_path
|
|
1769
|
+
__path__ = extend_path(__path__, __name__)
|
|
1770
|
+
|
|
1750
1771
|
import abc
|
|
1751
1772
|
import builtins
|
|
1752
1773
|
import datetime
|
|
@@ -12723,8 +12744,7 @@ class KubernetesVersion(
|
|
|
12723
12744
|
cluster.add_nodegroup_capacity("custom-node-group",
|
|
12724
12745
|
instance_types=[ec2.InstanceType("m5.large")],
|
|
12725
12746
|
min_size=4,
|
|
12726
|
-
disk_size=100
|
|
12727
|
-
ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
|
|
12747
|
+
disk_size=100
|
|
12728
12748
|
)
|
|
12729
12749
|
'''
|
|
12730
12750
|
|
|
@@ -15021,16 +15041,16 @@ class Cluster(
|
|
|
15021
15041
|
|
|
15022
15042
|
Example::
|
|
15023
15043
|
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
|
|
15044
|
+
# or
|
|
15045
|
+
# vpc: ec2.Vpc
|
|
15046
|
+
eks.Cluster(self, "MyCluster",
|
|
15047
|
+
kubectl_memory=Size.gibibytes(4),
|
|
15048
|
+
version=eks.KubernetesVersion.V1_29
|
|
15027
15049
|
)
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
disk_size=100,
|
|
15033
|
-
ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
|
|
15050
|
+
eks.Cluster.from_cluster_attributes(self, "MyCluster",
|
|
15051
|
+
kubectl_memory=Size.gibibytes(4),
|
|
15052
|
+
vpc=vpc,
|
|
15053
|
+
cluster_name="cluster-name"
|
|
15034
15054
|
)
|
|
15035
15055
|
'''
|
|
15036
15056
|
|
|
@@ -16650,16 +16670,16 @@ class ClusterProps(ClusterOptions):
|
|
|
16650
16670
|
|
|
16651
16671
|
Example::
|
|
16652
16672
|
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16673
|
+
# or
|
|
16674
|
+
# vpc: ec2.Vpc
|
|
16675
|
+
eks.Cluster(self, "MyCluster",
|
|
16676
|
+
kubectl_memory=Size.gibibytes(4),
|
|
16677
|
+
version=eks.KubernetesVersion.V1_29
|
|
16656
16678
|
)
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
disk_size=100,
|
|
16662
|
-
ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
|
|
16679
|
+
eks.Cluster.from_cluster_attributes(self, "MyCluster",
|
|
16680
|
+
kubectl_memory=Size.gibibytes(4),
|
|
16681
|
+
vpc=vpc,
|
|
16682
|
+
cluster_name="cluster-name"
|
|
16663
16683
|
)
|
|
16664
16684
|
'''
|
|
16665
16685
|
if isinstance(alb_controller, dict):
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -240,6 +240,23 @@ lb = elbv2.ApplicationLoadBalancer(self, "LB",
|
|
|
240
240
|
|
|
241
241
|
For more information, see [Load balancer attributes](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes)
|
|
242
242
|
|
|
243
|
+
### Setting up Access Log Bucket on Application Load Balancer
|
|
244
|
+
|
|
245
|
+
The only server-side encryption option that's supported is Amazon S3-managed keys (SSE-S3). For more information
|
|
246
|
+
Documentation: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html
|
|
247
|
+
|
|
248
|
+
```python
|
|
249
|
+
# vpc: ec2.Vpc
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
bucket = s3.Bucket(self, "ALBAccessLogsBucket",
|
|
253
|
+
encryption=s3.BucketEncryption.S3_MANAGED
|
|
254
|
+
)
|
|
255
|
+
|
|
256
|
+
lb = elbv2.ApplicationLoadBalancer(self, "LB", vpc=vpc)
|
|
257
|
+
lb.log_access_logs(bucket)
|
|
258
|
+
```
|
|
259
|
+
|
|
243
260
|
## Defining a Network Load Balancer
|
|
244
261
|
|
|
245
262
|
Network Load Balancers are defined in a similar way to Application Load
|
|
@@ -754,6 +771,9 @@ target_group = elbv2.ApplicationTargetGroup.from_target_group_attributes(self, "
|
|
|
754
771
|
target_group_metrics = target_group.metrics
|
|
755
772
|
```
|
|
756
773
|
'''
|
|
774
|
+
from pkgutil import extend_path
|
|
775
|
+
__path__ = extend_path(__path__, __name__)
|
|
776
|
+
|
|
757
777
|
import abc
|
|
758
778
|
import builtins
|
|
759
779
|
import datetime
|
|
@@ -19151,21 +19171,34 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
|
|
|
19151
19171
|
|
|
19152
19172
|
Example::
|
|
19153
19173
|
|
|
19154
|
-
|
|
19155
|
-
#
|
|
19174
|
+
from aws_cdk.aws_autoscaling import AutoScalingGroup
|
|
19175
|
+
# asg: AutoScalingGroup
|
|
19156
19176
|
# vpc: ec2.Vpc
|
|
19157
19177
|
|
|
19158
|
-
service = ecs.FargateService(self, "Service", cluster=cluster, task_definition=task_definition)
|
|
19159
19178
|
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19166
|
-
|
|
19167
|
-
|
|
19168
|
-
|
|
19179
|
+
# Create the load balancer in a VPC. 'internetFacing' is 'false'
|
|
19180
|
+
# by default, which creates an internal load balancer.
|
|
19181
|
+
lb = elbv2.ApplicationLoadBalancer(self, "LB",
|
|
19182
|
+
vpc=vpc,
|
|
19183
|
+
internet_facing=True
|
|
19184
|
+
)
|
|
19185
|
+
|
|
19186
|
+
# Add a listener and open up the load balancer's security group
|
|
19187
|
+
# to the world.
|
|
19188
|
+
listener = lb.add_listener("Listener",
|
|
19189
|
+
port=80,
|
|
19190
|
+
|
|
19191
|
+
# 'open: true' is the default, you can leave it out if you want. Set it
|
|
19192
|
+
# to 'false' and use `listener.connections` if you want to be selective
|
|
19193
|
+
# about who can access the load balancer.
|
|
19194
|
+
open=True
|
|
19195
|
+
)
|
|
19196
|
+
|
|
19197
|
+
# Create an AutoScaling group and add it as a load balancing
|
|
19198
|
+
# target to the listener.
|
|
19199
|
+
listener.add_targets("ApplicationFleet",
|
|
19200
|
+
port=8080,
|
|
19201
|
+
targets=[asg]
|
|
19169
19202
|
)
|
|
19170
19203
|
'''
|
|
19171
19204
|
if isinstance(vpc_subnets, dict):
|
|
@@ -19403,7 +19436,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
19403
19436
|
:param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
|
|
19404
19437
|
:param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
|
|
19405
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
|
|
19406
|
-
: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
|
|
19407
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.
|
|
19408
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.
|
|
19409
19442
|
|
|
@@ -19592,7 +19625,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
|
|
|
19592
19625
|
After this period, the cookie is considered stale. The minimum value is
|
|
19593
19626
|
1 second and the maximum value is 7 days (604800 seconds).
|
|
19594
19627
|
|
|
19595
|
-
:default:
|
|
19628
|
+
:default: - Stickiness is disabled
|
|
19596
19629
|
'''
|
|
19597
19630
|
result = self._values.get("stickiness_cookie_duration")
|
|
19598
19631
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
@@ -21449,6 +21482,26 @@ class ApplicationLoadBalancer(
|
|
|
21449
21482
|
check_type(argname="argument security_group", value=security_group, expected_type=type_hints["security_group"])
|
|
21450
21483
|
return typing.cast(None, jsii.invoke(self, "addSecurityGroup", [security_group]))
|
|
21451
21484
|
|
|
21485
|
+
@jsii.member(jsii_name="logAccessLogs")
|
|
21486
|
+
def log_access_logs(
|
|
21487
|
+
self,
|
|
21488
|
+
bucket: _IBucket_42e086fd,
|
|
21489
|
+
prefix: typing.Optional[builtins.str] = None,
|
|
21490
|
+
) -> None:
|
|
21491
|
+
'''Enable access logging for this load balancer.
|
|
21492
|
+
|
|
21493
|
+
A region must be specified on the stack containing the load balancer; you cannot enable logging on
|
|
21494
|
+
environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html
|
|
21495
|
+
|
|
21496
|
+
:param bucket: -
|
|
21497
|
+
:param prefix: -
|
|
21498
|
+
'''
|
|
21499
|
+
if __debug__:
|
|
21500
|
+
type_hints = typing.get_type_hints(_typecheckingstub__14e58136aa424614ad3deed70de619716d36a85a2336e0d16a5d5e3edc8431cd)
|
|
21501
|
+
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
21502
|
+
check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
|
|
21503
|
+
return typing.cast(None, jsii.invoke(self, "logAccessLogs", [bucket, prefix]))
|
|
21504
|
+
|
|
21452
21505
|
@jsii.member(jsii_name="metric")
|
|
21453
21506
|
def metric(
|
|
21454
21507
|
self,
|
|
@@ -22550,7 +22603,7 @@ class ApplicationTargetGroup(
|
|
|
22550
22603
|
:param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
|
|
22551
22604
|
:param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
|
|
22552
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
|
|
22553
|
-
: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
|
|
22554
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.
|
|
22555
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.
|
|
22556
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
|
|
@@ -25435,6 +25488,13 @@ def _typecheckingstub__57e7fd3d637561416b99cc18ce93e12b3ff0fd16aa199643bcfdcb4f3
|
|
|
25435
25488
|
"""Type checking stubs"""
|
|
25436
25489
|
pass
|
|
25437
25490
|
|
|
25491
|
+
def _typecheckingstub__14e58136aa424614ad3deed70de619716d36a85a2336e0d16a5d5e3edc8431cd(
|
|
25492
|
+
bucket: _IBucket_42e086fd,
|
|
25493
|
+
prefix: typing.Optional[builtins.str] = None,
|
|
25494
|
+
) -> None:
|
|
25495
|
+
"""Type checking stubs"""
|
|
25496
|
+
pass
|
|
25497
|
+
|
|
25438
25498
|
def _typecheckingstub__062c936e075fbff0552978e79ddc8d8cb01378ba1804b2546d14bd0383a824a0(
|
|
25439
25499
|
metric_name: builtins.str,
|
|
25440
25500
|
*,
|
|
@@ -427,6 +427,9 @@ Follow these steps to migrate your application without data loss:
|
|
|
427
427
|
* Synthesize and deploy your CDK application to reconfigure/recreate the modified dependent resources. The CloudFormation stacks should now contain the same resources as existed prior to migration.
|
|
428
428
|
* Proceed with development as normal!
|
|
429
429
|
'''
|
|
430
|
+
from pkgutil import extend_path
|
|
431
|
+
__path__ = extend_path(__path__, __name__)
|
|
432
|
+
|
|
430
433
|
import abc
|
|
431
434
|
import builtins
|
|
432
435
|
import datetime
|
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
|
@@ -1705,7 +1708,7 @@ class CfnMatchingWorkflow(
|
|
|
1705
1708
|
'''An object which defines the ``resolutionType`` and the ``ruleBasedProperties`` .
|
|
1706
1709
|
|
|
1707
1710
|
:param provider_properties: The properties of the provider service.
|
|
1708
|
-
:param resolution_type: The type of matching. There are
|
|
1711
|
+
:param resolution_type: The type of matching. There are three types of matching: ``RULE_MATCHING`` , ``ML_MATCHING`` , and ``PROVIDER`` .
|
|
1709
1712
|
:param rule_based_properties: An object which defines the list of matching rules to run and has a field ``Rules`` , which is a list of rule objects.
|
|
1710
1713
|
|
|
1711
1714
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html
|
|
@@ -1767,7 +1770,7 @@ class CfnMatchingWorkflow(
|
|
|
1767
1770
|
def resolution_type(self) -> typing.Optional[builtins.str]:
|
|
1768
1771
|
'''The type of matching.
|
|
1769
1772
|
|
|
1770
|
-
There are
|
|
1773
|
+
There are three types of matching: ``RULE_MATCHING`` , ``ML_MATCHING`` , and ``PROVIDER`` .
|
|
1771
1774
|
|
|
1772
1775
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html#cfn-entityresolution-matchingworkflow-resolutiontechniques-resolutiontype
|
|
1773
1776
|
'''
|
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -248,6 +248,9 @@ event_bus = events.EventBus.from_event_bus_arn(self, "ImportedEventBus", "arn:aw
|
|
|
248
248
|
event_bus.grant_put_events_to(lambda_function)
|
|
249
249
|
```
|
|
250
250
|
'''
|
|
251
|
+
from pkgutil import extend_path
|
|
252
|
+
__path__ = extend_path(__path__, __name__)
|
|
253
|
+
|
|
251
254
|
import abc
|
|
252
255
|
import builtins
|
|
253
256
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_finspace/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_fis/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_fms/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_forecast/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -193,6 +193,9 @@ When you turn data compression on for an existing file system, only newly writte
|
|
|
193
193
|
The L2 construct for the FSx for Windows File Server has not yet been implemented. To instantiate an FSx for Windows
|
|
194
194
|
file system, the L1 constructs can be used as defined by CloudFormation.
|
|
195
195
|
'''
|
|
196
|
+
from pkgutil import extend_path
|
|
197
|
+
__path__ = extend_path(__path__, __name__)
|
|
198
|
+
|
|
196
199
|
import abc
|
|
197
200
|
import builtins
|
|
198
201
|
import datetime
|