aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.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 +33 -35
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +453 -2
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +11 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +32 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +112 -7
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +53 -45
- aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +8 -5
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +9 -4
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +15 -3
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +32 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +205 -48
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +429 -182
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +117 -67
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +7 -4
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +896 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +139 -80
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +98 -4
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +57 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +587 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +283 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +62 -13
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +279 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +8 -5
- aws_cdk/aws_neptune/__init__.py +188 -70
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +32 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +10 -1
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +9 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +227 -33
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +61 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +493 -406
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +71 -42
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +21 -6
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +148 -24
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +80 -43
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +47 -12
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +161 -144
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +80 -27
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_pcs/__init__.py
CHANGED
|
@@ -301,7 +301,7 @@ class CfnComputeNodeGroupProps:
|
|
|
301
301
|
:param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
|
|
302
302
|
:param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
|
|
303
303
|
:param name: The name that identifies the compute node group.
|
|
304
|
-
:param purchase_option: Specifies how EC2 instances are purchased on your behalf. AWS
|
|
304
|
+
:param purchase_option: Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks for ML. For more information, see `Amazon EC2 billing and purchasing options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . For more information about AWS PCS support for Capacity Blocks, see `Using Amazon EC2 Capacity Blocks for ML with AWS PCS <https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html>`_ in the *AWS PCS User Guide* . If you don't provide this option, it defaults to On-Demand.
|
|
305
305
|
:param slurm_configuration: Additional options related to the Slurm scheduler.
|
|
306
306
|
:param spot_options: Additional configuration when you specify ``SPOT`` as the ``purchaseOption`` for the ``CreateComputeNodeGroup`` API action.
|
|
307
307
|
:param tags: 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
@@ -480,7 +480,7 @@ class CfnComputeNodeGroupProps:
|
|
|
480
480
|
def purchase_option(self) -> typing.Optional[builtins.str]:
|
|
481
481
|
'''Specifies how EC2 instances are purchased on your behalf.
|
|
482
482
|
|
|
483
|
-
AWS
|
|
483
|
+
AWS PCS supports On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks for ML. For more information, see `Amazon EC2 billing and purchasing options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . For more information about AWS PCS support for Capacity Blocks, see `Using Amazon EC2 Capacity Blocks for ML with AWS PCS <https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html>`_ in the *AWS PCS User Guide* . If you don't provide this option, it defaults to On-Demand.
|
|
484
484
|
|
|
485
485
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-purchaseoption
|
|
486
486
|
'''
|
|
@@ -539,6 +539,7 @@ class CfnComputeNodeGroupProps:
|
|
|
539
539
|
"cluster_id": "clusterId",
|
|
540
540
|
"compute_node_group_configurations": "computeNodeGroupConfigurations",
|
|
541
541
|
"name": "name",
|
|
542
|
+
"slurm_configuration": "slurmConfiguration",
|
|
542
543
|
"tags": "tags",
|
|
543
544
|
},
|
|
544
545
|
)
|
|
@@ -549,6 +550,7 @@ class CfnQueueProps:
|
|
|
549
550
|
cluster_id: builtins.str,
|
|
550
551
|
compute_node_group_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQueue.ComputeNodeGroupConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
551
552
|
name: typing.Optional[builtins.str] = None,
|
|
553
|
+
slurm_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQueue.SlurmConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
552
554
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
553
555
|
) -> None:
|
|
554
556
|
'''Properties for defining a ``CfnQueue``.
|
|
@@ -556,6 +558,7 @@ class CfnQueueProps:
|
|
|
556
558
|
:param cluster_id: The ID of the cluster of the queue.
|
|
557
559
|
:param compute_node_group_configurations: The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
|
|
558
560
|
:param name: The name that identifies the queue.
|
|
561
|
+
:param slurm_configuration: Additional options related to the Slurm scheduler.
|
|
559
562
|
:param tags: 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
560
563
|
|
|
561
564
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
|
|
@@ -575,6 +578,12 @@ class CfnQueueProps:
|
|
|
575
578
|
compute_node_group_id="computeNodeGroupId"
|
|
576
579
|
)],
|
|
577
580
|
name="name",
|
|
581
|
+
slurm_configuration=pcs.CfnQueue.SlurmConfigurationProperty(
|
|
582
|
+
slurm_custom_settings=[pcs.CfnQueue.SlurmCustomSettingProperty(
|
|
583
|
+
parameter_name="parameterName",
|
|
584
|
+
parameter_value="parameterValue"
|
|
585
|
+
)]
|
|
586
|
+
),
|
|
578
587
|
tags={
|
|
579
588
|
"tags_key": "tags"
|
|
580
589
|
}
|
|
@@ -585,6 +594,7 @@ class CfnQueueProps:
|
|
|
585
594
|
check_type(argname="argument cluster_id", value=cluster_id, expected_type=type_hints["cluster_id"])
|
|
586
595
|
check_type(argname="argument compute_node_group_configurations", value=compute_node_group_configurations, expected_type=type_hints["compute_node_group_configurations"])
|
|
587
596
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
597
|
+
check_type(argname="argument slurm_configuration", value=slurm_configuration, expected_type=type_hints["slurm_configuration"])
|
|
588
598
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
589
599
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
590
600
|
"cluster_id": cluster_id,
|
|
@@ -593,6 +603,8 @@ class CfnQueueProps:
|
|
|
593
603
|
self._values["compute_node_group_configurations"] = compute_node_group_configurations
|
|
594
604
|
if name is not None:
|
|
595
605
|
self._values["name"] = name
|
|
606
|
+
if slurm_configuration is not None:
|
|
607
|
+
self._values["slurm_configuration"] = slurm_configuration
|
|
596
608
|
if tags is not None:
|
|
597
609
|
self._values["tags"] = tags
|
|
598
610
|
|
|
@@ -628,6 +640,17 @@ class CfnQueueProps:
|
|
|
628
640
|
result = self._values.get("name")
|
|
629
641
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
630
642
|
|
|
643
|
+
@builtins.property
|
|
644
|
+
def slurm_configuration(
|
|
645
|
+
self,
|
|
646
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmConfigurationProperty"]]:
|
|
647
|
+
'''Additional options related to the Slurm scheduler.
|
|
648
|
+
|
|
649
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-slurmconfiguration
|
|
650
|
+
'''
|
|
651
|
+
result = self._values.get("slurm_configuration")
|
|
652
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmConfigurationProperty"]], result)
|
|
653
|
+
|
|
631
654
|
@builtins.property
|
|
632
655
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
633
656
|
'''1 or more tags added to the resource.
|
|
@@ -1889,7 +1912,11 @@ class CfnCluster(
|
|
|
1889
1912
|
) -> None:
|
|
1890
1913
|
'''Additional settings that directly map to Slurm settings.
|
|
1891
1914
|
|
|
1892
|
-
|
|
1915
|
+
.. epigraph::
|
|
1916
|
+
|
|
1917
|
+
AWS PCS supports a subset of Slurm settings. For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
1918
|
+
|
|
1919
|
+
:param parameter_name: AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues. For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
1893
1920
|
:param parameter_value: The values for the configured Slurm settings.
|
|
1894
1921
|
|
|
1895
1922
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmcustomsetting.html
|
|
@@ -1917,21 +1944,9 @@ class CfnCluster(
|
|
|
1917
1944
|
|
|
1918
1945
|
@builtins.property
|
|
1919
1946
|
def parameter_name(self) -> builtins.str:
|
|
1920
|
-
'''AWS PCS supports
|
|
1921
|
-
|
|
1922
|
-
- For *clusters*
|
|
1923
|
-
- ```Prolog`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1>`_
|
|
1924
|
-
- ```Epilog`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1>`_
|
|
1925
|
-
- ```SelectTypeParameters`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters>`_
|
|
1926
|
-
- ```AccountingStorageEnforce`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce>`_
|
|
1927
|
-
|
|
1928
|
-
.. epigraph::
|
|
1947
|
+
'''AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues.
|
|
1929
1948
|
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
- For *compute node groups*
|
|
1933
|
-
- ```Weight`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight>`_
|
|
1934
|
-
- ```RealMemory`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight>`_
|
|
1949
|
+
For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
1935
1950
|
|
|
1936
1951
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmcustomsetting.html#cfn-pcs-cluster-slurmcustomsetting-parametername
|
|
1937
1952
|
'''
|
|
@@ -2047,7 +2062,7 @@ class CfnComputeNodeGroup(
|
|
|
2047
2062
|
:param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
|
|
2048
2063
|
:param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
|
|
2049
2064
|
:param name: The name that identifies the compute node group.
|
|
2050
|
-
:param purchase_option: Specifies how EC2 instances are purchased on your behalf. AWS
|
|
2065
|
+
:param purchase_option: Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks for ML. For more information, see `Amazon EC2 billing and purchasing options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . For more information about AWS PCS support for Capacity Blocks, see `Using Amazon EC2 Capacity Blocks for ML with AWS PCS <https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html>`_ in the *AWS PCS User Guide* . If you don't provide this option, it defaults to On-Demand.
|
|
2051
2066
|
:param slurm_configuration: Additional options related to the Slurm scheduler.
|
|
2052
2067
|
:param spot_options: Additional configuration when you specify ``SPOT`` as the ``purchaseOption`` for the ``CreateComputeNodeGroup`` API action.
|
|
2053
2068
|
:param tags: 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
@@ -2695,7 +2710,11 @@ class CfnComputeNodeGroup(
|
|
|
2695
2710
|
) -> None:
|
|
2696
2711
|
'''Additional settings that directly map to Slurm settings.
|
|
2697
2712
|
|
|
2698
|
-
|
|
2713
|
+
.. epigraph::
|
|
2714
|
+
|
|
2715
|
+
AWS PCS supports a subset of Slurm settings. For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
2716
|
+
|
|
2717
|
+
:param parameter_name: AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues. For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
2699
2718
|
:param parameter_value: The values for the configured Slurm settings.
|
|
2700
2719
|
|
|
2701
2720
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-slurmcustomsetting.html
|
|
@@ -2723,21 +2742,9 @@ class CfnComputeNodeGroup(
|
|
|
2723
2742
|
|
|
2724
2743
|
@builtins.property
|
|
2725
2744
|
def parameter_name(self) -> builtins.str:
|
|
2726
|
-
'''AWS PCS supports
|
|
2727
|
-
|
|
2728
|
-
- For *clusters*
|
|
2729
|
-
- ```Prolog`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1>`_
|
|
2730
|
-
- ```Epilog`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1>`_
|
|
2731
|
-
- ```SelectTypeParameters`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters>`_
|
|
2732
|
-
- ```AccountingStorageEnforce`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce>`_
|
|
2745
|
+
'''AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues.
|
|
2733
2746
|
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
AWS PCS supports a subset of the options for ``AccountingStorageEnforce`` . For more information, see `Slurm accounting in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-accounting.html>`_ in the *AWS PCS User Guide* .
|
|
2737
|
-
|
|
2738
|
-
- For *compute node groups*
|
|
2739
|
-
- ```Weight`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight>`_
|
|
2740
|
-
- ```RealMemory`` <https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight>`_
|
|
2747
|
+
For more information, see `Configuring custom Slurm settings in AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/slurm-custom-settings.html>`_ in the *AWS PCS User Guide* .
|
|
2741
2748
|
|
|
2742
2749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-slurmcustomsetting.html#cfn-pcs-computenodegroup-slurmcustomsetting-parametername
|
|
2743
2750
|
'''
|
|
@@ -2852,6 +2859,12 @@ class CfnQueue(
|
|
|
2852
2859
|
compute_node_group_id="computeNodeGroupId"
|
|
2853
2860
|
)],
|
|
2854
2861
|
name="name",
|
|
2862
|
+
slurm_configuration=pcs.CfnQueue.SlurmConfigurationProperty(
|
|
2863
|
+
slurm_custom_settings=[pcs.CfnQueue.SlurmCustomSettingProperty(
|
|
2864
|
+
parameter_name="parameterName",
|
|
2865
|
+
parameter_value="parameterValue"
|
|
2866
|
+
)]
|
|
2867
|
+
),
|
|
2855
2868
|
tags={
|
|
2856
2869
|
"tags_key": "tags"
|
|
2857
2870
|
}
|
|
@@ -2866,6 +2879,7 @@ class CfnQueue(
|
|
|
2866
2879
|
cluster_id: builtins.str,
|
|
2867
2880
|
compute_node_group_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQueue.ComputeNodeGroupConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2868
2881
|
name: typing.Optional[builtins.str] = None,
|
|
2882
|
+
slurm_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQueue.SlurmConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2869
2883
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2870
2884
|
) -> None:
|
|
2871
2885
|
'''
|
|
@@ -2874,6 +2888,7 @@ class CfnQueue(
|
|
|
2874
2888
|
:param cluster_id: The ID of the cluster of the queue.
|
|
2875
2889
|
:param compute_node_group_configurations: The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
|
|
2876
2890
|
:param name: The name that identifies the queue.
|
|
2891
|
+
:param slurm_configuration: Additional options related to the Slurm scheduler.
|
|
2877
2892
|
:param tags: 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
2878
2893
|
'''
|
|
2879
2894
|
if __debug__:
|
|
@@ -2884,6 +2899,7 @@ class CfnQueue(
|
|
|
2884
2899
|
cluster_id=cluster_id,
|
|
2885
2900
|
compute_node_group_configurations=compute_node_group_configurations,
|
|
2886
2901
|
name=name,
|
|
2902
|
+
slurm_configuration=slurm_configuration,
|
|
2887
2903
|
tags=tags,
|
|
2888
2904
|
)
|
|
2889
2905
|
|
|
@@ -3020,6 +3036,24 @@ class CfnQueue(
|
|
|
3020
3036
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3021
3037
|
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
3022
3038
|
|
|
3039
|
+
@builtins.property
|
|
3040
|
+
@jsii.member(jsii_name="slurmConfiguration")
|
|
3041
|
+
def slurm_configuration(
|
|
3042
|
+
self,
|
|
3043
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmConfigurationProperty"]]:
|
|
3044
|
+
'''Additional options related to the Slurm scheduler.'''
|
|
3045
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmConfigurationProperty"]], jsii.get(self, "slurmConfiguration"))
|
|
3046
|
+
|
|
3047
|
+
@slurm_configuration.setter
|
|
3048
|
+
def slurm_configuration(
|
|
3049
|
+
self,
|
|
3050
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmConfigurationProperty"]],
|
|
3051
|
+
) -> None:
|
|
3052
|
+
if __debug__:
|
|
3053
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b7380033da0bbecbc38adb9cf8f52dc687fd71722aa673c38c6fb2beb4cf53c)
|
|
3054
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3055
|
+
jsii.set(self, "slurmConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
3056
|
+
|
|
3023
3057
|
@builtins.property
|
|
3024
3058
|
@jsii.member(jsii_name="tags")
|
|
3025
3059
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -3161,6 +3195,140 @@ class CfnQueue(
|
|
|
3161
3195
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3162
3196
|
)
|
|
3163
3197
|
|
|
3198
|
+
@jsii.data_type(
|
|
3199
|
+
jsii_type="aws-cdk-lib.aws_pcs.CfnQueue.SlurmConfigurationProperty",
|
|
3200
|
+
jsii_struct_bases=[],
|
|
3201
|
+
name_mapping={"slurm_custom_settings": "slurmCustomSettings"},
|
|
3202
|
+
)
|
|
3203
|
+
class SlurmConfigurationProperty:
|
|
3204
|
+
def __init__(
|
|
3205
|
+
self,
|
|
3206
|
+
*,
|
|
3207
|
+
slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQueue.SlurmCustomSettingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3208
|
+
) -> None:
|
|
3209
|
+
'''The Slurm configuration for the queue.
|
|
3210
|
+
|
|
3211
|
+
:param slurm_custom_settings: Custom Slurm parameters that directly map to Slurm configuration settings.
|
|
3212
|
+
|
|
3213
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmconfiguration.html
|
|
3214
|
+
:exampleMetadata: fixture=_generated
|
|
3215
|
+
|
|
3216
|
+
Example::
|
|
3217
|
+
|
|
3218
|
+
# The code below shows an example of how to instantiate this type.
|
|
3219
|
+
# The values are placeholders you should change.
|
|
3220
|
+
from aws_cdk import aws_pcs as pcs
|
|
3221
|
+
|
|
3222
|
+
slurm_configuration_property = pcs.CfnQueue.SlurmConfigurationProperty(
|
|
3223
|
+
slurm_custom_settings=[pcs.CfnQueue.SlurmCustomSettingProperty(
|
|
3224
|
+
parameter_name="parameterName",
|
|
3225
|
+
parameter_value="parameterValue"
|
|
3226
|
+
)]
|
|
3227
|
+
)
|
|
3228
|
+
'''
|
|
3229
|
+
if __debug__:
|
|
3230
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28618a9f4bd71d830d18eda5c9c09bf4d7f232a6179eb690e9a3aa36984af24b)
|
|
3231
|
+
check_type(argname="argument slurm_custom_settings", value=slurm_custom_settings, expected_type=type_hints["slurm_custom_settings"])
|
|
3232
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3233
|
+
if slurm_custom_settings is not None:
|
|
3234
|
+
self._values["slurm_custom_settings"] = slurm_custom_settings
|
|
3235
|
+
|
|
3236
|
+
@builtins.property
|
|
3237
|
+
def slurm_custom_settings(
|
|
3238
|
+
self,
|
|
3239
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmCustomSettingProperty"]]]]:
|
|
3240
|
+
'''Custom Slurm parameters that directly map to Slurm configuration settings.
|
|
3241
|
+
|
|
3242
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmconfiguration.html#cfn-pcs-queue-slurmconfiguration-slurmcustomsettings
|
|
3243
|
+
'''
|
|
3244
|
+
result = self._values.get("slurm_custom_settings")
|
|
3245
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnQueue.SlurmCustomSettingProperty"]]]], result)
|
|
3246
|
+
|
|
3247
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3248
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3249
|
+
|
|
3250
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3251
|
+
return not (rhs == self)
|
|
3252
|
+
|
|
3253
|
+
def __repr__(self) -> str:
|
|
3254
|
+
return "SlurmConfigurationProperty(%s)" % ", ".join(
|
|
3255
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3256
|
+
)
|
|
3257
|
+
|
|
3258
|
+
@jsii.data_type(
|
|
3259
|
+
jsii_type="aws-cdk-lib.aws_pcs.CfnQueue.SlurmCustomSettingProperty",
|
|
3260
|
+
jsii_struct_bases=[],
|
|
3261
|
+
name_mapping={
|
|
3262
|
+
"parameter_name": "parameterName",
|
|
3263
|
+
"parameter_value": "parameterValue",
|
|
3264
|
+
},
|
|
3265
|
+
)
|
|
3266
|
+
class SlurmCustomSettingProperty:
|
|
3267
|
+
def __init__(
|
|
3268
|
+
self,
|
|
3269
|
+
*,
|
|
3270
|
+
parameter_name: builtins.str,
|
|
3271
|
+
parameter_value: builtins.str,
|
|
3272
|
+
) -> None:
|
|
3273
|
+
'''Additional settings that directly map to Slurm settings.
|
|
3274
|
+
|
|
3275
|
+
:param parameter_name: AWS PCS supports configuration of the Slurm parameters for queues:.
|
|
3276
|
+
:param parameter_value: The value for the configured Slurm setting.
|
|
3277
|
+
|
|
3278
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmcustomsetting.html
|
|
3279
|
+
:exampleMetadata: fixture=_generated
|
|
3280
|
+
|
|
3281
|
+
Example::
|
|
3282
|
+
|
|
3283
|
+
# The code below shows an example of how to instantiate this type.
|
|
3284
|
+
# The values are placeholders you should change.
|
|
3285
|
+
from aws_cdk import aws_pcs as pcs
|
|
3286
|
+
|
|
3287
|
+
slurm_custom_setting_property = pcs.CfnQueue.SlurmCustomSettingProperty(
|
|
3288
|
+
parameter_name="parameterName",
|
|
3289
|
+
parameter_value="parameterValue"
|
|
3290
|
+
)
|
|
3291
|
+
'''
|
|
3292
|
+
if __debug__:
|
|
3293
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4b79818f0e6641251312f7d3e9ef610148d1b07122021df8e1de03465c51222b)
|
|
3294
|
+
check_type(argname="argument parameter_name", value=parameter_name, expected_type=type_hints["parameter_name"])
|
|
3295
|
+
check_type(argname="argument parameter_value", value=parameter_value, expected_type=type_hints["parameter_value"])
|
|
3296
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3297
|
+
"parameter_name": parameter_name,
|
|
3298
|
+
"parameter_value": parameter_value,
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
@builtins.property
|
|
3302
|
+
def parameter_name(self) -> builtins.str:
|
|
3303
|
+
'''AWS PCS supports configuration of the Slurm parameters for queues:.
|
|
3304
|
+
|
|
3305
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmcustomsetting.html#cfn-pcs-queue-slurmcustomsetting-parametername
|
|
3306
|
+
'''
|
|
3307
|
+
result = self._values.get("parameter_name")
|
|
3308
|
+
assert result is not None, "Required property 'parameter_name' is missing"
|
|
3309
|
+
return typing.cast(builtins.str, result)
|
|
3310
|
+
|
|
3311
|
+
@builtins.property
|
|
3312
|
+
def parameter_value(self) -> builtins.str:
|
|
3313
|
+
'''The value for the configured Slurm setting.
|
|
3314
|
+
|
|
3315
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmcustomsetting.html#cfn-pcs-queue-slurmcustomsetting-parametervalue
|
|
3316
|
+
'''
|
|
3317
|
+
result = self._values.get("parameter_value")
|
|
3318
|
+
assert result is not None, "Required property 'parameter_value' is missing"
|
|
3319
|
+
return typing.cast(builtins.str, result)
|
|
3320
|
+
|
|
3321
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3322
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3323
|
+
|
|
3324
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3325
|
+
return not (rhs == self)
|
|
3326
|
+
|
|
3327
|
+
def __repr__(self) -> str:
|
|
3328
|
+
return "SlurmCustomSettingProperty(%s)" % ", ".join(
|
|
3329
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3330
|
+
)
|
|
3331
|
+
|
|
3164
3332
|
|
|
3165
3333
|
__all__ = [
|
|
3166
3334
|
"CfnCluster",
|
|
@@ -3214,6 +3382,7 @@ def _typecheckingstub__4211e23057aa9883cd55dc7f797abf7f4ad0554424bd2d7d7cfce1230
|
|
|
3214
3382
|
cluster_id: builtins.str,
|
|
3215
3383
|
compute_node_group_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQueue.ComputeNodeGroupConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3216
3384
|
name: typing.Optional[builtins.str] = None,
|
|
3385
|
+
slurm_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQueue.SlurmConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3217
3386
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3218
3387
|
) -> None:
|
|
3219
3388
|
"""Type checking stubs"""
|
|
@@ -3536,6 +3705,7 @@ def _typecheckingstub__456edeb02414f262683a35f15a1fae223f92feec590d98024478f680e
|
|
|
3536
3705
|
cluster_id: builtins.str,
|
|
3537
3706
|
compute_node_group_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQueue.ComputeNodeGroupConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3538
3707
|
name: typing.Optional[builtins.str] = None,
|
|
3708
|
+
slurm_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQueue.SlurmConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3539
3709
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3540
3710
|
) -> None:
|
|
3541
3711
|
"""Type checking stubs"""
|
|
@@ -3571,6 +3741,12 @@ def _typecheckingstub__7e4f1e9c61fd11b4d3ed4834db791c7064b5408b742dfa6c4a00a2428
|
|
|
3571
3741
|
"""Type checking stubs"""
|
|
3572
3742
|
pass
|
|
3573
3743
|
|
|
3744
|
+
def _typecheckingstub__8b7380033da0bbecbc38adb9cf8f52dc687fd71722aa673c38c6fb2beb4cf53c(
|
|
3745
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQueue.SlurmConfigurationProperty]],
|
|
3746
|
+
) -> None:
|
|
3747
|
+
"""Type checking stubs"""
|
|
3748
|
+
pass
|
|
3749
|
+
|
|
3574
3750
|
def _typecheckingstub__31674031b3f2a49a29efb9edfdb5a54431db3db7616989edd3617113cd6b9afd(
|
|
3575
3751
|
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
3576
3752
|
) -> None:
|
|
@@ -3591,3 +3767,21 @@ def _typecheckingstub__5e51eb0cec81203da74b9b3c33259135afec8fef04327498ab79338af
|
|
|
3591
3767
|
) -> None:
|
|
3592
3768
|
"""Type checking stubs"""
|
|
3593
3769
|
pass
|
|
3770
|
+
|
|
3771
|
+
def _typecheckingstub__28618a9f4bd71d830d18eda5c9c09bf4d7f232a6179eb690e9a3aa36984af24b(
|
|
3772
|
+
*,
|
|
3773
|
+
slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQueue.SlurmCustomSettingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3774
|
+
) -> None:
|
|
3775
|
+
"""Type checking stubs"""
|
|
3776
|
+
pass
|
|
3777
|
+
|
|
3778
|
+
def _typecheckingstub__4b79818f0e6641251312f7d3e9ef610148d1b07122021df8e1de03465c51222b(
|
|
3779
|
+
*,
|
|
3780
|
+
parameter_name: builtins.str,
|
|
3781
|
+
parameter_value: builtins.str,
|
|
3782
|
+
) -> None:
|
|
3783
|
+
"""Type checking stubs"""
|
|
3784
|
+
pass
|
|
3785
|
+
|
|
3786
|
+
for cls in [IClusterRef, IComputeNodeGroupRef, IQueueRef]:
|
|
3787
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -3185,3 +3185,6 @@ def _typecheckingstub__ced9838e4439e4bc1ac0405cb84c759dc1da0cf5422f515a7b0d86711
|
|
|
3185
3185
|
) -> None:
|
|
3186
3186
|
"""Type checking stubs"""
|
|
3187
3187
|
pass
|
|
3188
|
+
|
|
3189
|
+
for cls in [IDatasetGroupRef, IDatasetRef, ISchemaRef, ISolutionRef]:
|
|
3190
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_pinpoint/__init__.py
CHANGED
|
@@ -8094,27 +8094,6 @@ class CfnCampaign(
|
|
|
8094
8094
|
|
|
8095
8095
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8096
8096
|
|
|
8097
|
-
@jsii.member(jsii_name="fromCampaignArn")
|
|
8098
|
-
@builtins.classmethod
|
|
8099
|
-
def from_campaign_arn(
|
|
8100
|
-
cls,
|
|
8101
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
8102
|
-
id: builtins.str,
|
|
8103
|
-
arn: builtins.str,
|
|
8104
|
-
) -> ICampaignRef:
|
|
8105
|
-
'''Creates a new ICampaignRef from an ARN.
|
|
8106
|
-
|
|
8107
|
-
:param scope: -
|
|
8108
|
-
:param id: -
|
|
8109
|
-
:param arn: -
|
|
8110
|
-
'''
|
|
8111
|
-
if __debug__:
|
|
8112
|
-
type_hints = typing.get_type_hints(_typecheckingstub__ab591ee16a73472ae59021eed25e4aed98dd4fa5ba18769df90d60eb0376628e)
|
|
8113
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8114
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8115
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
8116
|
-
return typing.cast(ICampaignRef, jsii.sinvoke(cls, "fromCampaignArn", [scope, id, arn]))
|
|
8117
|
-
|
|
8118
8097
|
@jsii.member(jsii_name="inspect")
|
|
8119
8098
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
8120
8099
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -12694,6 +12673,48 @@ class CfnInAppTemplate(
|
|
|
12694
12673
|
|
|
12695
12674
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
12696
12675
|
|
|
12676
|
+
@jsii.member(jsii_name="fromInAppTemplateArn")
|
|
12677
|
+
@builtins.classmethod
|
|
12678
|
+
def from_in_app_template_arn(
|
|
12679
|
+
cls,
|
|
12680
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12681
|
+
id: builtins.str,
|
|
12682
|
+
arn: builtins.str,
|
|
12683
|
+
) -> IInAppTemplateRef:
|
|
12684
|
+
'''Creates a new IInAppTemplateRef from an ARN.
|
|
12685
|
+
|
|
12686
|
+
:param scope: -
|
|
12687
|
+
:param id: -
|
|
12688
|
+
:param arn: -
|
|
12689
|
+
'''
|
|
12690
|
+
if __debug__:
|
|
12691
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7898da1bc1151a8ef759559d1854b73041f5d2282451650929579ba04d1f3295)
|
|
12692
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
12693
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12694
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
12695
|
+
return typing.cast(IInAppTemplateRef, jsii.sinvoke(cls, "fromInAppTemplateArn", [scope, id, arn]))
|
|
12696
|
+
|
|
12697
|
+
@jsii.member(jsii_name="fromTemplateName")
|
|
12698
|
+
@builtins.classmethod
|
|
12699
|
+
def from_template_name(
|
|
12700
|
+
cls,
|
|
12701
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12702
|
+
id: builtins.str,
|
|
12703
|
+
template_name: builtins.str,
|
|
12704
|
+
) -> IInAppTemplateRef:
|
|
12705
|
+
'''Creates a new IInAppTemplateRef from a templateName.
|
|
12706
|
+
|
|
12707
|
+
:param scope: -
|
|
12708
|
+
:param id: -
|
|
12709
|
+
:param template_name: -
|
|
12710
|
+
'''
|
|
12711
|
+
if __debug__:
|
|
12712
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7b18c106fd9cdd4eb2f80462ee07f46c1193e5bbc2167e38667b0ad2fdcbaf1)
|
|
12713
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
12714
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12715
|
+
check_type(argname="argument template_name", value=template_name, expected_type=type_hints["template_name"])
|
|
12716
|
+
return typing.cast(IInAppTemplateRef, jsii.sinvoke(cls, "fromTemplateName", [scope, id, template_name]))
|
|
12717
|
+
|
|
12697
12718
|
@jsii.member(jsii_name="inspect")
|
|
12698
12719
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
12699
12720
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -14713,27 +14734,6 @@ class CfnSegment(
|
|
|
14713
14734
|
|
|
14714
14735
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
14715
14736
|
|
|
14716
|
-
@jsii.member(jsii_name="fromSegmentArn")
|
|
14717
|
-
@builtins.classmethod
|
|
14718
|
-
def from_segment_arn(
|
|
14719
|
-
cls,
|
|
14720
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
14721
|
-
id: builtins.str,
|
|
14722
|
-
arn: builtins.str,
|
|
14723
|
-
) -> ISegmentRef:
|
|
14724
|
-
'''Creates a new ISegmentRef from an ARN.
|
|
14725
|
-
|
|
14726
|
-
:param scope: -
|
|
14727
|
-
:param id: -
|
|
14728
|
-
:param arn: -
|
|
14729
|
-
'''
|
|
14730
|
-
if __debug__:
|
|
14731
|
-
type_hints = typing.get_type_hints(_typecheckingstub__bc304a7477cb00665c766619671fb5c20dbf4598b1c401d36d4cda5b8640cf6b)
|
|
14732
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
14733
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
14734
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
14735
|
-
return typing.cast(ISegmentRef, jsii.sinvoke(cls, "fromSegmentArn", [scope, id, arn]))
|
|
14736
|
-
|
|
14737
14737
|
@jsii.member(jsii_name="inspect")
|
|
14738
14738
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
14739
14739
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -17502,14 +17502,6 @@ def _typecheckingstub__37daefd9aecddac1551b6da8a771d74af1f7a13678f1d1fb2d351fab8
|
|
|
17502
17502
|
"""Type checking stubs"""
|
|
17503
17503
|
pass
|
|
17504
17504
|
|
|
17505
|
-
def _typecheckingstub__ab591ee16a73472ae59021eed25e4aed98dd4fa5ba18769df90d60eb0376628e(
|
|
17506
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
17507
|
-
id: builtins.str,
|
|
17508
|
-
arn: builtins.str,
|
|
17509
|
-
) -> None:
|
|
17510
|
-
"""Type checking stubs"""
|
|
17511
|
-
pass
|
|
17512
|
-
|
|
17513
17505
|
def _typecheckingstub__9e15e4e500736a6e94e0b0439baae0e844c072ad04e21f846e6d90b4d664758f(
|
|
17514
17506
|
inspector: _TreeInspector_488e0dd5,
|
|
17515
17507
|
) -> None:
|
|
@@ -18130,6 +18122,22 @@ def _typecheckingstub__e512a1e228b31487f3066dd3e4275e9158997062fd71387d46ccec376
|
|
|
18130
18122
|
"""Type checking stubs"""
|
|
18131
18123
|
pass
|
|
18132
18124
|
|
|
18125
|
+
def _typecheckingstub__7898da1bc1151a8ef759559d1854b73041f5d2282451650929579ba04d1f3295(
|
|
18126
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18127
|
+
id: builtins.str,
|
|
18128
|
+
arn: builtins.str,
|
|
18129
|
+
) -> None:
|
|
18130
|
+
"""Type checking stubs"""
|
|
18131
|
+
pass
|
|
18132
|
+
|
|
18133
|
+
def _typecheckingstub__d7b18c106fd9cdd4eb2f80462ee07f46c1193e5bbc2167e38667b0ad2fdcbaf1(
|
|
18134
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18135
|
+
id: builtins.str,
|
|
18136
|
+
template_name: builtins.str,
|
|
18137
|
+
) -> None:
|
|
18138
|
+
"""Type checking stubs"""
|
|
18139
|
+
pass
|
|
18140
|
+
|
|
18133
18141
|
def _typecheckingstub__cb5b14ad185ba48d75f55570e3ad1a13d78e14254d3beb52e4d282f7011b5af3(
|
|
18134
18142
|
inspector: _TreeInspector_488e0dd5,
|
|
18135
18143
|
) -> None:
|
|
@@ -18419,14 +18427,6 @@ def _typecheckingstub__f709a034a24c1bdbcf2c3ad69a8ec499d4a31c52228cfccf041a018ef
|
|
|
18419
18427
|
"""Type checking stubs"""
|
|
18420
18428
|
pass
|
|
18421
18429
|
|
|
18422
|
-
def _typecheckingstub__bc304a7477cb00665c766619671fb5c20dbf4598b1c401d36d4cda5b8640cf6b(
|
|
18423
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
18424
|
-
id: builtins.str,
|
|
18425
|
-
arn: builtins.str,
|
|
18426
|
-
) -> None:
|
|
18427
|
-
"""Type checking stubs"""
|
|
18428
|
-
pass
|
|
18429
|
-
|
|
18430
18430
|
def _typecheckingstub__ab85436978fff9eb6b667bf369ce182d580e19493d318100b008eac7b205fad6(
|
|
18431
18431
|
inspector: _TreeInspector_488e0dd5,
|
|
18432
18432
|
) -> None:
|
|
@@ -18662,3 +18662,6 @@ def _typecheckingstub__55f9072e4ea10db6545a901f75a87f0db23d51ed4c12907c8203b488b
|
|
|
18662
18662
|
) -> None:
|
|
18663
18663
|
"""Type checking stubs"""
|
|
18664
18664
|
pass
|
|
18665
|
+
|
|
18666
|
+
for cls in [IADMChannelRef, IAPNSChannelRef, IAPNSSandboxChannelRef, IAPNSVoipChannelRef, IAPNSVoipSandboxChannelRef, IAppRef, IApplicationSettingsRef, IBaiduChannelRef, ICampaignRef, IEmailChannelRef, IEmailTemplateRef, IEventStreamRef, IGCMChannelRef, IInAppTemplateRef, IPushTemplateRef, ISMSChannelRef, ISegmentRef, ISmsTemplateRef, IVoiceChannelRef]:
|
|
18667
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -2954,3 +2954,6 @@ def _typecheckingstub__bc9de2604bb5c3007061506d2abc0741740e03dc2f774a74f08a1b051
|
|
|
2954
2954
|
) -> None:
|
|
2955
2955
|
"""Type checking stubs"""
|
|
2956
2956
|
pass
|
|
2957
|
+
|
|
2958
|
+
for cls in [IConfigurationSetEventDestinationRef, IConfigurationSetRef, IDedicatedIpPoolRef, IIdentityRef]:
|
|
2959
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_pipes/__init__.py
CHANGED
|
@@ -8394,3 +8394,6 @@ def _typecheckingstub__6f2cbc8cdc4847f4898a4137ea8b22908f1ad5c472f632396cf65a72a
|
|
|
8394
8394
|
) -> None:
|
|
8395
8395
|
"""Type checking stubs"""
|
|
8396
8396
|
pass
|
|
8397
|
+
|
|
8398
|
+
for cls in [IPipeRef]:
|
|
8399
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_proton/__init__.py
CHANGED
|
@@ -1736,3 +1736,6 @@ def _typecheckingstub__00e30d2907243dab58015f5d20dd35d6a72df42367b8c6db016733a72
|
|
|
1736
1736
|
) -> None:
|
|
1737
1737
|
"""Type checking stubs"""
|
|
1738
1738
|
pass
|
|
1739
|
+
|
|
1740
|
+
for cls in [IEnvironmentAccountConnectionRef, IEnvironmentTemplateRef, IServiceTemplateRef]:
|
|
1741
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|