aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.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 +1349 -373
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1017 -155
- aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +298 -43
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +94 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +227 -53
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +1875 -132
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +135 -55
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +317 -28
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1405 -178
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +6747 -627
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +42 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +237 -32
- aws_cdk/aws_chatbot/__init__.py +70 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +345 -166
- aws_cdk/aws_cloudfront/__init__.py +2101 -680
- aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
- aws_cdk/aws_cloudtrail/__init__.py +301 -17
- aws_cdk/aws_cloudwatch/__init__.py +1414 -153
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1103 -118
- aws_cdk/aws_codecommit/__init__.py +23 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +67 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +127 -64
- aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +16 -2
- aws_cdk/aws_cognito/__init__.py +814 -80
- aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +191 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +723 -203
- aws_cdk/aws_datazone/__init__.py +4425 -608
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +321 -32
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +323 -46
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +340 -12
- aws_cdk/aws_dynamodb/__init__.py +1463 -166
- aws_cdk/aws_ec2/__init__.py +9636 -1120
- aws_cdk/aws_ecr/__init__.py +631 -43
- aws_cdk/aws_ecr_assets/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +6524 -497
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_efs/__init__.py +264 -24
- aws_cdk/aws_eks/__init__.py +1050 -218
- aws_cdk/aws_elasticache/__init__.py +373 -20
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
- aws_cdk/aws_elasticsearch/__init__.py +282 -9
- aws_cdk/aws_emr/__init__.py +187 -20
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +969 -124
- aws_cdk/aws_events_targets/__init__.py +310 -54
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1236 -142
- aws_cdk/aws_gamelift/__init__.py +653 -78
- aws_cdk/aws_gameliftstreams/__init__.py +38 -16
- aws_cdk/aws_globalaccelerator/__init__.py +55 -14
- aws_cdk/aws_glue/__init__.py +1368 -320
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +480 -140
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1433 -183
- aws_cdk/aws_inspector/__init__.py +38 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1730 -86
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +622 -22
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +188 -41
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2101 -252
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +871 -8
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2159 -975
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +5904 -956
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1239 -35
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +104 -18
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1289 -273
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +75 -8
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2495 -529
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +495 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +151 -6
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +387 -68
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3345 -512
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +692 -4
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +180 -6
- aws_cdk/aws_route53/__init__.py +3273 -1442
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +226 -36
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1291 -158
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +147 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +266 -8
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6617 -363
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +237 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +170 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +405 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +140 -47
- aws_cdk/aws_ses/__init__.py +1231 -140
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +245 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +211 -14
- aws_cdk/aws_ssm/__init__.py +401 -58
- aws_cdk/aws_ssmcontacts/__init__.py +46 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +615 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +861 -75
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
- aws_cdk/aws_voiceid/__init__.py +41 -2
- aws_cdk/aws_vpclattice/__init__.py +376 -30
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1179 -60
- aws_cdk/aws_wisdom/__init__.py +1401 -90
- aws_cdk/aws_workspaces/__init__.py +93 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +231 -6
- aws_cdk/custom_resources/__init__.py +40 -12
- aws_cdk/cx_api/__init__.py +85 -14
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/pipelines/__init__.py +192 -42
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +60 -18
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -40,6 +40,8 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
40
40
|
* [Bedrock](#bedrock)
|
|
41
41
|
|
|
42
42
|
* [InvokeModel](#invokemodel)
|
|
43
|
+
* [Using Input Path for S3 URI](#using-input-path-for-s3-uri)
|
|
44
|
+
* [Using Input Path](#using-input-path)
|
|
43
45
|
* [createModelCustomizationJob](#createmodelcustomizationjob)
|
|
44
46
|
* [CodeBuild](#codebuild)
|
|
45
47
|
|
|
@@ -57,6 +59,7 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
57
59
|
|
|
58
60
|
* [EC2](#ec2)
|
|
59
61
|
* [Fargate](#fargate)
|
|
62
|
+
* [Override CPU and Memory Parameter](#override-cpu-and-memory-parameter)
|
|
60
63
|
* [ECS enable Exec](#ecs-enable-exec)
|
|
61
64
|
* [EMR](#emr)
|
|
62
65
|
|
|
@@ -78,6 +81,9 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
78
81
|
* [EventBridge](#eventbridge)
|
|
79
82
|
|
|
80
83
|
* [Put Events](#put-events)
|
|
84
|
+
* [EventBridge Scheduler](#eventbridge-scheduler)
|
|
85
|
+
|
|
86
|
+
* [Create Scheduler](#create-scheduler)
|
|
81
87
|
* [Glue](#glue)
|
|
82
88
|
|
|
83
89
|
* [StartJobRun](#startjobrun)
|
|
@@ -85,12 +91,13 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
85
91
|
* [Glue DataBrew](#glue-databrew)
|
|
86
92
|
|
|
87
93
|
* [Start Job Run](#start-job-run-1)
|
|
94
|
+
* [Invoke HTTP API](#invoke-http-api)
|
|
88
95
|
* [Lambda](#lambda)
|
|
89
96
|
|
|
90
97
|
* [Invoke](#invoke)
|
|
91
98
|
* [MediaConvert](#mediaconvert)
|
|
92
99
|
|
|
93
|
-
* [
|
|
100
|
+
* [CreateJob](#createjob)
|
|
94
101
|
* [SageMaker](#sagemaker)
|
|
95
102
|
|
|
96
103
|
* [Create Training Job](#create-training-job)
|
|
@@ -154,6 +161,17 @@ The `EvaluateExpression` supports a `runtime` prop to specify the Lambda
|
|
|
154
161
|
runtime to use to evaluate the expression. Currently, only runtimes
|
|
155
162
|
of the Node.js family are supported.
|
|
156
163
|
|
|
164
|
+
The `EvaluateExpression` also supports an `architecture` prop to specify the Lambda
|
|
165
|
+
architecture. This can be useful when migrating to ARM64 or when running integration
|
|
166
|
+
tests on ARM64 systems.
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
convert_to_seconds_arm64 = tasks.EvaluateExpression(self, "Convert to seconds",
|
|
170
|
+
expression="$.waitMilliseconds / 1000",
|
|
171
|
+
architecture=lambda_.Architecture.ARM_64
|
|
172
|
+
)
|
|
173
|
+
```
|
|
174
|
+
|
|
157
175
|
## API Gateway
|
|
158
176
|
|
|
159
177
|
Step Functions supports [API Gateway](https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html) through the service integration pattern.
|
|
@@ -959,6 +977,18 @@ tasks.EmrCreateCluster(self, "SpotSpecification",
|
|
|
959
977
|
)
|
|
960
978
|
```
|
|
961
979
|
|
|
980
|
+
You can [customize EBS root device volume](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html).
|
|
981
|
+
|
|
982
|
+
```python
|
|
983
|
+
tasks.EmrCreateCluster(self, "Create Cluster",
|
|
984
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(),
|
|
985
|
+
name="ClusterName",
|
|
986
|
+
ebs_root_volume_iops=4000,
|
|
987
|
+
ebs_root_volume_size=Size.gibibytes(20),
|
|
988
|
+
ebs_root_volume_throughput=200
|
|
989
|
+
)
|
|
990
|
+
```
|
|
991
|
+
|
|
962
992
|
If you want to run multiple steps in [parallel](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-concurrent-steps.html),
|
|
963
993
|
you can specify the `stepConcurrencyLevel` property. The concurrency range is between 1
|
|
964
994
|
and 256 inclusive, where the default concurrency of 1 means no step concurrency is allowed.
|
|
@@ -984,6 +1014,43 @@ tasks.EmrCreateCluster(self, "Create Cluster",
|
|
|
984
1014
|
)
|
|
985
1015
|
```
|
|
986
1016
|
|
|
1017
|
+
If you want to use [managed scaling](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-scaling.html),
|
|
1018
|
+
you can specify the `managedScalingPolicy` property.
|
|
1019
|
+
|
|
1020
|
+
```python
|
|
1021
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
1022
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
1023
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
1024
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
1025
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
1026
|
+
instance_type="m5.xlarge"
|
|
1027
|
+
)
|
|
1028
|
+
],
|
|
1029
|
+
target_on_demand_capacity=1
|
|
1030
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
1031
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
1032
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
1033
|
+
instance_type="m5.xlarge"
|
|
1034
|
+
)
|
|
1035
|
+
],
|
|
1036
|
+
target_on_demand_capacity=1
|
|
1037
|
+
)
|
|
1038
|
+
]
|
|
1039
|
+
),
|
|
1040
|
+
name="ClusterName",
|
|
1041
|
+
release_label="emr-7.9.0",
|
|
1042
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
1043
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
1044
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
1045
|
+
maximum_capacity_units=4,
|
|
1046
|
+
minimum_capacity_units=1,
|
|
1047
|
+
maximum_on_demand_capacity_units=4,
|
|
1048
|
+
maximum_core_capacity_units=2
|
|
1049
|
+
)
|
|
1050
|
+
)
|
|
1051
|
+
)
|
|
1052
|
+
```
|
|
1053
|
+
|
|
987
1054
|
### Termination Protection
|
|
988
1055
|
|
|
989
1056
|
Locks a cluster (job flow) so the EC2 instances in the cluster cannot be
|
|
@@ -1316,13 +1383,13 @@ The following code snippet includes a Task state that uses eks:call to list the
|
|
|
1316
1383
|
|
|
1317
1384
|
```python
|
|
1318
1385
|
import aws_cdk.aws_eks as eks
|
|
1319
|
-
from aws_cdk.
|
|
1386
|
+
from aws_cdk.lambda_layer_kubectl_v34 import KubectlV34Layer
|
|
1320
1387
|
|
|
1321
1388
|
|
|
1322
1389
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
1323
|
-
version=eks.KubernetesVersion.
|
|
1390
|
+
version=eks.KubernetesVersion.V1_34,
|
|
1324
1391
|
cluster_name="myEksCluster",
|
|
1325
|
-
kubectl_layer=
|
|
1392
|
+
kubectl_layer=KubectlV34Layer(self, "kubectl")
|
|
1326
1393
|
)
|
|
1327
1394
|
|
|
1328
1395
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -1529,7 +1596,7 @@ connection = events.Connection(self, "Connection",
|
|
|
1529
1596
|
|
|
1530
1597
|
tasks.HttpInvoke(self, "Invoke HTTP API",
|
|
1531
1598
|
api_root="https://api.example.com",
|
|
1532
|
-
api_endpoint=sfn.TaskInput.from_text("
|
|
1599
|
+
api_endpoint=sfn.TaskInput.from_text(sfn.JsonPath.format("resource/{}/details", sfn.JsonPath.string_at("$.resourceId"))),
|
|
1533
1600
|
body=sfn.TaskInput.from_object({"foo": "bar"}),
|
|
1534
1601
|
connection=connection,
|
|
1535
1602
|
headers=sfn.TaskInput.from_object({"Content-Type": "application/json"}),
|
|
@@ -2106,7 +2173,11 @@ from ..aws_iam import (
|
|
|
2106
2173
|
PolicyStatement as _PolicyStatement_0fe33853,
|
|
2107
2174
|
)
|
|
2108
2175
|
from ..aws_kms import IKey as _IKey_5f11635f
|
|
2109
|
-
from ..aws_lambda import
|
|
2176
|
+
from ..aws_lambda import (
|
|
2177
|
+
Architecture as _Architecture_12d5a53f,
|
|
2178
|
+
IFunction as _IFunction_6adb0ab8,
|
|
2179
|
+
Runtime as _Runtime_b4eaa844,
|
|
2180
|
+
)
|
|
2110
2181
|
from ..aws_logs import ILogGroup as _ILogGroup_3c4fa718
|
|
2111
2182
|
from ..aws_s3 import IBucket as _IBucket_42e086fd, Location as _Location_0948fa7f
|
|
2112
2183
|
from ..aws_sns import ITopic as _ITopic_9eca4852
|
|
@@ -2127,6 +2198,8 @@ from ..aws_stepfunctions import (
|
|
|
2127
2198
|
TaskStateJsonataBaseProps as _TaskStateJsonataBaseProps_0e91775c,
|
|
2128
2199
|
Timeout as _Timeout_d7c10551,
|
|
2129
2200
|
)
|
|
2201
|
+
from ..interfaces.aws_iam import IRoleRef as _IRoleRef_8400221f
|
|
2202
|
+
from ..interfaces.aws_kms import IKeyRef as _IKeyRef_d4fc6ef3
|
|
2130
2203
|
|
|
2131
2204
|
|
|
2132
2205
|
class AcceleratorClass(
|
|
@@ -9952,7 +10025,7 @@ class BedrockCreateModelCustomizationJob(
|
|
|
9952
10025
|
custom_model_tags: typing.Optional[typing.Sequence[typing.Union["CustomModelTag", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9953
10026
|
hyper_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9954
10027
|
job_tags: typing.Optional[typing.Sequence[typing.Union["CustomModelTag", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9955
|
-
role: typing.Optional[
|
|
10028
|
+
role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
9956
10029
|
validation_data: typing.Optional[typing.Sequence[typing.Union["ValidationBucketConfiguration", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9957
10030
|
vpc_config: typing.Optional["IBedrockCreateModelCustomizationJobVpcConfig"] = None,
|
|
9958
10031
|
result_path: typing.Optional[builtins.str] = None,
|
|
@@ -10124,7 +10197,7 @@ class BedrockCreateModelCustomizationJobProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
10124
10197
|
custom_model_tags: typing.Optional[typing.Sequence[typing.Union["CustomModelTag", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10125
10198
|
hyper_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10126
10199
|
job_tags: typing.Optional[typing.Sequence[typing.Union["CustomModelTag", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10127
|
-
role: typing.Optional[
|
|
10200
|
+
role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
10128
10201
|
validation_data: typing.Optional[typing.Sequence[typing.Union["ValidationBucketConfiguration", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10129
10202
|
vpc_config: typing.Optional["IBedrockCreateModelCustomizationJobVpcConfig"] = None,
|
|
10130
10203
|
) -> None:
|
|
@@ -10613,7 +10686,7 @@ class BedrockCreateModelCustomizationJobProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
10613
10686
|
return typing.cast(typing.Optional[typing.List["CustomModelTag"]], result)
|
|
10614
10687
|
|
|
10615
10688
|
@builtins.property
|
|
10616
|
-
def role(self) -> typing.Optional[
|
|
10689
|
+
def role(self) -> typing.Optional[_IRoleRef_8400221f]:
|
|
10617
10690
|
'''The IAM role that Amazon Bedrock can assume to perform tasks on your behalf.
|
|
10618
10691
|
|
|
10619
10692
|
For example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket,
|
|
@@ -10623,7 +10696,7 @@ class BedrockCreateModelCustomizationJobProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
10623
10696
|
:default: - use auto generated role
|
|
10624
10697
|
'''
|
|
10625
10698
|
result = self._values.get("role")
|
|
10626
|
-
return typing.cast(typing.Optional[
|
|
10699
|
+
return typing.cast(typing.Optional[_IRoleRef_8400221f], result)
|
|
10627
10700
|
|
|
10628
10701
|
@builtins.property
|
|
10629
10702
|
def validation_data(
|
|
@@ -32600,13 +32673,13 @@ class EksCall(
|
|
|
32600
32673
|
Example::
|
|
32601
32674
|
|
|
32602
32675
|
import aws_cdk.aws_eks as eks
|
|
32603
|
-
from aws_cdk.
|
|
32676
|
+
from aws_cdk.lambda_layer_kubectl_v34 import KubectlV34Layer
|
|
32604
32677
|
|
|
32605
32678
|
|
|
32606
32679
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
32607
|
-
version=eks.KubernetesVersion.
|
|
32680
|
+
version=eks.KubernetesVersion.V1_34,
|
|
32608
32681
|
cluster_name="myEksCluster",
|
|
32609
|
-
kubectl_layer=
|
|
32682
|
+
kubectl_layer=KubectlV34Layer(self, "kubectl")
|
|
32610
32683
|
)
|
|
32611
32684
|
|
|
32612
32685
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -33708,13 +33781,13 @@ class EksCallProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
33708
33781
|
Example::
|
|
33709
33782
|
|
|
33710
33783
|
import aws_cdk.aws_eks as eks
|
|
33711
|
-
from aws_cdk.
|
|
33784
|
+
from aws_cdk.lambda_layer_kubectl_v34 import KubectlV34Layer
|
|
33712
33785
|
|
|
33713
33786
|
|
|
33714
33787
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
33715
|
-
version=eks.KubernetesVersion.
|
|
33788
|
+
version=eks.KubernetesVersion.V1_34,
|
|
33716
33789
|
cluster_name="myEksCluster",
|
|
33717
|
-
kubectl_layer=
|
|
33790
|
+
kubectl_layer=KubectlV34Layer(self, "kubectl")
|
|
33718
33791
|
)
|
|
33719
33792
|
|
|
33720
33793
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -41309,34 +41382,36 @@ class EmrCreateCluster(
|
|
|
41309
41382
|
|
|
41310
41383
|
Example::
|
|
41311
41384
|
|
|
41312
|
-
|
|
41313
|
-
|
|
41314
|
-
|
|
41315
|
-
|
|
41316
|
-
|
|
41317
|
-
|
|
41318
|
-
|
|
41319
|
-
|
|
41320
|
-
|
|
41321
|
-
|
|
41322
|
-
|
|
41323
|
-
|
|
41324
|
-
|
|
41325
|
-
|
|
41326
|
-
|
|
41327
|
-
|
|
41328
|
-
|
|
41329
|
-
],
|
|
41330
|
-
actions=["sts:AssumeRole"
|
|
41385
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
41386
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
41387
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
41388
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
41389
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
41390
|
+
instance_type="m5.xlarge"
|
|
41391
|
+
)
|
|
41392
|
+
],
|
|
41393
|
+
target_on_demand_capacity=1
|
|
41394
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
41395
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
41396
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
41397
|
+
instance_type="m5.xlarge"
|
|
41398
|
+
)
|
|
41399
|
+
],
|
|
41400
|
+
target_on_demand_capacity=1
|
|
41401
|
+
)
|
|
41331
41402
|
]
|
|
41332
|
-
)
|
|
41333
|
-
|
|
41334
|
-
|
|
41335
|
-
|
|
41336
|
-
|
|
41337
|
-
|
|
41338
|
-
|
|
41339
|
-
|
|
41403
|
+
),
|
|
41404
|
+
name="ClusterName",
|
|
41405
|
+
release_label="emr-7.9.0",
|
|
41406
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
41407
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
41408
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
41409
|
+
maximum_capacity_units=4,
|
|
41410
|
+
minimum_capacity_units=1,
|
|
41411
|
+
maximum_on_demand_capacity_units=4,
|
|
41412
|
+
maximum_core_capacity_units=2
|
|
41413
|
+
)
|
|
41414
|
+
)
|
|
41340
41415
|
)
|
|
41341
41416
|
'''
|
|
41342
41417
|
|
|
@@ -41355,9 +41430,12 @@ class EmrCreateCluster(
|
|
|
41355
41430
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
41356
41431
|
configurations: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41357
41432
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
41433
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
41358
41434
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
41435
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
41359
41436
|
kerberos_attributes: typing.Optional[typing.Union["EmrCreateCluster.KerberosAttributesProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41360
41437
|
log_uri: typing.Optional[builtins.str] = None,
|
|
41438
|
+
managed_scaling_policy: typing.Optional[typing.Union["EmrCreateCluster.ManagedScalingPolicyProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41361
41439
|
release_label: typing.Optional[builtins.str] = None,
|
|
41362
41440
|
scale_down_behavior: typing.Optional["EmrCreateCluster.EmrClusterScaleDownBehavior"] = None,
|
|
41363
41441
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -41394,9 +41472,12 @@ class EmrCreateCluster(
|
|
|
41394
41472
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
41395
41473
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
41396
41474
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
41475
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
41397
41476
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
41477
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
41398
41478
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
41399
41479
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
41480
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
41400
41481
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
41401
41482
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
41402
41483
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -41435,9 +41516,12 @@ class EmrCreateCluster(
|
|
|
41435
41516
|
cluster_role=cluster_role,
|
|
41436
41517
|
configurations=configurations,
|
|
41437
41518
|
custom_ami_id=custom_ami_id,
|
|
41519
|
+
ebs_root_volume_iops=ebs_root_volume_iops,
|
|
41438
41520
|
ebs_root_volume_size=ebs_root_volume_size,
|
|
41521
|
+
ebs_root_volume_throughput=ebs_root_volume_throughput,
|
|
41439
41522
|
kerberos_attributes=kerberos_attributes,
|
|
41440
41523
|
log_uri=log_uri,
|
|
41524
|
+
managed_scaling_policy=managed_scaling_policy,
|
|
41441
41525
|
release_label=release_label,
|
|
41442
41526
|
scale_down_behavior=scale_down_behavior,
|
|
41443
41527
|
security_configuration=security_configuration,
|
|
@@ -41481,9 +41565,12 @@ class EmrCreateCluster(
|
|
|
41481
41565
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
41482
41566
|
configurations: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41483
41567
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
41568
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
41484
41569
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
41570
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
41485
41571
|
kerberos_attributes: typing.Optional[typing.Union["EmrCreateCluster.KerberosAttributesProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41486
41572
|
log_uri: typing.Optional[builtins.str] = None,
|
|
41573
|
+
managed_scaling_policy: typing.Optional[typing.Union["EmrCreateCluster.ManagedScalingPolicyProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41487
41574
|
release_label: typing.Optional[builtins.str] = None,
|
|
41488
41575
|
scale_down_behavior: typing.Optional["EmrCreateCluster.EmrClusterScaleDownBehavior"] = None,
|
|
41489
41576
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -41519,9 +41606,12 @@ class EmrCreateCluster(
|
|
|
41519
41606
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
41520
41607
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
41521
41608
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
41609
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
41522
41610
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
41611
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
41523
41612
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
41524
41613
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
41614
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
41525
41615
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
41526
41616
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
41527
41617
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -41556,9 +41646,12 @@ class EmrCreateCluster(
|
|
|
41556
41646
|
cluster_role=cluster_role,
|
|
41557
41647
|
configurations=configurations,
|
|
41558
41648
|
custom_ami_id=custom_ami_id,
|
|
41649
|
+
ebs_root_volume_iops=ebs_root_volume_iops,
|
|
41559
41650
|
ebs_root_volume_size=ebs_root_volume_size,
|
|
41651
|
+
ebs_root_volume_throughput=ebs_root_volume_throughput,
|
|
41560
41652
|
kerberos_attributes=kerberos_attributes,
|
|
41561
41653
|
log_uri=log_uri,
|
|
41654
|
+
managed_scaling_policy=managed_scaling_policy,
|
|
41562
41655
|
release_label=release_label,
|
|
41563
41656
|
scale_down_behavior=scale_down_behavior,
|
|
41564
41657
|
security_configuration=security_configuration,
|
|
@@ -41598,9 +41691,12 @@ class EmrCreateCluster(
|
|
|
41598
41691
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
41599
41692
|
configurations: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41600
41693
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
41694
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
41601
41695
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
41696
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
41602
41697
|
kerberos_attributes: typing.Optional[typing.Union["EmrCreateCluster.KerberosAttributesProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41603
41698
|
log_uri: typing.Optional[builtins.str] = None,
|
|
41699
|
+
managed_scaling_policy: typing.Optional[typing.Union["EmrCreateCluster.ManagedScalingPolicyProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
41604
41700
|
release_label: typing.Optional[builtins.str] = None,
|
|
41605
41701
|
scale_down_behavior: typing.Optional["EmrCreateCluster.EmrClusterScaleDownBehavior"] = None,
|
|
41606
41702
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -41639,9 +41735,12 @@ class EmrCreateCluster(
|
|
|
41639
41735
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
41640
41736
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
41641
41737
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
41738
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
41642
41739
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
41740
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
41643
41741
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
41644
41742
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
41743
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
41645
41744
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
41646
41745
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
41647
41746
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -41679,9 +41778,12 @@ class EmrCreateCluster(
|
|
|
41679
41778
|
cluster_role=cluster_role,
|
|
41680
41779
|
configurations=configurations,
|
|
41681
41780
|
custom_ami_id=custom_ami_id,
|
|
41781
|
+
ebs_root_volume_iops=ebs_root_volume_iops,
|
|
41682
41782
|
ebs_root_volume_size=ebs_root_volume_size,
|
|
41783
|
+
ebs_root_volume_throughput=ebs_root_volume_throughput,
|
|
41683
41784
|
kerberos_attributes=kerberos_attributes,
|
|
41684
41785
|
log_uri=log_uri,
|
|
41786
|
+
managed_scaling_policy=managed_scaling_policy,
|
|
41685
41787
|
release_label=release_label,
|
|
41686
41788
|
scale_down_behavior=scale_down_behavior,
|
|
41687
41789
|
security_configuration=security_configuration,
|
|
@@ -42342,6 +42444,57 @@ class EmrCreateCluster(
|
|
|
42342
42444
|
COUNT_PER_SECOND = "COUNT_PER_SECOND"
|
|
42343
42445
|
'''COUNT_PER_SECOND.'''
|
|
42344
42446
|
|
|
42447
|
+
@jsii.enum(
|
|
42448
|
+
jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.ComputeLimitsUnitType"
|
|
42449
|
+
)
|
|
42450
|
+
class ComputeLimitsUnitType(enum.Enum):
|
|
42451
|
+
'''The unit type for managed scaling policy compute limits.
|
|
42452
|
+
|
|
42453
|
+
:see: https://docs.aws.amazon.com/emr/latest/APIReference/API_ComputeLimits.html
|
|
42454
|
+
:exampleMetadata: infused
|
|
42455
|
+
|
|
42456
|
+
Example::
|
|
42457
|
+
|
|
42458
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
42459
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
42460
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
42461
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
42462
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
42463
|
+
instance_type="m5.xlarge"
|
|
42464
|
+
)
|
|
42465
|
+
],
|
|
42466
|
+
target_on_demand_capacity=1
|
|
42467
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
42468
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
42469
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
42470
|
+
instance_type="m5.xlarge"
|
|
42471
|
+
)
|
|
42472
|
+
],
|
|
42473
|
+
target_on_demand_capacity=1
|
|
42474
|
+
)
|
|
42475
|
+
]
|
|
42476
|
+
),
|
|
42477
|
+
name="ClusterName",
|
|
42478
|
+
release_label="emr-7.9.0",
|
|
42479
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
42480
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
42481
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
42482
|
+
maximum_capacity_units=4,
|
|
42483
|
+
minimum_capacity_units=1,
|
|
42484
|
+
maximum_on_demand_capacity_units=4,
|
|
42485
|
+
maximum_core_capacity_units=2
|
|
42486
|
+
)
|
|
42487
|
+
)
|
|
42488
|
+
)
|
|
42489
|
+
'''
|
|
42490
|
+
|
|
42491
|
+
INSTANCE_FLEET_UNITS = "INSTANCE_FLEET_UNITS"
|
|
42492
|
+
'''InstanceFleetUnits.'''
|
|
42493
|
+
INSTANCES = "INSTANCES"
|
|
42494
|
+
'''Instances.'''
|
|
42495
|
+
VCPU = "VCPU"
|
|
42496
|
+
'''VCPU.'''
|
|
42497
|
+
|
|
42345
42498
|
@jsii.data_type(
|
|
42346
42499
|
jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.ConfigurationProperty",
|
|
42347
42500
|
jsii_struct_bases=[],
|
|
@@ -43528,34 +43681,36 @@ class EmrCreateCluster(
|
|
|
43528
43681
|
|
|
43529
43682
|
Example::
|
|
43530
43683
|
|
|
43531
|
-
|
|
43532
|
-
|
|
43533
|
-
|
|
43534
|
-
|
|
43535
|
-
|
|
43536
|
-
|
|
43537
|
-
|
|
43538
|
-
|
|
43539
|
-
|
|
43540
|
-
|
|
43541
|
-
|
|
43542
|
-
|
|
43543
|
-
|
|
43544
|
-
|
|
43545
|
-
|
|
43546
|
-
|
|
43547
|
-
|
|
43548
|
-
],
|
|
43549
|
-
actions=["sts:AssumeRole"
|
|
43684
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
43685
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
43686
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
43687
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
43688
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
43689
|
+
instance_type="m5.xlarge"
|
|
43690
|
+
)
|
|
43691
|
+
],
|
|
43692
|
+
target_on_demand_capacity=1
|
|
43693
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
43694
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
43695
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
43696
|
+
instance_type="m5.xlarge"
|
|
43697
|
+
)
|
|
43698
|
+
],
|
|
43699
|
+
target_on_demand_capacity=1
|
|
43700
|
+
)
|
|
43550
43701
|
]
|
|
43551
|
-
)
|
|
43552
|
-
|
|
43553
|
-
|
|
43554
|
-
|
|
43555
|
-
|
|
43556
|
-
|
|
43557
|
-
|
|
43558
|
-
|
|
43702
|
+
),
|
|
43703
|
+
name="ClusterName",
|
|
43704
|
+
release_label="emr-7.9.0",
|
|
43705
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
43706
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
43707
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
43708
|
+
maximum_capacity_units=4,
|
|
43709
|
+
minimum_capacity_units=1,
|
|
43710
|
+
maximum_on_demand_capacity_units=4,
|
|
43711
|
+
maximum_core_capacity_units=2
|
|
43712
|
+
)
|
|
43713
|
+
)
|
|
43559
43714
|
)
|
|
43560
43715
|
'''
|
|
43561
43716
|
if isinstance(placement, dict):
|
|
@@ -43917,6 +44072,222 @@ class EmrCreateCluster(
|
|
|
43917
44072
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
43918
44073
|
)
|
|
43919
44074
|
|
|
44075
|
+
@jsii.data_type(
|
|
44076
|
+
jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty",
|
|
44077
|
+
jsii_struct_bases=[],
|
|
44078
|
+
name_mapping={
|
|
44079
|
+
"maximum_capacity_units": "maximumCapacityUnits",
|
|
44080
|
+
"minimum_capacity_units": "minimumCapacityUnits",
|
|
44081
|
+
"unit_type": "unitType",
|
|
44082
|
+
"maximum_core_capacity_units": "maximumCoreCapacityUnits",
|
|
44083
|
+
"maximum_on_demand_capacity_units": "maximumOnDemandCapacityUnits",
|
|
44084
|
+
},
|
|
44085
|
+
)
|
|
44086
|
+
class ManagedScalingComputeLimitsProperty:
|
|
44087
|
+
def __init__(
|
|
44088
|
+
self,
|
|
44089
|
+
*,
|
|
44090
|
+
maximum_capacity_units: jsii.Number,
|
|
44091
|
+
minimum_capacity_units: jsii.Number,
|
|
44092
|
+
unit_type: "EmrCreateCluster.ComputeLimitsUnitType",
|
|
44093
|
+
maximum_core_capacity_units: typing.Optional[jsii.Number] = None,
|
|
44094
|
+
maximum_on_demand_capacity_units: typing.Optional[jsii.Number] = None,
|
|
44095
|
+
) -> None:
|
|
44096
|
+
'''The EC2 unit limits for a managed scaling policy.
|
|
44097
|
+
|
|
44098
|
+
:param maximum_capacity_units: The upper boundary of Amazon EC2 units.
|
|
44099
|
+
:param minimum_capacity_units: The lower boundary of Amazon EC2 units.
|
|
44100
|
+
:param unit_type: The unit type used for specifying a managed scaling policy.
|
|
44101
|
+
:param maximum_core_capacity_units: The upper boundary of Amazon EC2 units for core node type in a cluster. Default: - None
|
|
44102
|
+
:param maximum_on_demand_capacity_units: The upper boundary of On-Demand Amazon EC2 units. Default: - None
|
|
44103
|
+
|
|
44104
|
+
:see: https://docs.aws.amazon.com/emr/latest/APIReference/API_ComputeLimits.html
|
|
44105
|
+
:exampleMetadata: infused
|
|
44106
|
+
|
|
44107
|
+
Example::
|
|
44108
|
+
|
|
44109
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
44110
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
44111
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
44112
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
44113
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
44114
|
+
instance_type="m5.xlarge"
|
|
44115
|
+
)
|
|
44116
|
+
],
|
|
44117
|
+
target_on_demand_capacity=1
|
|
44118
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
44119
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
44120
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
44121
|
+
instance_type="m5.xlarge"
|
|
44122
|
+
)
|
|
44123
|
+
],
|
|
44124
|
+
target_on_demand_capacity=1
|
|
44125
|
+
)
|
|
44126
|
+
]
|
|
44127
|
+
),
|
|
44128
|
+
name="ClusterName",
|
|
44129
|
+
release_label="emr-7.9.0",
|
|
44130
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
44131
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
44132
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
44133
|
+
maximum_capacity_units=4,
|
|
44134
|
+
minimum_capacity_units=1,
|
|
44135
|
+
maximum_on_demand_capacity_units=4,
|
|
44136
|
+
maximum_core_capacity_units=2
|
|
44137
|
+
)
|
|
44138
|
+
)
|
|
44139
|
+
)
|
|
44140
|
+
'''
|
|
44141
|
+
if __debug__:
|
|
44142
|
+
type_hints = typing.get_type_hints(_typecheckingstub__456056f16dcf97fd1f56ad4f544f9e6a7740b916af0bb528c7039258390c676c)
|
|
44143
|
+
check_type(argname="argument maximum_capacity_units", value=maximum_capacity_units, expected_type=type_hints["maximum_capacity_units"])
|
|
44144
|
+
check_type(argname="argument minimum_capacity_units", value=minimum_capacity_units, expected_type=type_hints["minimum_capacity_units"])
|
|
44145
|
+
check_type(argname="argument unit_type", value=unit_type, expected_type=type_hints["unit_type"])
|
|
44146
|
+
check_type(argname="argument maximum_core_capacity_units", value=maximum_core_capacity_units, expected_type=type_hints["maximum_core_capacity_units"])
|
|
44147
|
+
check_type(argname="argument maximum_on_demand_capacity_units", value=maximum_on_demand_capacity_units, expected_type=type_hints["maximum_on_demand_capacity_units"])
|
|
44148
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
44149
|
+
"maximum_capacity_units": maximum_capacity_units,
|
|
44150
|
+
"minimum_capacity_units": minimum_capacity_units,
|
|
44151
|
+
"unit_type": unit_type,
|
|
44152
|
+
}
|
|
44153
|
+
if maximum_core_capacity_units is not None:
|
|
44154
|
+
self._values["maximum_core_capacity_units"] = maximum_core_capacity_units
|
|
44155
|
+
if maximum_on_demand_capacity_units is not None:
|
|
44156
|
+
self._values["maximum_on_demand_capacity_units"] = maximum_on_demand_capacity_units
|
|
44157
|
+
|
|
44158
|
+
@builtins.property
|
|
44159
|
+
def maximum_capacity_units(self) -> jsii.Number:
|
|
44160
|
+
'''The upper boundary of Amazon EC2 units.'''
|
|
44161
|
+
result = self._values.get("maximum_capacity_units")
|
|
44162
|
+
assert result is not None, "Required property 'maximum_capacity_units' is missing"
|
|
44163
|
+
return typing.cast(jsii.Number, result)
|
|
44164
|
+
|
|
44165
|
+
@builtins.property
|
|
44166
|
+
def minimum_capacity_units(self) -> jsii.Number:
|
|
44167
|
+
'''The lower boundary of Amazon EC2 units.'''
|
|
44168
|
+
result = self._values.get("minimum_capacity_units")
|
|
44169
|
+
assert result is not None, "Required property 'minimum_capacity_units' is missing"
|
|
44170
|
+
return typing.cast(jsii.Number, result)
|
|
44171
|
+
|
|
44172
|
+
@builtins.property
|
|
44173
|
+
def unit_type(self) -> "EmrCreateCluster.ComputeLimitsUnitType":
|
|
44174
|
+
'''The unit type used for specifying a managed scaling policy.'''
|
|
44175
|
+
result = self._values.get("unit_type")
|
|
44176
|
+
assert result is not None, "Required property 'unit_type' is missing"
|
|
44177
|
+
return typing.cast("EmrCreateCluster.ComputeLimitsUnitType", result)
|
|
44178
|
+
|
|
44179
|
+
@builtins.property
|
|
44180
|
+
def maximum_core_capacity_units(self) -> typing.Optional[jsii.Number]:
|
|
44181
|
+
'''The upper boundary of Amazon EC2 units for core node type in a cluster.
|
|
44182
|
+
|
|
44183
|
+
:default: - None
|
|
44184
|
+
'''
|
|
44185
|
+
result = self._values.get("maximum_core_capacity_units")
|
|
44186
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
44187
|
+
|
|
44188
|
+
@builtins.property
|
|
44189
|
+
def maximum_on_demand_capacity_units(self) -> typing.Optional[jsii.Number]:
|
|
44190
|
+
'''The upper boundary of On-Demand Amazon EC2 units.
|
|
44191
|
+
|
|
44192
|
+
:default: - None
|
|
44193
|
+
'''
|
|
44194
|
+
result = self._values.get("maximum_on_demand_capacity_units")
|
|
44195
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
44196
|
+
|
|
44197
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
44198
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
44199
|
+
|
|
44200
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
44201
|
+
return not (rhs == self)
|
|
44202
|
+
|
|
44203
|
+
def __repr__(self) -> str:
|
|
44204
|
+
return "ManagedScalingComputeLimitsProperty(%s)" % ", ".join(
|
|
44205
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
44206
|
+
)
|
|
44207
|
+
|
|
44208
|
+
@jsii.data_type(
|
|
44209
|
+
jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.ManagedScalingPolicyProperty",
|
|
44210
|
+
jsii_struct_bases=[],
|
|
44211
|
+
name_mapping={"compute_limits": "computeLimits"},
|
|
44212
|
+
)
|
|
44213
|
+
class ManagedScalingPolicyProperty:
|
|
44214
|
+
def __init__(
|
|
44215
|
+
self,
|
|
44216
|
+
*,
|
|
44217
|
+
compute_limits: typing.Optional[typing.Union["EmrCreateCluster.ManagedScalingComputeLimitsProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
44218
|
+
) -> None:
|
|
44219
|
+
'''The managed scaling policy for an Amazon EMR cluster.
|
|
44220
|
+
|
|
44221
|
+
:param compute_limits: The Amazon EC2 unit limits for a managed scaling policy. Default: - None
|
|
44222
|
+
|
|
44223
|
+
:see: https://docs.aws.amazon.com/emr/latest/APIReference/API_ManagedScalingPolicy.html
|
|
44224
|
+
:exampleMetadata: infused
|
|
44225
|
+
|
|
44226
|
+
Example::
|
|
44227
|
+
|
|
44228
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
44229
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
44230
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
44231
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
44232
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
44233
|
+
instance_type="m5.xlarge"
|
|
44234
|
+
)
|
|
44235
|
+
],
|
|
44236
|
+
target_on_demand_capacity=1
|
|
44237
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
44238
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
44239
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
44240
|
+
instance_type="m5.xlarge"
|
|
44241
|
+
)
|
|
44242
|
+
],
|
|
44243
|
+
target_on_demand_capacity=1
|
|
44244
|
+
)
|
|
44245
|
+
]
|
|
44246
|
+
),
|
|
44247
|
+
name="ClusterName",
|
|
44248
|
+
release_label="emr-7.9.0",
|
|
44249
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
44250
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
44251
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
44252
|
+
maximum_capacity_units=4,
|
|
44253
|
+
minimum_capacity_units=1,
|
|
44254
|
+
maximum_on_demand_capacity_units=4,
|
|
44255
|
+
maximum_core_capacity_units=2
|
|
44256
|
+
)
|
|
44257
|
+
)
|
|
44258
|
+
)
|
|
44259
|
+
'''
|
|
44260
|
+
if isinstance(compute_limits, dict):
|
|
44261
|
+
compute_limits = EmrCreateCluster.ManagedScalingComputeLimitsProperty(**compute_limits)
|
|
44262
|
+
if __debug__:
|
|
44263
|
+
type_hints = typing.get_type_hints(_typecheckingstub__179ad22f7f4bb419f4267ee887aae9d8eb939feb472f44c905e5f5d18bca8899)
|
|
44264
|
+
check_type(argname="argument compute_limits", value=compute_limits, expected_type=type_hints["compute_limits"])
|
|
44265
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
44266
|
+
if compute_limits is not None:
|
|
44267
|
+
self._values["compute_limits"] = compute_limits
|
|
44268
|
+
|
|
44269
|
+
@builtins.property
|
|
44270
|
+
def compute_limits(
|
|
44271
|
+
self,
|
|
44272
|
+
) -> typing.Optional["EmrCreateCluster.ManagedScalingComputeLimitsProperty"]:
|
|
44273
|
+
'''The Amazon EC2 unit limits for a managed scaling policy.
|
|
44274
|
+
|
|
44275
|
+
:default: - None
|
|
44276
|
+
'''
|
|
44277
|
+
result = self._values.get("compute_limits")
|
|
44278
|
+
return typing.cast(typing.Optional["EmrCreateCluster.ManagedScalingComputeLimitsProperty"], result)
|
|
44279
|
+
|
|
44280
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
44281
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
44282
|
+
|
|
44283
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
44284
|
+
return not (rhs == self)
|
|
44285
|
+
|
|
44286
|
+
def __repr__(self) -> str:
|
|
44287
|
+
return "ManagedScalingPolicyProperty(%s)" % ", ".join(
|
|
44288
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
44289
|
+
)
|
|
44290
|
+
|
|
43920
44291
|
@jsii.data_type(
|
|
43921
44292
|
jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.MetricDimensionProperty",
|
|
43922
44293
|
jsii_struct_bases=[],
|
|
@@ -45139,9 +45510,12 @@ class EmrCreateCluster(
|
|
|
45139
45510
|
"cluster_role": "clusterRole",
|
|
45140
45511
|
"configurations": "configurations",
|
|
45141
45512
|
"custom_ami_id": "customAmiId",
|
|
45513
|
+
"ebs_root_volume_iops": "ebsRootVolumeIops",
|
|
45142
45514
|
"ebs_root_volume_size": "ebsRootVolumeSize",
|
|
45515
|
+
"ebs_root_volume_throughput": "ebsRootVolumeThroughput",
|
|
45143
45516
|
"kerberos_attributes": "kerberosAttributes",
|
|
45144
45517
|
"log_uri": "logUri",
|
|
45518
|
+
"managed_scaling_policy": "managedScalingPolicy",
|
|
45145
45519
|
"release_label": "releaseLabel",
|
|
45146
45520
|
"scale_down_behavior": "scaleDownBehavior",
|
|
45147
45521
|
"security_configuration": "securityConfiguration",
|
|
@@ -45179,9 +45553,12 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45179
45553
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
45180
45554
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
45181
45555
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
45556
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
45182
45557
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
45558
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
45183
45559
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45184
45560
|
log_uri: typing.Optional[builtins.str] = None,
|
|
45561
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45185
45562
|
release_label: typing.Optional[builtins.str] = None,
|
|
45186
45563
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
45187
45564
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -45216,9 +45593,12 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45216
45593
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
45217
45594
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
45218
45595
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
45596
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
45219
45597
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
45598
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
45220
45599
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
45221
45600
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
45601
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
45222
45602
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
45223
45603
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
45224
45604
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -45433,7 +45813,9 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45433
45813
|
role=task_role
|
|
45434
45814
|
),
|
|
45435
45815
|
custom_ami_id="customAmiId",
|
|
45816
|
+
ebs_root_volume_iops=123,
|
|
45436
45817
|
ebs_root_volume_size=size,
|
|
45818
|
+
ebs_root_volume_throughput=123,
|
|
45437
45819
|
heartbeat=cdk.Duration.minutes(30),
|
|
45438
45820
|
heartbeat_timeout=timeout,
|
|
45439
45821
|
input_path="inputPath",
|
|
@@ -45448,6 +45830,17 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45448
45830
|
kdc_admin_password="kdcAdminPassword"
|
|
45449
45831
|
),
|
|
45450
45832
|
log_uri="logUri",
|
|
45833
|
+
managed_scaling_policy=stepfunctions_tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
45834
|
+
compute_limits=stepfunctions_tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
45835
|
+
maximum_capacity_units=123,
|
|
45836
|
+
minimum_capacity_units=123,
|
|
45837
|
+
unit_type=stepfunctions_tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
45838
|
+
|
|
45839
|
+
# the properties below are optional
|
|
45840
|
+
maximum_core_capacity_units=123,
|
|
45841
|
+
maximum_on_demand_capacity_units=123
|
|
45842
|
+
)
|
|
45843
|
+
),
|
|
45451
45844
|
output_path="outputPath",
|
|
45452
45845
|
query_language=stepfunctions.QueryLanguage.JSON_PATH,
|
|
45453
45846
|
release_label="releaseLabel",
|
|
@@ -45474,6 +45867,8 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45474
45867
|
instances = EmrCreateCluster.InstancesConfigProperty(**instances)
|
|
45475
45868
|
if isinstance(kerberos_attributes, dict):
|
|
45476
45869
|
kerberos_attributes = EmrCreateCluster.KerberosAttributesProperty(**kerberos_attributes)
|
|
45870
|
+
if isinstance(managed_scaling_policy, dict):
|
|
45871
|
+
managed_scaling_policy = EmrCreateCluster.ManagedScalingPolicyProperty(**managed_scaling_policy)
|
|
45477
45872
|
if __debug__:
|
|
45478
45873
|
type_hints = typing.get_type_hints(_typecheckingstub__8eee079f7d9817361a59216197eaa0f6c6e38fddbd968457fbb263e4251c422a)
|
|
45479
45874
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
@@ -45500,9 +45895,12 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45500
45895
|
check_type(argname="argument cluster_role", value=cluster_role, expected_type=type_hints["cluster_role"])
|
|
45501
45896
|
check_type(argname="argument configurations", value=configurations, expected_type=type_hints["configurations"])
|
|
45502
45897
|
check_type(argname="argument custom_ami_id", value=custom_ami_id, expected_type=type_hints["custom_ami_id"])
|
|
45898
|
+
check_type(argname="argument ebs_root_volume_iops", value=ebs_root_volume_iops, expected_type=type_hints["ebs_root_volume_iops"])
|
|
45503
45899
|
check_type(argname="argument ebs_root_volume_size", value=ebs_root_volume_size, expected_type=type_hints["ebs_root_volume_size"])
|
|
45900
|
+
check_type(argname="argument ebs_root_volume_throughput", value=ebs_root_volume_throughput, expected_type=type_hints["ebs_root_volume_throughput"])
|
|
45504
45901
|
check_type(argname="argument kerberos_attributes", value=kerberos_attributes, expected_type=type_hints["kerberos_attributes"])
|
|
45505
45902
|
check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
|
|
45903
|
+
check_type(argname="argument managed_scaling_policy", value=managed_scaling_policy, expected_type=type_hints["managed_scaling_policy"])
|
|
45506
45904
|
check_type(argname="argument release_label", value=release_label, expected_type=type_hints["release_label"])
|
|
45507
45905
|
check_type(argname="argument scale_down_behavior", value=scale_down_behavior, expected_type=type_hints["scale_down_behavior"])
|
|
45508
45906
|
check_type(argname="argument security_configuration", value=security_configuration, expected_type=type_hints["security_configuration"])
|
|
@@ -45558,12 +45956,18 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45558
45956
|
self._values["configurations"] = configurations
|
|
45559
45957
|
if custom_ami_id is not None:
|
|
45560
45958
|
self._values["custom_ami_id"] = custom_ami_id
|
|
45959
|
+
if ebs_root_volume_iops is not None:
|
|
45960
|
+
self._values["ebs_root_volume_iops"] = ebs_root_volume_iops
|
|
45561
45961
|
if ebs_root_volume_size is not None:
|
|
45562
45962
|
self._values["ebs_root_volume_size"] = ebs_root_volume_size
|
|
45963
|
+
if ebs_root_volume_throughput is not None:
|
|
45964
|
+
self._values["ebs_root_volume_throughput"] = ebs_root_volume_throughput
|
|
45563
45965
|
if kerberos_attributes is not None:
|
|
45564
45966
|
self._values["kerberos_attributes"] = kerberos_attributes
|
|
45565
45967
|
if log_uri is not None:
|
|
45566
45968
|
self._values["log_uri"] = log_uri
|
|
45969
|
+
if managed_scaling_policy is not None:
|
|
45970
|
+
self._values["managed_scaling_policy"] = managed_scaling_policy
|
|
45567
45971
|
if release_label is not None:
|
|
45568
45972
|
self._values["release_label"] = release_label
|
|
45569
45973
|
if scale_down_behavior is not None:
|
|
@@ -45859,6 +46263,20 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45859
46263
|
result = self._values.get("custom_ami_id")
|
|
45860
46264
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
45861
46265
|
|
|
46266
|
+
@builtins.property
|
|
46267
|
+
def ebs_root_volume_iops(self) -> typing.Optional[jsii.Number]:
|
|
46268
|
+
'''The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
46269
|
+
|
|
46270
|
+
Requires EMR release label 6.15.0 or above.
|
|
46271
|
+
Must be in range [3000, 16000].
|
|
46272
|
+
|
|
46273
|
+
:default: - EMR selected default
|
|
46274
|
+
|
|
46275
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
46276
|
+
'''
|
|
46277
|
+
result = self._values.get("ebs_root_volume_iops")
|
|
46278
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
46279
|
+
|
|
45862
46280
|
@builtins.property
|
|
45863
46281
|
def ebs_root_volume_size(self) -> typing.Optional[_Size_7b441c34]:
|
|
45864
46282
|
'''The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
@@ -45868,6 +46286,20 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45868
46286
|
result = self._values.get("ebs_root_volume_size")
|
|
45869
46287
|
return typing.cast(typing.Optional[_Size_7b441c34], result)
|
|
45870
46288
|
|
|
46289
|
+
@builtins.property
|
|
46290
|
+
def ebs_root_volume_throughput(self) -> typing.Optional[jsii.Number]:
|
|
46291
|
+
'''The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
46292
|
+
|
|
46293
|
+
Requires EMR release label 6.15.0 or above.
|
|
46294
|
+
Must be in range [125, 1000].
|
|
46295
|
+
|
|
46296
|
+
:default: - EMR selected default
|
|
46297
|
+
|
|
46298
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
46299
|
+
'''
|
|
46300
|
+
result = self._values.get("ebs_root_volume_throughput")
|
|
46301
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
46302
|
+
|
|
45871
46303
|
@builtins.property
|
|
45872
46304
|
def kerberos_attributes(
|
|
45873
46305
|
self,
|
|
@@ -45888,6 +46320,17 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45888
46320
|
result = self._values.get("log_uri")
|
|
45889
46321
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
45890
46322
|
|
|
46323
|
+
@builtins.property
|
|
46324
|
+
def managed_scaling_policy(
|
|
46325
|
+
self,
|
|
46326
|
+
) -> typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty]:
|
|
46327
|
+
'''The specified managed scaling policy for an Amazon EMR cluster.
|
|
46328
|
+
|
|
46329
|
+
:default: - None
|
|
46330
|
+
'''
|
|
46331
|
+
result = self._values.get("managed_scaling_policy")
|
|
46332
|
+
return typing.cast(typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty], result)
|
|
46333
|
+
|
|
45891
46334
|
@builtins.property
|
|
45892
46335
|
def release_label(self) -> typing.Optional[builtins.str]:
|
|
45893
46336
|
'''The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
|
|
@@ -45993,9 +46436,12 @@ class EmrCreateClusterJsonPathProps(_TaskStateJsonPathBaseProps_57dc2260):
|
|
|
45993
46436
|
"cluster_role": "clusterRole",
|
|
45994
46437
|
"configurations": "configurations",
|
|
45995
46438
|
"custom_ami_id": "customAmiId",
|
|
46439
|
+
"ebs_root_volume_iops": "ebsRootVolumeIops",
|
|
45996
46440
|
"ebs_root_volume_size": "ebsRootVolumeSize",
|
|
46441
|
+
"ebs_root_volume_throughput": "ebsRootVolumeThroughput",
|
|
45997
46442
|
"kerberos_attributes": "kerberosAttributes",
|
|
45998
46443
|
"log_uri": "logUri",
|
|
46444
|
+
"managed_scaling_policy": "managedScalingPolicy",
|
|
45999
46445
|
"release_label": "releaseLabel",
|
|
46000
46446
|
"scale_down_behavior": "scaleDownBehavior",
|
|
46001
46447
|
"security_configuration": "securityConfiguration",
|
|
@@ -46030,9 +46476,12 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46030
46476
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
46031
46477
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46032
46478
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
46479
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
46033
46480
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
46481
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
46034
46482
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46035
46483
|
log_uri: typing.Optional[builtins.str] = None,
|
|
46484
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46036
46485
|
release_label: typing.Optional[builtins.str] = None,
|
|
46037
46486
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
46038
46487
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -46064,9 +46513,12 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46064
46513
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
46065
46514
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
46066
46515
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
46516
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
46067
46517
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
46518
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
46068
46519
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
46069
46520
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
46521
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
46070
46522
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
46071
46523
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
46072
46524
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -46281,7 +46733,9 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46281
46733
|
role=task_role
|
|
46282
46734
|
),
|
|
46283
46735
|
custom_ami_id="customAmiId",
|
|
46736
|
+
ebs_root_volume_iops=123,
|
|
46284
46737
|
ebs_root_volume_size=size,
|
|
46738
|
+
ebs_root_volume_throughput=123,
|
|
46285
46739
|
heartbeat=cdk.Duration.minutes(30),
|
|
46286
46740
|
heartbeat_timeout=timeout,
|
|
46287
46741
|
integration_pattern=stepfunctions.IntegrationPattern.REQUEST_RESPONSE,
|
|
@@ -46295,6 +46749,17 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46295
46749
|
kdc_admin_password="kdcAdminPassword"
|
|
46296
46750
|
),
|
|
46297
46751
|
log_uri="logUri",
|
|
46752
|
+
managed_scaling_policy=stepfunctions_tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
46753
|
+
compute_limits=stepfunctions_tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
46754
|
+
maximum_capacity_units=123,
|
|
46755
|
+
minimum_capacity_units=123,
|
|
46756
|
+
unit_type=stepfunctions_tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
46757
|
+
|
|
46758
|
+
# the properties below are optional
|
|
46759
|
+
maximum_core_capacity_units=123,
|
|
46760
|
+
maximum_on_demand_capacity_units=123
|
|
46761
|
+
)
|
|
46762
|
+
),
|
|
46298
46763
|
outputs=outputs,
|
|
46299
46764
|
query_language=stepfunctions.QueryLanguage.JSON_PATH,
|
|
46300
46765
|
release_label="releaseLabel",
|
|
@@ -46317,6 +46782,8 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46317
46782
|
instances = EmrCreateCluster.InstancesConfigProperty(**instances)
|
|
46318
46783
|
if isinstance(kerberos_attributes, dict):
|
|
46319
46784
|
kerberos_attributes = EmrCreateCluster.KerberosAttributesProperty(**kerberos_attributes)
|
|
46785
|
+
if isinstance(managed_scaling_policy, dict):
|
|
46786
|
+
managed_scaling_policy = EmrCreateCluster.ManagedScalingPolicyProperty(**managed_scaling_policy)
|
|
46320
46787
|
if __debug__:
|
|
46321
46788
|
type_hints = typing.get_type_hints(_typecheckingstub__e0198d308a9f96d3aadda143c9d8a0ef5848603e760f6a16d02390d989c574d3)
|
|
46322
46789
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
@@ -46340,9 +46807,12 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46340
46807
|
check_type(argname="argument cluster_role", value=cluster_role, expected_type=type_hints["cluster_role"])
|
|
46341
46808
|
check_type(argname="argument configurations", value=configurations, expected_type=type_hints["configurations"])
|
|
46342
46809
|
check_type(argname="argument custom_ami_id", value=custom_ami_id, expected_type=type_hints["custom_ami_id"])
|
|
46810
|
+
check_type(argname="argument ebs_root_volume_iops", value=ebs_root_volume_iops, expected_type=type_hints["ebs_root_volume_iops"])
|
|
46343
46811
|
check_type(argname="argument ebs_root_volume_size", value=ebs_root_volume_size, expected_type=type_hints["ebs_root_volume_size"])
|
|
46812
|
+
check_type(argname="argument ebs_root_volume_throughput", value=ebs_root_volume_throughput, expected_type=type_hints["ebs_root_volume_throughput"])
|
|
46344
46813
|
check_type(argname="argument kerberos_attributes", value=kerberos_attributes, expected_type=type_hints["kerberos_attributes"])
|
|
46345
46814
|
check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
|
|
46815
|
+
check_type(argname="argument managed_scaling_policy", value=managed_scaling_policy, expected_type=type_hints["managed_scaling_policy"])
|
|
46346
46816
|
check_type(argname="argument release_label", value=release_label, expected_type=type_hints["release_label"])
|
|
46347
46817
|
check_type(argname="argument scale_down_behavior", value=scale_down_behavior, expected_type=type_hints["scale_down_behavior"])
|
|
46348
46818
|
check_type(argname="argument security_configuration", value=security_configuration, expected_type=type_hints["security_configuration"])
|
|
@@ -46392,12 +46862,18 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46392
46862
|
self._values["configurations"] = configurations
|
|
46393
46863
|
if custom_ami_id is not None:
|
|
46394
46864
|
self._values["custom_ami_id"] = custom_ami_id
|
|
46865
|
+
if ebs_root_volume_iops is not None:
|
|
46866
|
+
self._values["ebs_root_volume_iops"] = ebs_root_volume_iops
|
|
46395
46867
|
if ebs_root_volume_size is not None:
|
|
46396
46868
|
self._values["ebs_root_volume_size"] = ebs_root_volume_size
|
|
46869
|
+
if ebs_root_volume_throughput is not None:
|
|
46870
|
+
self._values["ebs_root_volume_throughput"] = ebs_root_volume_throughput
|
|
46397
46871
|
if kerberos_attributes is not None:
|
|
46398
46872
|
self._values["kerberos_attributes"] = kerberos_attributes
|
|
46399
46873
|
if log_uri is not None:
|
|
46400
46874
|
self._values["log_uri"] = log_uri
|
|
46875
|
+
if managed_scaling_policy is not None:
|
|
46876
|
+
self._values["managed_scaling_policy"] = managed_scaling_policy
|
|
46401
46877
|
if release_label is not None:
|
|
46402
46878
|
self._values["release_label"] = release_label
|
|
46403
46879
|
if scale_down_behavior is not None:
|
|
@@ -46658,6 +47134,20 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46658
47134
|
result = self._values.get("custom_ami_id")
|
|
46659
47135
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
46660
47136
|
|
|
47137
|
+
@builtins.property
|
|
47138
|
+
def ebs_root_volume_iops(self) -> typing.Optional[jsii.Number]:
|
|
47139
|
+
'''The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
47140
|
+
|
|
47141
|
+
Requires EMR release label 6.15.0 or above.
|
|
47142
|
+
Must be in range [3000, 16000].
|
|
47143
|
+
|
|
47144
|
+
:default: - EMR selected default
|
|
47145
|
+
|
|
47146
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
47147
|
+
'''
|
|
47148
|
+
result = self._values.get("ebs_root_volume_iops")
|
|
47149
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
47150
|
+
|
|
46661
47151
|
@builtins.property
|
|
46662
47152
|
def ebs_root_volume_size(self) -> typing.Optional[_Size_7b441c34]:
|
|
46663
47153
|
'''The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
@@ -46667,6 +47157,20 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46667
47157
|
result = self._values.get("ebs_root_volume_size")
|
|
46668
47158
|
return typing.cast(typing.Optional[_Size_7b441c34], result)
|
|
46669
47159
|
|
|
47160
|
+
@builtins.property
|
|
47161
|
+
def ebs_root_volume_throughput(self) -> typing.Optional[jsii.Number]:
|
|
47162
|
+
'''The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
47163
|
+
|
|
47164
|
+
Requires EMR release label 6.15.0 or above.
|
|
47165
|
+
Must be in range [125, 1000].
|
|
47166
|
+
|
|
47167
|
+
:default: - EMR selected default
|
|
47168
|
+
|
|
47169
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
47170
|
+
'''
|
|
47171
|
+
result = self._values.get("ebs_root_volume_throughput")
|
|
47172
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
47173
|
+
|
|
46670
47174
|
@builtins.property
|
|
46671
47175
|
def kerberos_attributes(
|
|
46672
47176
|
self,
|
|
@@ -46687,6 +47191,17 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46687
47191
|
result = self._values.get("log_uri")
|
|
46688
47192
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
46689
47193
|
|
|
47194
|
+
@builtins.property
|
|
47195
|
+
def managed_scaling_policy(
|
|
47196
|
+
self,
|
|
47197
|
+
) -> typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty]:
|
|
47198
|
+
'''The specified managed scaling policy for an Amazon EMR cluster.
|
|
47199
|
+
|
|
47200
|
+
:default: - None
|
|
47201
|
+
'''
|
|
47202
|
+
result = self._values.get("managed_scaling_policy")
|
|
47203
|
+
return typing.cast(typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty], result)
|
|
47204
|
+
|
|
46690
47205
|
@builtins.property
|
|
46691
47206
|
def release_label(self) -> typing.Optional[builtins.str]:
|
|
46692
47207
|
'''The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
|
|
@@ -46796,9 +47311,12 @@ class EmrCreateClusterJsonataProps(_TaskStateJsonataBaseProps_0e91775c):
|
|
|
46796
47311
|
"cluster_role": "clusterRole",
|
|
46797
47312
|
"configurations": "configurations",
|
|
46798
47313
|
"custom_ami_id": "customAmiId",
|
|
47314
|
+
"ebs_root_volume_iops": "ebsRootVolumeIops",
|
|
46799
47315
|
"ebs_root_volume_size": "ebsRootVolumeSize",
|
|
47316
|
+
"ebs_root_volume_throughput": "ebsRootVolumeThroughput",
|
|
46800
47317
|
"kerberos_attributes": "kerberosAttributes",
|
|
46801
47318
|
"log_uri": "logUri",
|
|
47319
|
+
"managed_scaling_policy": "managedScalingPolicy",
|
|
46802
47320
|
"release_label": "releaseLabel",
|
|
46803
47321
|
"scale_down_behavior": "scaleDownBehavior",
|
|
46804
47322
|
"security_configuration": "securityConfiguration",
|
|
@@ -46837,9 +47355,12 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
46837
47355
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
46838
47356
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46839
47357
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
47358
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
46840
47359
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
47360
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
46841
47361
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46842
47362
|
log_uri: typing.Optional[builtins.str] = None,
|
|
47363
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46843
47364
|
release_label: typing.Optional[builtins.str] = None,
|
|
46844
47365
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
46845
47366
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -46875,9 +47396,12 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
46875
47396
|
:param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
|
|
46876
47397
|
:param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
|
|
46877
47398
|
:param custom_ami_id: The ID of a custom Amazon EBS-backed Linux AMI. Default: - None
|
|
47399
|
+
:param ebs_root_volume_iops: The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000]. Default: - EMR selected default
|
|
46878
47400
|
:param ebs_root_volume_size: The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Default: - EMR selected default
|
|
47401
|
+
:param ebs_root_volume_throughput: The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Requires EMR release label 6.15.0 or above. Must be in range [125, 1000]. Default: - EMR selected default
|
|
46879
47402
|
:param kerberos_attributes: Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. Default: - None
|
|
46880
47403
|
:param log_uri: The location in Amazon S3 to write the log files of the job flow. Default: - None
|
|
47404
|
+
:param managed_scaling_policy: The specified managed scaling policy for an Amazon EMR cluster. Default: - None
|
|
46881
47405
|
:param release_label: The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Default: - EMR selected default
|
|
46882
47406
|
:param scale_down_behavior: Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. Default: - EMR selected default
|
|
46883
47407
|
:param security_configuration: The name of a security configuration to apply to the cluster. Default: - None
|
|
@@ -46890,34 +47414,36 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
46890
47414
|
|
|
46891
47415
|
Example::
|
|
46892
47416
|
|
|
46893
|
-
|
|
46894
|
-
|
|
46895
|
-
|
|
46896
|
-
|
|
46897
|
-
|
|
46898
|
-
|
|
46899
|
-
|
|
46900
|
-
|
|
46901
|
-
|
|
46902
|
-
|
|
46903
|
-
|
|
46904
|
-
|
|
46905
|
-
|
|
46906
|
-
|
|
46907
|
-
|
|
46908
|
-
|
|
46909
|
-
|
|
46910
|
-
],
|
|
46911
|
-
actions=["sts:AssumeRole"
|
|
47417
|
+
tasks.EmrCreateCluster(self, "CreateCluster",
|
|
47418
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(
|
|
47419
|
+
instance_fleets=[tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
47420
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.CORE,
|
|
47421
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
47422
|
+
instance_type="m5.xlarge"
|
|
47423
|
+
)
|
|
47424
|
+
],
|
|
47425
|
+
target_on_demand_capacity=1
|
|
47426
|
+
), tasks.EmrCreateCluster.InstanceFleetConfigProperty(
|
|
47427
|
+
instance_fleet_type=tasks.EmrCreateCluster.InstanceRoleType.MASTER,
|
|
47428
|
+
instance_type_configs=[tasks.EmrCreateCluster.InstanceTypeConfigProperty(
|
|
47429
|
+
instance_type="m5.xlarge"
|
|
47430
|
+
)
|
|
47431
|
+
],
|
|
47432
|
+
target_on_demand_capacity=1
|
|
47433
|
+
)
|
|
46912
47434
|
]
|
|
46913
|
-
)
|
|
46914
|
-
|
|
46915
|
-
|
|
46916
|
-
|
|
46917
|
-
|
|
46918
|
-
|
|
46919
|
-
|
|
46920
|
-
|
|
47435
|
+
),
|
|
47436
|
+
name="ClusterName",
|
|
47437
|
+
release_label="emr-7.9.0",
|
|
47438
|
+
managed_scaling_policy=tasks.EmrCreateCluster.ManagedScalingPolicyProperty(
|
|
47439
|
+
compute_limits=tasks.EmrCreateCluster.ManagedScalingComputeLimitsProperty(
|
|
47440
|
+
unit_type=tasks.EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
|
|
47441
|
+
maximum_capacity_units=4,
|
|
47442
|
+
minimum_capacity_units=1,
|
|
47443
|
+
maximum_on_demand_capacity_units=4,
|
|
47444
|
+
maximum_core_capacity_units=2
|
|
47445
|
+
)
|
|
47446
|
+
)
|
|
46921
47447
|
)
|
|
46922
47448
|
'''
|
|
46923
47449
|
if isinstance(credentials, dict):
|
|
@@ -46926,6 +47452,8 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
46926
47452
|
instances = EmrCreateCluster.InstancesConfigProperty(**instances)
|
|
46927
47453
|
if isinstance(kerberos_attributes, dict):
|
|
46928
47454
|
kerberos_attributes = EmrCreateCluster.KerberosAttributesProperty(**kerberos_attributes)
|
|
47455
|
+
if isinstance(managed_scaling_policy, dict):
|
|
47456
|
+
managed_scaling_policy = EmrCreateCluster.ManagedScalingPolicyProperty(**managed_scaling_policy)
|
|
46929
47457
|
if __debug__:
|
|
46930
47458
|
type_hints = typing.get_type_hints(_typecheckingstub__47264d4efff2249070476b1432ca851665096bb89026c6d6564ff3c77327b86c)
|
|
46931
47459
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
@@ -46953,9 +47481,12 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
46953
47481
|
check_type(argname="argument cluster_role", value=cluster_role, expected_type=type_hints["cluster_role"])
|
|
46954
47482
|
check_type(argname="argument configurations", value=configurations, expected_type=type_hints["configurations"])
|
|
46955
47483
|
check_type(argname="argument custom_ami_id", value=custom_ami_id, expected_type=type_hints["custom_ami_id"])
|
|
47484
|
+
check_type(argname="argument ebs_root_volume_iops", value=ebs_root_volume_iops, expected_type=type_hints["ebs_root_volume_iops"])
|
|
46956
47485
|
check_type(argname="argument ebs_root_volume_size", value=ebs_root_volume_size, expected_type=type_hints["ebs_root_volume_size"])
|
|
47486
|
+
check_type(argname="argument ebs_root_volume_throughput", value=ebs_root_volume_throughput, expected_type=type_hints["ebs_root_volume_throughput"])
|
|
46957
47487
|
check_type(argname="argument kerberos_attributes", value=kerberos_attributes, expected_type=type_hints["kerberos_attributes"])
|
|
46958
47488
|
check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
|
|
47489
|
+
check_type(argname="argument managed_scaling_policy", value=managed_scaling_policy, expected_type=type_hints["managed_scaling_policy"])
|
|
46959
47490
|
check_type(argname="argument release_label", value=release_label, expected_type=type_hints["release_label"])
|
|
46960
47491
|
check_type(argname="argument scale_down_behavior", value=scale_down_behavior, expected_type=type_hints["scale_down_behavior"])
|
|
46961
47492
|
check_type(argname="argument security_configuration", value=security_configuration, expected_type=type_hints["security_configuration"])
|
|
@@ -47013,12 +47544,18 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
47013
47544
|
self._values["configurations"] = configurations
|
|
47014
47545
|
if custom_ami_id is not None:
|
|
47015
47546
|
self._values["custom_ami_id"] = custom_ami_id
|
|
47547
|
+
if ebs_root_volume_iops is not None:
|
|
47548
|
+
self._values["ebs_root_volume_iops"] = ebs_root_volume_iops
|
|
47016
47549
|
if ebs_root_volume_size is not None:
|
|
47017
47550
|
self._values["ebs_root_volume_size"] = ebs_root_volume_size
|
|
47551
|
+
if ebs_root_volume_throughput is not None:
|
|
47552
|
+
self._values["ebs_root_volume_throughput"] = ebs_root_volume_throughput
|
|
47018
47553
|
if kerberos_attributes is not None:
|
|
47019
47554
|
self._values["kerberos_attributes"] = kerberos_attributes
|
|
47020
47555
|
if log_uri is not None:
|
|
47021
47556
|
self._values["log_uri"] = log_uri
|
|
47557
|
+
if managed_scaling_policy is not None:
|
|
47558
|
+
self._values["managed_scaling_policy"] = managed_scaling_policy
|
|
47022
47559
|
if release_label is not None:
|
|
47023
47560
|
self._values["release_label"] = release_label
|
|
47024
47561
|
if scale_down_behavior is not None:
|
|
@@ -47331,6 +47868,20 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
47331
47868
|
result = self._values.get("custom_ami_id")
|
|
47332
47869
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
47333
47870
|
|
|
47871
|
+
@builtins.property
|
|
47872
|
+
def ebs_root_volume_iops(self) -> typing.Optional[jsii.Number]:
|
|
47873
|
+
'''The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
47874
|
+
|
|
47875
|
+
Requires EMR release label 6.15.0 or above.
|
|
47876
|
+
Must be in range [3000, 16000].
|
|
47877
|
+
|
|
47878
|
+
:default: - EMR selected default
|
|
47879
|
+
|
|
47880
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
47881
|
+
'''
|
|
47882
|
+
result = self._values.get("ebs_root_volume_iops")
|
|
47883
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
47884
|
+
|
|
47334
47885
|
@builtins.property
|
|
47335
47886
|
def ebs_root_volume_size(self) -> typing.Optional[_Size_7b441c34]:
|
|
47336
47887
|
'''The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
@@ -47340,6 +47891,20 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
47340
47891
|
result = self._values.get("ebs_root_volume_size")
|
|
47341
47892
|
return typing.cast(typing.Optional[_Size_7b441c34], result)
|
|
47342
47893
|
|
|
47894
|
+
@builtins.property
|
|
47895
|
+
def ebs_root_volume_throughput(self) -> typing.Optional[jsii.Number]:
|
|
47896
|
+
'''The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
|
47897
|
+
|
|
47898
|
+
Requires EMR release label 6.15.0 or above.
|
|
47899
|
+
Must be in range [125, 1000].
|
|
47900
|
+
|
|
47901
|
+
:default: - EMR selected default
|
|
47902
|
+
|
|
47903
|
+
:see: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami-root-volume-size.html#emr-root-volume-overview
|
|
47904
|
+
'''
|
|
47905
|
+
result = self._values.get("ebs_root_volume_throughput")
|
|
47906
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
47907
|
+
|
|
47343
47908
|
@builtins.property
|
|
47344
47909
|
def kerberos_attributes(
|
|
47345
47910
|
self,
|
|
@@ -47360,6 +47925,17 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
47360
47925
|
result = self._values.get("log_uri")
|
|
47361
47926
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
47362
47927
|
|
|
47928
|
+
@builtins.property
|
|
47929
|
+
def managed_scaling_policy(
|
|
47930
|
+
self,
|
|
47931
|
+
) -> typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty]:
|
|
47932
|
+
'''The specified managed scaling policy for an Amazon EMR cluster.
|
|
47933
|
+
|
|
47934
|
+
:default: - None
|
|
47935
|
+
'''
|
|
47936
|
+
result = self._values.get("managed_scaling_policy")
|
|
47937
|
+
return typing.cast(typing.Optional[EmrCreateCluster.ManagedScalingPolicyProperty], result)
|
|
47938
|
+
|
|
47363
47939
|
@builtins.property
|
|
47364
47940
|
def release_label(self) -> typing.Optional[builtins.str]:
|
|
47365
47941
|
'''The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
|
|
@@ -53068,6 +53644,7 @@ class EvaluateExpression(
|
|
|
53068
53644
|
id: builtins.str,
|
|
53069
53645
|
*,
|
|
53070
53646
|
expression: builtins.str,
|
|
53647
|
+
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
53071
53648
|
runtime: typing.Optional[_Runtime_b4eaa844] = None,
|
|
53072
53649
|
result_path: typing.Optional[builtins.str] = None,
|
|
53073
53650
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -53089,6 +53666,7 @@ class EvaluateExpression(
|
|
|
53089
53666
|
:param scope: -
|
|
53090
53667
|
:param id: Descriptive identifier for this chainable.
|
|
53091
53668
|
:param expression: The expression to evaluate. The expression may contain state paths. Example value: ``'$.a + $.b'``
|
|
53669
|
+
:param architecture: The system architecture compatible with this lambda function. ARM64 architecture support varies by AWS region. Please verify that your deployment region supports Lambda functions with ARM64 architecture before specifying Architecture.ARM_64. Default: Architecture.X86_64
|
|
53092
53670
|
:param runtime: The runtime language to use to evaluate the expression. Default: - the latest Lambda node runtime available in your region.
|
|
53093
53671
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
53094
53672
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
@@ -53112,6 +53690,7 @@ class EvaluateExpression(
|
|
|
53112
53690
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
53113
53691
|
props = EvaluateExpressionProps(
|
|
53114
53692
|
expression=expression,
|
|
53693
|
+
architecture=architecture,
|
|
53115
53694
|
runtime=runtime,
|
|
53116
53695
|
result_path=result_path,
|
|
53117
53696
|
result_selector=result_selector,
|
|
@@ -53163,6 +53742,7 @@ class EvaluateExpression(
|
|
|
53163
53742
|
"result_path": "resultPath",
|
|
53164
53743
|
"result_selector": "resultSelector",
|
|
53165
53744
|
"expression": "expression",
|
|
53745
|
+
"architecture": "architecture",
|
|
53166
53746
|
"runtime": "runtime",
|
|
53167
53747
|
},
|
|
53168
53748
|
)
|
|
@@ -53186,6 +53766,7 @@ class EvaluateExpressionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
53186
53766
|
result_path: typing.Optional[builtins.str] = None,
|
|
53187
53767
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
53188
53768
|
expression: builtins.str,
|
|
53769
|
+
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
53189
53770
|
runtime: typing.Optional[_Runtime_b4eaa844] = None,
|
|
53190
53771
|
) -> None:
|
|
53191
53772
|
'''Properties for EvaluateExpression.
|
|
@@ -53206,6 +53787,7 @@ class EvaluateExpressionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
53206
53787
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
53207
53788
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
53208
53789
|
:param expression: The expression to evaluate. The expression may contain state paths. Example value: ``'$.a + $.b'``
|
|
53790
|
+
:param architecture: The system architecture compatible with this lambda function. ARM64 architecture support varies by AWS region. Please verify that your deployment region supports Lambda functions with ARM64 architecture before specifying Architecture.ARM_64. Default: Architecture.X86_64
|
|
53209
53791
|
:param runtime: The runtime language to use to evaluate the expression. Default: - the latest Lambda node runtime available in your region.
|
|
53210
53792
|
|
|
53211
53793
|
:exampleMetadata: infused
|
|
@@ -53258,6 +53840,7 @@ class EvaluateExpressionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
53258
53840
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
53259
53841
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
53260
53842
|
check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
|
|
53843
|
+
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
53261
53844
|
check_type(argname="argument runtime", value=runtime, expected_type=type_hints["runtime"])
|
|
53262
53845
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
53263
53846
|
"expression": expression,
|
|
@@ -53292,6 +53875,8 @@ class EvaluateExpressionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
53292
53875
|
self._values["result_path"] = result_path
|
|
53293
53876
|
if result_selector is not None:
|
|
53294
53877
|
self._values["result_selector"] = result_selector
|
|
53878
|
+
if architecture is not None:
|
|
53879
|
+
self._values["architecture"] = architecture
|
|
53295
53880
|
if runtime is not None:
|
|
53296
53881
|
self._values["runtime"] = runtime
|
|
53297
53882
|
|
|
@@ -53499,6 +54084,17 @@ class EvaluateExpressionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
53499
54084
|
assert result is not None, "Required property 'expression' is missing"
|
|
53500
54085
|
return typing.cast(builtins.str, result)
|
|
53501
54086
|
|
|
54087
|
+
@builtins.property
|
|
54088
|
+
def architecture(self) -> typing.Optional[_Architecture_12d5a53f]:
|
|
54089
|
+
'''The system architecture compatible with this lambda function.
|
|
54090
|
+
|
|
54091
|
+
ARM64 architecture support varies by AWS region. Please verify that your deployment region supports Lambda functions with ARM64 architecture before specifying Architecture.ARM_64.
|
|
54092
|
+
|
|
54093
|
+
:default: Architecture.X86_64
|
|
54094
|
+
'''
|
|
54095
|
+
result = self._values.get("architecture")
|
|
54096
|
+
return typing.cast(typing.Optional[_Architecture_12d5a53f], result)
|
|
54097
|
+
|
|
53502
54098
|
@builtins.property
|
|
53503
54099
|
def runtime(self) -> typing.Optional[_Runtime_b4eaa844]:
|
|
53504
54100
|
'''The runtime language to use to evaluate the expression.
|
|
@@ -62542,7 +63138,7 @@ class HttpInvokeProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
62542
63138
|
|
|
62543
63139
|
tasks.HttpInvoke(self, "Invoke HTTP API",
|
|
62544
63140
|
api_root="https://api.example.com",
|
|
62545
|
-
api_endpoint=sfn.TaskInput.from_text("
|
|
63141
|
+
api_endpoint=sfn.TaskInput.from_text(sfn.JsonPath.format("resource/{}/details", sfn.JsonPath.string_at("$.resourceId"))),
|
|
62546
63142
|
body=sfn.TaskInput.from_object({"foo": "bar"}),
|
|
62547
63143
|
connection=connection,
|
|
62548
63144
|
headers=sfn.TaskInput.from_object({"Content-Type": "application/json"}),
|
|
@@ -62964,13 +63560,13 @@ class HttpMethods(enum.Enum):
|
|
|
62964
63560
|
Example::
|
|
62965
63561
|
|
|
62966
63562
|
import aws_cdk.aws_eks as eks
|
|
62967
|
-
from aws_cdk.
|
|
63563
|
+
from aws_cdk.lambda_layer_kubectl_v34 import KubectlV34Layer
|
|
62968
63564
|
|
|
62969
63565
|
|
|
62970
63566
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
62971
|
-
version=eks.KubernetesVersion.
|
|
63567
|
+
version=eks.KubernetesVersion.V1_34,
|
|
62972
63568
|
cluster_name="myEksCluster",
|
|
62973
|
-
kubectl_layer=
|
|
63569
|
+
kubectl_layer=KubectlV34Layer(self, "kubectl")
|
|
62974
63570
|
)
|
|
62975
63571
|
|
|
62976
63572
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -68318,7 +68914,7 @@ class SageMakerCreateEndpointConfig(
|
|
|
68318
68914
|
*,
|
|
68319
68915
|
endpoint_config_name: builtins.str,
|
|
68320
68916
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
68321
|
-
kms_key: typing.Optional[
|
|
68917
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
68322
68918
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
68323
68919
|
result_path: typing.Optional[builtins.str] = None,
|
|
68324
68920
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -68396,7 +68992,7 @@ class SageMakerCreateEndpointConfig(
|
|
|
68396
68992
|
*,
|
|
68397
68993
|
endpoint_config_name: builtins.str,
|
|
68398
68994
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
68399
|
-
kms_key: typing.Optional[
|
|
68995
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
68400
68996
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
68401
68997
|
comment: typing.Optional[builtins.str] = None,
|
|
68402
68998
|
query_language: typing.Optional[_QueryLanguage_be8414a8] = None,
|
|
@@ -68465,7 +69061,7 @@ class SageMakerCreateEndpointConfig(
|
|
|
68465
69061
|
*,
|
|
68466
69062
|
endpoint_config_name: builtins.str,
|
|
68467
69063
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
68468
|
-
kms_key: typing.Optional[
|
|
69064
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
68469
69065
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
68470
69066
|
result_path: typing.Optional[builtins.str] = None,
|
|
68471
69067
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -68595,7 +69191,7 @@ class SageMakerCreateEndpointConfigJsonPathProps(_TaskStateJsonPathBaseProps_57d
|
|
|
68595
69191
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
68596
69192
|
endpoint_config_name: builtins.str,
|
|
68597
69193
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
68598
|
-
kms_key: typing.Optional[
|
|
69194
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
68599
69195
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
68600
69196
|
) -> None:
|
|
68601
69197
|
'''Properties for creating an Amazon SageMaker endpoint configuration using JSONPath.
|
|
@@ -68628,14 +69224,14 @@ class SageMakerCreateEndpointConfigJsonPathProps(_TaskStateJsonPathBaseProps_57d
|
|
|
68628
69224
|
# The values are placeholders you should change.
|
|
68629
69225
|
import aws_cdk as cdk
|
|
68630
69226
|
from aws_cdk import aws_ec2 as ec2
|
|
68631
|
-
from aws_cdk import aws_kms as kms
|
|
68632
69227
|
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
68633
69228
|
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
|
|
69229
|
+
from aws_cdk.interfaces import aws_kms as interfaces_aws_kms
|
|
68634
69230
|
|
|
68635
69231
|
# accelerator_type: stepfunctions_tasks.AcceleratorType
|
|
68636
69232
|
# assign: Any
|
|
68637
69233
|
# instance_type: ec2.InstanceType
|
|
68638
|
-
#
|
|
69234
|
+
# key_ref: interfaces_aws_kms.IKeyRef
|
|
68639
69235
|
# result_selector: Any
|
|
68640
69236
|
# task_input: stepfunctions.TaskInput
|
|
68641
69237
|
# task_role: stepfunctions.TaskRole
|
|
@@ -68666,7 +69262,7 @@ class SageMakerCreateEndpointConfigJsonPathProps(_TaskStateJsonPathBaseProps_57d
|
|
|
68666
69262
|
heartbeat_timeout=timeout,
|
|
68667
69263
|
input_path="inputPath",
|
|
68668
69264
|
integration_pattern=stepfunctions.IntegrationPattern.REQUEST_RESPONSE,
|
|
68669
|
-
kms_key=
|
|
69265
|
+
kms_key=key_ref,
|
|
68670
69266
|
output_path="outputPath",
|
|
68671
69267
|
query_language=stepfunctions.QueryLanguage.JSON_PATH,
|
|
68672
69268
|
result_path="resultPath",
|
|
@@ -68934,13 +69530,13 @@ class SageMakerCreateEndpointConfigJsonPathProps(_TaskStateJsonPathBaseProps_57d
|
|
|
68934
69530
|
return typing.cast(typing.List[ProductionVariant], result)
|
|
68935
69531
|
|
|
68936
69532
|
@builtins.property
|
|
68937
|
-
def kms_key(self) -> typing.Optional[
|
|
69533
|
+
def kms_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
68938
69534
|
'''AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
|
68939
69535
|
|
|
68940
69536
|
:default: - None
|
|
68941
69537
|
'''
|
|
68942
69538
|
result = self._values.get("kms_key")
|
|
68943
|
-
return typing.cast(typing.Optional[
|
|
69539
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
68944
69540
|
|
|
68945
69541
|
@builtins.property
|
|
68946
69542
|
def tags(self) -> typing.Optional[_TaskInput_91b91b91]:
|
|
@@ -69001,7 +69597,7 @@ class SageMakerCreateEndpointConfigJsonataProps(_TaskStateJsonataBaseProps_0e917
|
|
|
69001
69597
|
outputs: typing.Any = None,
|
|
69002
69598
|
endpoint_config_name: builtins.str,
|
|
69003
69599
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
69004
|
-
kms_key: typing.Optional[
|
|
69600
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
69005
69601
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
69006
69602
|
) -> None:
|
|
69007
69603
|
'''Properties for creating an Amazon SageMaker endpoint configuration using JSONata.
|
|
@@ -69031,14 +69627,14 @@ class SageMakerCreateEndpointConfigJsonataProps(_TaskStateJsonataBaseProps_0e917
|
|
|
69031
69627
|
# The values are placeholders you should change.
|
|
69032
69628
|
import aws_cdk as cdk
|
|
69033
69629
|
from aws_cdk import aws_ec2 as ec2
|
|
69034
|
-
from aws_cdk import aws_kms as kms
|
|
69035
69630
|
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
69036
69631
|
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
|
|
69632
|
+
from aws_cdk.interfaces import aws_kms as interfaces_aws_kms
|
|
69037
69633
|
|
|
69038
69634
|
# accelerator_type: stepfunctions_tasks.AcceleratorType
|
|
69039
69635
|
# assign: Any
|
|
69040
69636
|
# instance_type: ec2.InstanceType
|
|
69041
|
-
#
|
|
69637
|
+
# key_ref: interfaces_aws_kms.IKeyRef
|
|
69042
69638
|
# outputs: Any
|
|
69043
69639
|
# task_input: stepfunctions.TaskInput
|
|
69044
69640
|
# task_role: stepfunctions.TaskRole
|
|
@@ -69068,7 +69664,7 @@ class SageMakerCreateEndpointConfigJsonataProps(_TaskStateJsonataBaseProps_0e917
|
|
|
69068
69664
|
heartbeat=cdk.Duration.minutes(30),
|
|
69069
69665
|
heartbeat_timeout=timeout,
|
|
69070
69666
|
integration_pattern=stepfunctions.IntegrationPattern.REQUEST_RESPONSE,
|
|
69071
|
-
kms_key=
|
|
69667
|
+
kms_key=key_ref,
|
|
69072
69668
|
outputs=outputs,
|
|
69073
69669
|
query_language=stepfunctions.QueryLanguage.JSON_PATH,
|
|
69074
69670
|
state_name="stateName",
|
|
@@ -69288,13 +69884,13 @@ class SageMakerCreateEndpointConfigJsonataProps(_TaskStateJsonataBaseProps_0e917
|
|
|
69288
69884
|
return typing.cast(typing.List[ProductionVariant], result)
|
|
69289
69885
|
|
|
69290
69886
|
@builtins.property
|
|
69291
|
-
def kms_key(self) -> typing.Optional[
|
|
69887
|
+
def kms_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
69292
69888
|
'''AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
|
69293
69889
|
|
|
69294
69890
|
:default: - None
|
|
69295
69891
|
'''
|
|
69296
69892
|
result = self._values.get("kms_key")
|
|
69297
|
-
return typing.cast(typing.Optional[
|
|
69893
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
69298
69894
|
|
|
69299
69895
|
@builtins.property
|
|
69300
69896
|
def tags(self) -> typing.Optional[_TaskInput_91b91b91]:
|
|
@@ -69363,7 +69959,7 @@ class SageMakerCreateEndpointConfigProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
69363
69959
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
69364
69960
|
endpoint_config_name: builtins.str,
|
|
69365
69961
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
69366
|
-
kms_key: typing.Optional[
|
|
69962
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
69367
69963
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
69368
69964
|
) -> None:
|
|
69369
69965
|
'''Properties for creating an Amazon SageMaker endpoint configuration.
|
|
@@ -69678,13 +70274,13 @@ class SageMakerCreateEndpointConfigProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
69678
70274
|
return typing.cast(typing.List[ProductionVariant], result)
|
|
69679
70275
|
|
|
69680
70276
|
@builtins.property
|
|
69681
|
-
def kms_key(self) -> typing.Optional[
|
|
70277
|
+
def kms_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
69682
70278
|
'''AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
|
69683
70279
|
|
|
69684
70280
|
:default: - None
|
|
69685
70281
|
'''
|
|
69686
70282
|
result = self._values.get("kms_key")
|
|
69687
|
-
return typing.cast(typing.Optional[
|
|
70283
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
69688
70284
|
|
|
69689
70285
|
@builtins.property
|
|
69690
70286
|
def tags(self) -> typing.Optional[_TaskInput_91b91b91]:
|
|
@@ -75002,13 +75598,13 @@ class SageMakerCreateTransformJobJsonPathProps(_TaskStateJsonPathBaseProps_57dc2
|
|
|
75002
75598
|
import aws_cdk as cdk
|
|
75003
75599
|
from aws_cdk import aws_ec2 as ec2
|
|
75004
75600
|
from aws_cdk import aws_iam as iam
|
|
75005
|
-
from aws_cdk import aws_kms as kms
|
|
75006
75601
|
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
75007
75602
|
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
|
|
75603
|
+
from aws_cdk.interfaces import aws_kms as interfaces_aws_kms
|
|
75008
75604
|
|
|
75009
75605
|
# assign: Any
|
|
75010
75606
|
# instance_type: ec2.InstanceType
|
|
75011
|
-
#
|
|
75607
|
+
# key_ref: interfaces_aws_kms.IKeyRef
|
|
75012
75608
|
# result_selector: Any
|
|
75013
75609
|
# role: iam.Role
|
|
75014
75610
|
# size: cdk.Size
|
|
@@ -75039,7 +75635,7 @@ class SageMakerCreateTransformJobJsonPathProps(_TaskStateJsonPathBaseProps_57dc2
|
|
|
75039
75635
|
# the properties below are optional
|
|
75040
75636
|
accept="accept",
|
|
75041
75637
|
assemble_with=stepfunctions_tasks.AssembleWith.NONE,
|
|
75042
|
-
encryption_key=
|
|
75638
|
+
encryption_key=key_ref
|
|
75043
75639
|
),
|
|
75044
75640
|
|
|
75045
75641
|
# the properties below are optional
|
|
@@ -75082,7 +75678,7 @@ class SageMakerCreateTransformJobJsonPathProps(_TaskStateJsonPathBaseProps_57dc2
|
|
|
75082
75678
|
instance_type=instance_type,
|
|
75083
75679
|
|
|
75084
75680
|
# the properties below are optional
|
|
75085
|
-
volume_encryption_key=
|
|
75681
|
+
volume_encryption_key=key_ref
|
|
75086
75682
|
)
|
|
75087
75683
|
)
|
|
75088
75684
|
'''
|
|
@@ -75561,13 +76157,13 @@ class SageMakerCreateTransformJobJsonataProps(_TaskStateJsonataBaseProps_0e91775
|
|
|
75561
76157
|
import aws_cdk as cdk
|
|
75562
76158
|
from aws_cdk import aws_ec2 as ec2
|
|
75563
76159
|
from aws_cdk import aws_iam as iam
|
|
75564
|
-
from aws_cdk import aws_kms as kms
|
|
75565
76160
|
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
75566
76161
|
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
|
|
76162
|
+
from aws_cdk.interfaces import aws_kms as interfaces_aws_kms
|
|
75567
76163
|
|
|
75568
76164
|
# assign: Any
|
|
75569
76165
|
# instance_type: ec2.InstanceType
|
|
75570
|
-
#
|
|
76166
|
+
# key_ref: interfaces_aws_kms.IKeyRef
|
|
75571
76167
|
# outputs: Any
|
|
75572
76168
|
# role: iam.Role
|
|
75573
76169
|
# size: cdk.Size
|
|
@@ -75598,7 +76194,7 @@ class SageMakerCreateTransformJobJsonataProps(_TaskStateJsonataBaseProps_0e91775
|
|
|
75598
76194
|
# the properties below are optional
|
|
75599
76195
|
accept="accept",
|
|
75600
76196
|
assemble_with=stepfunctions_tasks.AssembleWith.NONE,
|
|
75601
|
-
encryption_key=
|
|
76197
|
+
encryption_key=key_ref
|
|
75602
76198
|
),
|
|
75603
76199
|
|
|
75604
76200
|
# the properties below are optional
|
|
@@ -75636,7 +76232,7 @@ class SageMakerCreateTransformJobJsonataProps(_TaskStateJsonataBaseProps_0e91775
|
|
|
75636
76232
|
instance_type=instance_type,
|
|
75637
76233
|
|
|
75638
76234
|
# the properties below are optional
|
|
75639
|
-
volume_encryption_key=
|
|
76235
|
+
volume_encryption_key=key_ref
|
|
75640
76236
|
)
|
|
75641
76237
|
)
|
|
75642
76238
|
'''
|
|
@@ -84397,7 +84993,7 @@ class TransformOutput:
|
|
|
84397
84993
|
s3_output_path: builtins.str,
|
|
84398
84994
|
accept: typing.Optional[builtins.str] = None,
|
|
84399
84995
|
assemble_with: typing.Optional[AssembleWith] = None,
|
|
84400
|
-
encryption_key: typing.Optional[
|
|
84996
|
+
encryption_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
84401
84997
|
) -> None:
|
|
84402
84998
|
'''S3 location where you want Amazon SageMaker to save the results from the transform job.
|
|
84403
84999
|
|
|
@@ -84476,13 +85072,13 @@ class TransformOutput:
|
|
|
84476
85072
|
return typing.cast(typing.Optional[AssembleWith], result)
|
|
84477
85073
|
|
|
84478
85074
|
@builtins.property
|
|
84479
|
-
def encryption_key(self) -> typing.Optional[
|
|
85075
|
+
def encryption_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
84480
85076
|
'''AWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
84481
85077
|
|
|
84482
85078
|
:default: - default KMS key for Amazon S3 for your role's account.
|
|
84483
85079
|
'''
|
|
84484
85080
|
result = self._values.get("encryption_key")
|
|
84485
|
-
return typing.cast(typing.Optional[
|
|
85081
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
84486
85082
|
|
|
84487
85083
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
84488
85084
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -84511,7 +85107,7 @@ class TransformResources:
|
|
|
84511
85107
|
*,
|
|
84512
85108
|
instance_count: jsii.Number,
|
|
84513
85109
|
instance_type: _InstanceType_f64915b9,
|
|
84514
|
-
volume_encryption_key: typing.Optional[
|
|
85110
|
+
volume_encryption_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
84515
85111
|
) -> None:
|
|
84516
85112
|
'''ML compute instances for the transform job.
|
|
84517
85113
|
|
|
@@ -84574,13 +85170,13 @@ class TransformResources:
|
|
|
84574
85170
|
return typing.cast(_InstanceType_f64915b9, result)
|
|
84575
85171
|
|
|
84576
85172
|
@builtins.property
|
|
84577
|
-
def volume_encryption_key(self) -> typing.Optional[
|
|
85173
|
+
def volume_encryption_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
84578
85174
|
'''AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).
|
|
84579
85175
|
|
|
84580
85176
|
:default: - None
|
|
84581
85177
|
'''
|
|
84582
85178
|
result = self._values.get("volume_encryption_key")
|
|
84583
|
-
return typing.cast(typing.Optional[
|
|
85179
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
84584
85180
|
|
|
84585
85181
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
84586
85182
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -84694,7 +85290,7 @@ class URLEncodingFormat(enum.Enum):
|
|
|
84694
85290
|
|
|
84695
85291
|
tasks.HttpInvoke(self, "Invoke HTTP API",
|
|
84696
85292
|
api_root="https://api.example.com",
|
|
84697
|
-
api_endpoint=sfn.TaskInput.from_text("
|
|
85293
|
+
api_endpoint=sfn.TaskInput.from_text(sfn.JsonPath.format("resource/{}/details", sfn.JsonPath.string_at("$.resourceId"))),
|
|
84698
85294
|
body=sfn.TaskInput.from_object({"foo": "bar"}),
|
|
84699
85295
|
connection=connection,
|
|
84700
85296
|
headers=sfn.TaskInput.from_object({"Content-Type": "application/json"}),
|
|
@@ -88257,7 +88853,7 @@ def _typecheckingstub__05f50c48ead9c1041aeef184ab271f7236e2832bc9e7175e9c6909f2f
|
|
|
88257
88853
|
custom_model_tags: typing.Optional[typing.Sequence[typing.Union[CustomModelTag, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88258
88854
|
hyper_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
88259
88855
|
job_tags: typing.Optional[typing.Sequence[typing.Union[CustomModelTag, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88260
|
-
role: typing.Optional[
|
|
88856
|
+
role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
88261
88857
|
validation_data: typing.Optional[typing.Sequence[typing.Union[ValidationBucketConfiguration, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88262
88858
|
vpc_config: typing.Optional[IBedrockCreateModelCustomizationJobVpcConfig] = None,
|
|
88263
88859
|
result_path: typing.Optional[builtins.str] = None,
|
|
@@ -88307,7 +88903,7 @@ def _typecheckingstub__4a1348489dd866713bad4f53a20bf5de0eff5edebddfb3011e85cf03d
|
|
|
88307
88903
|
custom_model_tags: typing.Optional[typing.Sequence[typing.Union[CustomModelTag, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88308
88904
|
hyper_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
88309
88905
|
job_tags: typing.Optional[typing.Sequence[typing.Union[CustomModelTag, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88310
|
-
role: typing.Optional[
|
|
88906
|
+
role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
88311
88907
|
validation_data: typing.Optional[typing.Sequence[typing.Union[ValidationBucketConfiguration, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88312
88908
|
vpc_config: typing.Optional[IBedrockCreateModelCustomizationJobVpcConfig] = None,
|
|
88313
88909
|
) -> None:
|
|
@@ -91553,9 +92149,12 @@ def _typecheckingstub__cea19fa2105afe952446f5bd0f605c16f7727beccef02df2d7846fc03
|
|
|
91553
92149
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
91554
92150
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91555
92151
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92152
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
91556
92153
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92154
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
91557
92155
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91558
92156
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92157
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91559
92158
|
release_label: typing.Optional[builtins.str] = None,
|
|
91560
92159
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
91561
92160
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -91596,9 +92195,12 @@ def _typecheckingstub__c919e6f14f726c30d5e9bfdcd68c1528feb537ad74733ba631023ae0e
|
|
|
91596
92195
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
91597
92196
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91598
92197
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92198
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
91599
92199
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92200
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
91600
92201
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91601
92202
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92203
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91602
92204
|
release_label: typing.Optional[builtins.str] = None,
|
|
91603
92205
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
91604
92206
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -91635,9 +92237,12 @@ def _typecheckingstub__c0ca62f39b0f27c784b5c3bd197f4bcb1898d07af8d6176a5e24d6cb4
|
|
|
91635
92237
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
91636
92238
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91637
92239
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92240
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
91638
92241
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92242
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
91639
92243
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91640
92244
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92245
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91641
92246
|
release_label: typing.Optional[builtins.str] = None,
|
|
91642
92247
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
91643
92248
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -91809,6 +92414,24 @@ def _typecheckingstub__55fd4ff6bee4f87932c9408a964df71df75a5355df79438f571de69d1
|
|
|
91809
92414
|
"""Type checking stubs"""
|
|
91810
92415
|
pass
|
|
91811
92416
|
|
|
92417
|
+
def _typecheckingstub__456056f16dcf97fd1f56ad4f544f9e6a7740b916af0bb528c7039258390c676c(
|
|
92418
|
+
*,
|
|
92419
|
+
maximum_capacity_units: jsii.Number,
|
|
92420
|
+
minimum_capacity_units: jsii.Number,
|
|
92421
|
+
unit_type: EmrCreateCluster.ComputeLimitsUnitType,
|
|
92422
|
+
maximum_core_capacity_units: typing.Optional[jsii.Number] = None,
|
|
92423
|
+
maximum_on_demand_capacity_units: typing.Optional[jsii.Number] = None,
|
|
92424
|
+
) -> None:
|
|
92425
|
+
"""Type checking stubs"""
|
|
92426
|
+
pass
|
|
92427
|
+
|
|
92428
|
+
def _typecheckingstub__179ad22f7f4bb419f4267ee887aae9d8eb939feb472f44c905e5f5d18bca8899(
|
|
92429
|
+
*,
|
|
92430
|
+
compute_limits: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingComputeLimitsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
92431
|
+
) -> None:
|
|
92432
|
+
"""Type checking stubs"""
|
|
92433
|
+
pass
|
|
92434
|
+
|
|
91812
92435
|
def _typecheckingstub__b08b745951eed0d937bba525b556337b2cbf7ac04b7cf244aa893e39122e1abc(
|
|
91813
92436
|
*,
|
|
91814
92437
|
key: builtins.str,
|
|
@@ -91928,9 +92551,12 @@ def _typecheckingstub__8eee079f7d9817361a59216197eaa0f6c6e38fddbd968457fbb263e42
|
|
|
91928
92551
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
91929
92552
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91930
92553
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92554
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
91931
92555
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92556
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
91932
92557
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91933
92558
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92559
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91934
92560
|
release_label: typing.Optional[builtins.str] = None,
|
|
91935
92561
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
91936
92562
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -91965,9 +92591,12 @@ def _typecheckingstub__e0198d308a9f96d3aadda143c9d8a0ef5848603e760f6a16d02390d98
|
|
|
91965
92591
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
91966
92592
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91967
92593
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92594
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
91968
92595
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92596
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
91969
92597
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91970
92598
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92599
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
91971
92600
|
release_label: typing.Optional[builtins.str] = None,
|
|
91972
92601
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
91973
92602
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -92006,9 +92635,12 @@ def _typecheckingstub__47264d4efff2249070476b1432ca851665096bb89026c6d6564ff3c77
|
|
|
92006
92635
|
cluster_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
92007
92636
|
configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
92008
92637
|
custom_ami_id: typing.Optional[builtins.str] = None,
|
|
92638
|
+
ebs_root_volume_iops: typing.Optional[jsii.Number] = None,
|
|
92009
92639
|
ebs_root_volume_size: typing.Optional[_Size_7b441c34] = None,
|
|
92640
|
+
ebs_root_volume_throughput: typing.Optional[jsii.Number] = None,
|
|
92010
92641
|
kerberos_attributes: typing.Optional[typing.Union[EmrCreateCluster.KerberosAttributesProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
92011
92642
|
log_uri: typing.Optional[builtins.str] = None,
|
|
92643
|
+
managed_scaling_policy: typing.Optional[typing.Union[EmrCreateCluster.ManagedScalingPolicyProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
92012
92644
|
release_label: typing.Optional[builtins.str] = None,
|
|
92013
92645
|
scale_down_behavior: typing.Optional[EmrCreateCluster.EmrClusterScaleDownBehavior] = None,
|
|
92014
92646
|
security_configuration: typing.Optional[builtins.str] = None,
|
|
@@ -92608,6 +93240,7 @@ def _typecheckingstub__7da4306c848323ad0fd19f879d1e450efab7eb83fb1ef1cb0d748933f
|
|
|
92608
93240
|
id: builtins.str,
|
|
92609
93241
|
*,
|
|
92610
93242
|
expression: builtins.str,
|
|
93243
|
+
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
92611
93244
|
runtime: typing.Optional[_Runtime_b4eaa844] = None,
|
|
92612
93245
|
result_path: typing.Optional[builtins.str] = None,
|
|
92613
93246
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -92646,6 +93279,7 @@ def _typecheckingstub__7b660a2d739c33e835b358bdf384dcda902727f35dd042f5cd8486b6f
|
|
|
92646
93279
|
result_path: typing.Optional[builtins.str] = None,
|
|
92647
93280
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
92648
93281
|
expression: builtins.str,
|
|
93282
|
+
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
92649
93283
|
runtime: typing.Optional[_Runtime_b4eaa844] = None,
|
|
92650
93284
|
) -> None:
|
|
92651
93285
|
"""Type checking stubs"""
|
|
@@ -94186,7 +94820,7 @@ def _typecheckingstub__7955865e1edbdbe14b7d0785bfa36c7b48efa077af003aaf9df70da12
|
|
|
94186
94820
|
*,
|
|
94187
94821
|
endpoint_config_name: builtins.str,
|
|
94188
94822
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94189
|
-
kms_key: typing.Optional[
|
|
94823
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94190
94824
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94191
94825
|
result_path: typing.Optional[builtins.str] = None,
|
|
94192
94826
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -94213,7 +94847,7 @@ def _typecheckingstub__a04e5ec2f31c1c0a35206acfad542ed8d379ff952def62aaa6117a96e
|
|
|
94213
94847
|
*,
|
|
94214
94848
|
endpoint_config_name: builtins.str,
|
|
94215
94849
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94216
|
-
kms_key: typing.Optional[
|
|
94850
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94217
94851
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94218
94852
|
comment: typing.Optional[builtins.str] = None,
|
|
94219
94853
|
query_language: typing.Optional[_QueryLanguage_be8414a8] = None,
|
|
@@ -94236,7 +94870,7 @@ def _typecheckingstub__ba6ef12807fb03dd6a1e2b7b7459ab46a68375ac4bdd5c6889009eb09
|
|
|
94236
94870
|
*,
|
|
94237
94871
|
endpoint_config_name: builtins.str,
|
|
94238
94872
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94239
|
-
kms_key: typing.Optional[
|
|
94873
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94240
94874
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94241
94875
|
result_path: typing.Optional[builtins.str] = None,
|
|
94242
94876
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -94274,7 +94908,7 @@ def _typecheckingstub__0340e22743e5cec55b8355716928d646950cfb9f1d89788c54e7a89c8
|
|
|
94274
94908
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
94275
94909
|
endpoint_config_name: builtins.str,
|
|
94276
94910
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94277
|
-
kms_key: typing.Optional[
|
|
94911
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94278
94912
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94279
94913
|
) -> None:
|
|
94280
94914
|
"""Type checking stubs"""
|
|
@@ -94295,7 +94929,7 @@ def _typecheckingstub__224ee8de6923ad7c2b27d51fa022d67ec84732124bab2297a739557a9
|
|
|
94295
94929
|
outputs: typing.Any = None,
|
|
94296
94930
|
endpoint_config_name: builtins.str,
|
|
94297
94931
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94298
|
-
kms_key: typing.Optional[
|
|
94932
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94299
94933
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94300
94934
|
) -> None:
|
|
94301
94935
|
"""Type checking stubs"""
|
|
@@ -94320,7 +94954,7 @@ def _typecheckingstub__1d1471e23ddcae3c4722c429827c5dc0c982af6428c9ffd8f2f2d5418
|
|
|
94320
94954
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
94321
94955
|
endpoint_config_name: builtins.str,
|
|
94322
94956
|
production_variants: typing.Sequence[typing.Union[ProductionVariant, typing.Dict[builtins.str, typing.Any]]],
|
|
94323
|
-
kms_key: typing.Optional[
|
|
94957
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
94324
94958
|
tags: typing.Optional[_TaskInput_91b91b91] = None,
|
|
94325
94959
|
) -> None:
|
|
94326
94960
|
"""Type checking stubs"""
|
|
@@ -95768,7 +96402,7 @@ def _typecheckingstub__e0cf6576f3c404e22a16992178f88fbe3f245d07212e6cb4794473e5a
|
|
|
95768
96402
|
s3_output_path: builtins.str,
|
|
95769
96403
|
accept: typing.Optional[builtins.str] = None,
|
|
95770
96404
|
assemble_with: typing.Optional[AssembleWith] = None,
|
|
95771
|
-
encryption_key: typing.Optional[
|
|
96405
|
+
encryption_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
95772
96406
|
) -> None:
|
|
95773
96407
|
"""Type checking stubs"""
|
|
95774
96408
|
pass
|
|
@@ -95777,7 +96411,7 @@ def _typecheckingstub__30e58d94548c5ccbec0d0beebb0cb5f0b52fadefbe7e2baccc25f98ae
|
|
|
95777
96411
|
*,
|
|
95778
96412
|
instance_count: jsii.Number,
|
|
95779
96413
|
instance_type: _InstanceType_f64915b9,
|
|
95780
|
-
volume_encryption_key: typing.Optional[
|
|
96414
|
+
volume_encryption_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
95781
96415
|
) -> None:
|
|
95782
96416
|
"""Type checking stubs"""
|
|
95783
96417
|
pass
|
|
@@ -95966,3 +96600,6 @@ def _typecheckingstub__7c19025da4101b4b8d2482e0216270cc5e94fe58381fdba0b4cf99f04
|
|
|
95966
96600
|
) -> None:
|
|
95967
96601
|
"""Type checking stubs"""
|
|
95968
96602
|
pass
|
|
96603
|
+
|
|
96604
|
+
for cls in [IBedrockCreateModelCustomizationJobVpcConfig, IContainerDefinition, IEcsLaunchTarget, ISageMakerTask]:
|
|
96605
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|