aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.1__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 +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +143 -130
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +15766 -3438
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +47 -33
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +99 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +914 -612
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +192 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +155 -143
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +187 -143
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +98 -98
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +490 -34
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +49 -40
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +127 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2414 -282
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +176 -105
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +289 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
|
@@ -1353,7 +1353,7 @@ class CfnActivity(
|
|
|
1353
1353
|
):
|
|
1354
1354
|
'''An activity is a task that you write in any programming language and host on any machine that has access to AWS Step Functions .
|
|
1355
1355
|
|
|
1356
|
-
Activities must poll Step Functions using the ``GetActivityTask`` API action and respond using ``SendTask*`` API actions. This function
|
|
1356
|
+
Activities must poll Step Functions using the ``GetActivityTask`` API action and respond using ``SendTask*`` API actions. This function makes Step Functions aware of your activity and returns an identifier for use in a state machine and when polling from the activity.
|
|
1357
1357
|
|
|
1358
1358
|
For information about creating an activity, see `Creating an Activity State Machine <https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-creating-activity-state-machine.html>`_ in the *AWS Step Functions Developer Guide* and `CreateActivity <https://docs.aws.amazon.com/step-functions/latest/apireference/API_CreateActivity.html>`_ in the *AWS Step Functions API Reference* .
|
|
1359
1359
|
|
|
@@ -1371,6 +1371,13 @@ class CfnActivity(
|
|
|
1371
1371
|
name="name",
|
|
1372
1372
|
|
|
1373
1373
|
# the properties below are optional
|
|
1374
|
+
encryption_configuration=stepfunctions.CfnActivity.EncryptionConfigurationProperty(
|
|
1375
|
+
type="type",
|
|
1376
|
+
|
|
1377
|
+
# the properties below are optional
|
|
1378
|
+
kms_data_key_reuse_period_seconds=123,
|
|
1379
|
+
kms_key_id="kmsKeyId"
|
|
1380
|
+
),
|
|
1374
1381
|
tags=[stepfunctions.CfnActivity.TagsEntryProperty(
|
|
1375
1382
|
key="key",
|
|
1376
1383
|
value="value"
|
|
@@ -1384,19 +1391,23 @@ class CfnActivity(
|
|
|
1384
1391
|
id: builtins.str,
|
|
1385
1392
|
*,
|
|
1386
1393
|
name: builtins.str,
|
|
1394
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnActivity.EncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1387
1395
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnActivity.TagsEntryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1388
1396
|
) -> None:
|
|
1389
1397
|
'''
|
|
1390
1398
|
:param scope: Scope in which this resource is defined.
|
|
1391
1399
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1392
1400
|
:param name: The name of the activity. A name must *not* contain: - white space - brackets ``< > { } [ ]`` - wildcard characters ``? *`` - special characters ``" # % \\ ^ | ~ `` $ & , ; : /` - control characters ( ``U+0000-001F`` , ``U+007F-009F`` ) To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
|
|
1401
|
+
:param encryption_configuration: Encryption configuration for the activity. Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a *new Activity* . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ``ActivityAlreadyExists`` exception. To update your activity to include customer managed keys, set a new activity name within your AWS CloudFormation template.
|
|
1393
1402
|
:param tags: The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
|
|
1394
1403
|
'''
|
|
1395
1404
|
if __debug__:
|
|
1396
1405
|
type_hints = typing.get_type_hints(_typecheckingstub__e9cac9ccbc74858ea58acc13770fdeee7b204562b53992182f500d45a5f816a2)
|
|
1397
1406
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1398
1407
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1399
|
-
props = CfnActivityProps(
|
|
1408
|
+
props = CfnActivityProps(
|
|
1409
|
+
name=name, encryption_configuration=encryption_configuration, tags=tags
|
|
1410
|
+
)
|
|
1400
1411
|
|
|
1401
1412
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1402
1413
|
|
|
@@ -1478,7 +1489,25 @@ class CfnActivity(
|
|
|
1478
1489
|
if __debug__:
|
|
1479
1490
|
type_hints = typing.get_type_hints(_typecheckingstub__8395bdf4e76b8a41673d28377cd1001ff25935aca9798745ebef40fe06572120)
|
|
1480
1491
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1481
|
-
jsii.set(self, "name", value)
|
|
1492
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1493
|
+
|
|
1494
|
+
@builtins.property
|
|
1495
|
+
@jsii.member(jsii_name="encryptionConfiguration")
|
|
1496
|
+
def encryption_configuration(
|
|
1497
|
+
self,
|
|
1498
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnActivity.EncryptionConfigurationProperty"]]:
|
|
1499
|
+
'''Encryption configuration for the activity.'''
|
|
1500
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnActivity.EncryptionConfigurationProperty"]], jsii.get(self, "encryptionConfiguration"))
|
|
1501
|
+
|
|
1502
|
+
@encryption_configuration.setter
|
|
1503
|
+
def encryption_configuration(
|
|
1504
|
+
self,
|
|
1505
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnActivity.EncryptionConfigurationProperty"]],
|
|
1506
|
+
) -> None:
|
|
1507
|
+
if __debug__:
|
|
1508
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50ec6c3cd7c2d1844e46c4fd7f9d3d9befacc4e6129f6a8dea961ef8c315ae54)
|
|
1509
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1510
|
+
jsii.set(self, "encryptionConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1482
1511
|
|
|
1483
1512
|
@builtins.property
|
|
1484
1513
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -1494,7 +1523,105 @@ class CfnActivity(
|
|
|
1494
1523
|
if __debug__:
|
|
1495
1524
|
type_hints = typing.get_type_hints(_typecheckingstub__c963f19dfa2bfb12cf0d22b5bf287aec4f47a000b16928a2dd660ae295dcde65)
|
|
1496
1525
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1497
|
-
jsii.set(self, "tagsRaw", value)
|
|
1526
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
1527
|
+
|
|
1528
|
+
@jsii.data_type(
|
|
1529
|
+
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnActivity.EncryptionConfigurationProperty",
|
|
1530
|
+
jsii_struct_bases=[],
|
|
1531
|
+
name_mapping={
|
|
1532
|
+
"type": "type",
|
|
1533
|
+
"kms_data_key_reuse_period_seconds": "kmsDataKeyReusePeriodSeconds",
|
|
1534
|
+
"kms_key_id": "kmsKeyId",
|
|
1535
|
+
},
|
|
1536
|
+
)
|
|
1537
|
+
class EncryptionConfigurationProperty:
|
|
1538
|
+
def __init__(
|
|
1539
|
+
self,
|
|
1540
|
+
*,
|
|
1541
|
+
type: builtins.str,
|
|
1542
|
+
kms_data_key_reuse_period_seconds: typing.Optional[jsii.Number] = None,
|
|
1543
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1544
|
+
) -> None:
|
|
1545
|
+
'''Settings to configure server-side encryption for an activity.
|
|
1546
|
+
|
|
1547
|
+
By default, Step Functions provides transparent server-side encryption. With this configuration, you can specify a customer managed AWS KMS key for encryption.
|
|
1548
|
+
|
|
1549
|
+
:param type: Encryption option for an activity.
|
|
1550
|
+
:param kms_data_key_reuse_period_seconds: Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call ``GenerateDataKey`` . Only applies to customer managed keys.
|
|
1551
|
+
:param kms_key_id: An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
|
|
1552
|
+
|
|
1553
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-encryptionconfiguration.html
|
|
1554
|
+
:exampleMetadata: fixture=_generated
|
|
1555
|
+
|
|
1556
|
+
Example::
|
|
1557
|
+
|
|
1558
|
+
# The code below shows an example of how to instantiate this type.
|
|
1559
|
+
# The values are placeholders you should change.
|
|
1560
|
+
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
1561
|
+
|
|
1562
|
+
encryption_configuration_property = stepfunctions.CfnActivity.EncryptionConfigurationProperty(
|
|
1563
|
+
type="type",
|
|
1564
|
+
|
|
1565
|
+
# the properties below are optional
|
|
1566
|
+
kms_data_key_reuse_period_seconds=123,
|
|
1567
|
+
kms_key_id="kmsKeyId"
|
|
1568
|
+
)
|
|
1569
|
+
'''
|
|
1570
|
+
if __debug__:
|
|
1571
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1bda2f6d4f585c845fc70b11b2647945e78d856e759a1aaa657c54cd1fbbda1a)
|
|
1572
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1573
|
+
check_type(argname="argument kms_data_key_reuse_period_seconds", value=kms_data_key_reuse_period_seconds, expected_type=type_hints["kms_data_key_reuse_period_seconds"])
|
|
1574
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
1575
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1576
|
+
"type": type,
|
|
1577
|
+
}
|
|
1578
|
+
if kms_data_key_reuse_period_seconds is not None:
|
|
1579
|
+
self._values["kms_data_key_reuse_period_seconds"] = kms_data_key_reuse_period_seconds
|
|
1580
|
+
if kms_key_id is not None:
|
|
1581
|
+
self._values["kms_key_id"] = kms_key_id
|
|
1582
|
+
|
|
1583
|
+
@builtins.property
|
|
1584
|
+
def type(self) -> builtins.str:
|
|
1585
|
+
'''Encryption option for an activity.
|
|
1586
|
+
|
|
1587
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-encryptionconfiguration.html#cfn-stepfunctions-activity-encryptionconfiguration-type
|
|
1588
|
+
'''
|
|
1589
|
+
result = self._values.get("type")
|
|
1590
|
+
assert result is not None, "Required property 'type' is missing"
|
|
1591
|
+
return typing.cast(builtins.str, result)
|
|
1592
|
+
|
|
1593
|
+
@builtins.property
|
|
1594
|
+
def kms_data_key_reuse_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1595
|
+
'''Maximum duration that Step Functions will reuse data keys.
|
|
1596
|
+
|
|
1597
|
+
When the period expires, Step Functions will call ``GenerateDataKey`` . Only applies to customer managed keys.
|
|
1598
|
+
|
|
1599
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-encryptionconfiguration.html#cfn-stepfunctions-activity-encryptionconfiguration-kmsdatakeyreuseperiodseconds
|
|
1600
|
+
'''
|
|
1601
|
+
result = self._values.get("kms_data_key_reuse_period_seconds")
|
|
1602
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1603
|
+
|
|
1604
|
+
@builtins.property
|
|
1605
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
1606
|
+
'''An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data.
|
|
1607
|
+
|
|
1608
|
+
To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
|
|
1609
|
+
|
|
1610
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-encryptionconfiguration.html#cfn-stepfunctions-activity-encryptionconfiguration-kmskeyid
|
|
1611
|
+
'''
|
|
1612
|
+
result = self._values.get("kms_key_id")
|
|
1613
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1614
|
+
|
|
1615
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1616
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1617
|
+
|
|
1618
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1619
|
+
return not (rhs == self)
|
|
1620
|
+
|
|
1621
|
+
def __repr__(self) -> str:
|
|
1622
|
+
return "EncryptionConfigurationProperty(%s)" % ", ".join(
|
|
1623
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1624
|
+
)
|
|
1498
1625
|
|
|
1499
1626
|
@jsii.data_type(
|
|
1500
1627
|
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnActivity.TagsEntryProperty",
|
|
@@ -1566,18 +1693,24 @@ class CfnActivity(
|
|
|
1566
1693
|
@jsii.data_type(
|
|
1567
1694
|
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnActivityProps",
|
|
1568
1695
|
jsii_struct_bases=[],
|
|
1569
|
-
name_mapping={
|
|
1696
|
+
name_mapping={
|
|
1697
|
+
"name": "name",
|
|
1698
|
+
"encryption_configuration": "encryptionConfiguration",
|
|
1699
|
+
"tags": "tags",
|
|
1700
|
+
},
|
|
1570
1701
|
)
|
|
1571
1702
|
class CfnActivityProps:
|
|
1572
1703
|
def __init__(
|
|
1573
1704
|
self,
|
|
1574
1705
|
*,
|
|
1575
1706
|
name: builtins.str,
|
|
1707
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnActivity.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1576
1708
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnActivity.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1577
1709
|
) -> None:
|
|
1578
1710
|
'''Properties for defining a ``CfnActivity``.
|
|
1579
1711
|
|
|
1580
1712
|
:param name: The name of the activity. A name must *not* contain: - white space - brackets ``< > { } [ ]`` - wildcard characters ``? *`` - special characters ``" # % \\ ^ | ~ `` $ & , ; : /` - control characters ( ``U+0000-001F`` , ``U+007F-009F`` ) To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
|
|
1713
|
+
:param encryption_configuration: Encryption configuration for the activity. Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a *new Activity* . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ``ActivityAlreadyExists`` exception. To update your activity to include customer managed keys, set a new activity name within your AWS CloudFormation template.
|
|
1581
1714
|
:param tags: The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
|
|
1582
1715
|
|
|
1583
1716
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html
|
|
@@ -1593,6 +1726,13 @@ class CfnActivityProps:
|
|
|
1593
1726
|
name="name",
|
|
1594
1727
|
|
|
1595
1728
|
# the properties below are optional
|
|
1729
|
+
encryption_configuration=stepfunctions.CfnActivity.EncryptionConfigurationProperty(
|
|
1730
|
+
type="type",
|
|
1731
|
+
|
|
1732
|
+
# the properties below are optional
|
|
1733
|
+
kms_data_key_reuse_period_seconds=123,
|
|
1734
|
+
kms_key_id="kmsKeyId"
|
|
1735
|
+
),
|
|
1596
1736
|
tags=[stepfunctions.CfnActivity.TagsEntryProperty(
|
|
1597
1737
|
key="key",
|
|
1598
1738
|
value="value"
|
|
@@ -1602,10 +1742,13 @@ class CfnActivityProps:
|
|
|
1602
1742
|
if __debug__:
|
|
1603
1743
|
type_hints = typing.get_type_hints(_typecheckingstub__84792b5435bbf43a453a6bf0f4d6e6d61a7c86759e3f95b4d4af4d4e56f641c4)
|
|
1604
1744
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1745
|
+
check_type(argname="argument encryption_configuration", value=encryption_configuration, expected_type=type_hints["encryption_configuration"])
|
|
1605
1746
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1606
1747
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1607
1748
|
"name": name,
|
|
1608
1749
|
}
|
|
1750
|
+
if encryption_configuration is not None:
|
|
1751
|
+
self._values["encryption_configuration"] = encryption_configuration
|
|
1609
1752
|
if tags is not None:
|
|
1610
1753
|
self._values["tags"] = tags
|
|
1611
1754
|
|
|
@@ -1629,6 +1772,21 @@ class CfnActivityProps:
|
|
|
1629
1772
|
assert result is not None, "Required property 'name' is missing"
|
|
1630
1773
|
return typing.cast(builtins.str, result)
|
|
1631
1774
|
|
|
1775
|
+
@builtins.property
|
|
1776
|
+
def encryption_configuration(
|
|
1777
|
+
self,
|
|
1778
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnActivity.EncryptionConfigurationProperty]]:
|
|
1779
|
+
'''Encryption configuration for the activity.
|
|
1780
|
+
|
|
1781
|
+
Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a *new Activity* . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ``ActivityAlreadyExists`` exception.
|
|
1782
|
+
|
|
1783
|
+
To update your activity to include customer managed keys, set a new activity name within your AWS CloudFormation template.
|
|
1784
|
+
|
|
1785
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-encryptionconfiguration
|
|
1786
|
+
'''
|
|
1787
|
+
result = self._values.get("encryption_configuration")
|
|
1788
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnActivity.EncryptionConfigurationProperty]], result)
|
|
1789
|
+
|
|
1632
1790
|
@builtins.property
|
|
1633
1791
|
def tags(self) -> typing.Optional[typing.List[CfnActivity.TagsEntryProperty]]:
|
|
1634
1792
|
'''The list of tags to add to a resource.
|
|
@@ -1691,6 +1849,13 @@ class CfnStateMachine(
|
|
|
1691
1849
|
definition_substitutions={
|
|
1692
1850
|
"definition_substitutions_key": "definitionSubstitutions"
|
|
1693
1851
|
},
|
|
1852
|
+
encryption_configuration=stepfunctions.CfnStateMachine.EncryptionConfigurationProperty(
|
|
1853
|
+
type="type",
|
|
1854
|
+
|
|
1855
|
+
# the properties below are optional
|
|
1856
|
+
kms_data_key_reuse_period_seconds=123,
|
|
1857
|
+
kms_key_id="kmsKeyId"
|
|
1858
|
+
),
|
|
1694
1859
|
logging_configuration=stepfunctions.CfnStateMachine.LoggingConfigurationProperty(
|
|
1695
1860
|
destinations=[stepfunctions.CfnStateMachine.LogDestinationProperty(
|
|
1696
1861
|
cloud_watch_logs_log_group=stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty(
|
|
@@ -1722,6 +1887,7 @@ class CfnStateMachine(
|
|
|
1722
1887
|
definition_s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStateMachine.S3LocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1723
1888
|
definition_string: typing.Optional[builtins.str] = None,
|
|
1724
1889
|
definition_substitutions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
1890
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStateMachine.EncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1725
1891
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStateMachine.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1726
1892
|
state_machine_name: typing.Optional[builtins.str] = None,
|
|
1727
1893
|
state_machine_type: typing.Optional[builtins.str] = None,
|
|
@@ -1736,6 +1902,7 @@ class CfnStateMachine(
|
|
|
1736
1902
|
:param definition_s3_location: The name of the S3 bucket where the state machine definition is stored. The state machine definition must be a JSON or YAML file.
|
|
1737
1903
|
:param definition_string: The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See `Amazon States Language <https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html>`_ .
|
|
1738
1904
|
:param definition_substitutions: A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Substitutions must follow the syntax: ``${key_name}`` or ``${variable_1,variable_2,...}`` .
|
|
1905
|
+
:param encryption_configuration: Encryption configuration for the state machine.
|
|
1739
1906
|
:param logging_configuration: Defines what execution history events are logged and where they are logged. .. epigraph:: By default, the ``level`` is set to ``OFF`` . For more information see `Log Levels <https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html>`_ in the AWS Step Functions User Guide.
|
|
1740
1907
|
:param state_machine_name: The name of the state machine. A name must *not* contain: - white space - brackets ``< > { } [ ]`` - wildcard characters ``? *`` - special characters ``" # % \\ ^ | ~ `` $ & , ; : /` - control characters ( ``U+0000-001F`` , ``U+007F-009F`` ) .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1741
1908
|
:param state_machine_type: Determines whether a ``STANDARD`` or ``EXPRESS`` state machine is created. The default is ``STANDARD`` . You cannot update the ``type`` of a state machine once it has been created. For more information on ``STANDARD`` and ``EXPRESS`` workflows, see `Standard Versus Express Workflows <https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html>`_ in the AWS Step Functions Developer Guide.
|
|
@@ -1752,6 +1919,7 @@ class CfnStateMachine(
|
|
|
1752
1919
|
definition_s3_location=definition_s3_location,
|
|
1753
1920
|
definition_string=definition_string,
|
|
1754
1921
|
definition_substitutions=definition_substitutions,
|
|
1922
|
+
encryption_configuration=encryption_configuration,
|
|
1755
1923
|
logging_configuration=logging_configuration,
|
|
1756
1924
|
state_machine_name=state_machine_name,
|
|
1757
1925
|
state_machine_type=state_machine_type,
|
|
@@ -1852,7 +2020,7 @@ class CfnStateMachine(
|
|
|
1852
2020
|
if __debug__:
|
|
1853
2021
|
type_hints = typing.get_type_hints(_typecheckingstub__3004fba1e9c0225151457c38edd4c7effc7d187628b86416f39849b982f49a1b)
|
|
1854
2022
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1855
|
-
jsii.set(self, "roleArn", value)
|
|
2023
|
+
jsii.set(self, "roleArn", value) # pyright: ignore[reportArgumentType]
|
|
1856
2024
|
|
|
1857
2025
|
@builtins.property
|
|
1858
2026
|
@jsii.member(jsii_name="definition")
|
|
@@ -1865,7 +2033,7 @@ class CfnStateMachine(
|
|
|
1865
2033
|
if __debug__:
|
|
1866
2034
|
type_hints = typing.get_type_hints(_typecheckingstub__f82f2a7642ea2ac7bdf170a2733a41594fd40eb07f7e540d495f22c6fa06b147)
|
|
1867
2035
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1868
|
-
jsii.set(self, "definition", value)
|
|
2036
|
+
jsii.set(self, "definition", value) # pyright: ignore[reportArgumentType]
|
|
1869
2037
|
|
|
1870
2038
|
@builtins.property
|
|
1871
2039
|
@jsii.member(jsii_name="definitionS3Location")
|
|
@@ -1883,7 +2051,7 @@ class CfnStateMachine(
|
|
|
1883
2051
|
if __debug__:
|
|
1884
2052
|
type_hints = typing.get_type_hints(_typecheckingstub__2c6f22451e8abd968219b59f11a227c9451d5cd7cb1ff91b3bd91c4ab25bd6da)
|
|
1885
2053
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1886
|
-
jsii.set(self, "definitionS3Location", value)
|
|
2054
|
+
jsii.set(self, "definitionS3Location", value) # pyright: ignore[reportArgumentType]
|
|
1887
2055
|
|
|
1888
2056
|
@builtins.property
|
|
1889
2057
|
@jsii.member(jsii_name="definitionString")
|
|
@@ -1896,7 +2064,7 @@ class CfnStateMachine(
|
|
|
1896
2064
|
if __debug__:
|
|
1897
2065
|
type_hints = typing.get_type_hints(_typecheckingstub__c930aec966c75b589ce56dba8aee211d61eeb6c41d99c5c84ab2df4b703b35d3)
|
|
1898
2066
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1899
|
-
jsii.set(self, "definitionString", value)
|
|
2067
|
+
jsii.set(self, "definitionString", value) # pyright: ignore[reportArgumentType]
|
|
1900
2068
|
|
|
1901
2069
|
@builtins.property
|
|
1902
2070
|
@jsii.member(jsii_name="definitionSubstitutions")
|
|
@@ -1914,7 +2082,25 @@ class CfnStateMachine(
|
|
|
1914
2082
|
if __debug__:
|
|
1915
2083
|
type_hints = typing.get_type_hints(_typecheckingstub__e05fa36d2c9116cb2c90b1560cd6e7bc08699fa552a7e75ce5775a927ad53415)
|
|
1916
2084
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1917
|
-
jsii.set(self, "definitionSubstitutions", value)
|
|
2085
|
+
jsii.set(self, "definitionSubstitutions", value) # pyright: ignore[reportArgumentType]
|
|
2086
|
+
|
|
2087
|
+
@builtins.property
|
|
2088
|
+
@jsii.member(jsii_name="encryptionConfiguration")
|
|
2089
|
+
def encryption_configuration(
|
|
2090
|
+
self,
|
|
2091
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStateMachine.EncryptionConfigurationProperty"]]:
|
|
2092
|
+
'''Encryption configuration for the state machine.'''
|
|
2093
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStateMachine.EncryptionConfigurationProperty"]], jsii.get(self, "encryptionConfiguration"))
|
|
2094
|
+
|
|
2095
|
+
@encryption_configuration.setter
|
|
2096
|
+
def encryption_configuration(
|
|
2097
|
+
self,
|
|
2098
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStateMachine.EncryptionConfigurationProperty"]],
|
|
2099
|
+
) -> None:
|
|
2100
|
+
if __debug__:
|
|
2101
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce904333e518564adf04f2eb84a1f9cc5b437dde18f6aed04e958a4a0dac58a5)
|
|
2102
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2103
|
+
jsii.set(self, "encryptionConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1918
2104
|
|
|
1919
2105
|
@builtins.property
|
|
1920
2106
|
@jsii.member(jsii_name="loggingConfiguration")
|
|
@@ -1932,7 +2118,7 @@ class CfnStateMachine(
|
|
|
1932
2118
|
if __debug__:
|
|
1933
2119
|
type_hints = typing.get_type_hints(_typecheckingstub__79f4c64119545b342b25a9aba40a7ac8de878e2ca38859e38a10004112309301)
|
|
1934
2120
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1935
|
-
jsii.set(self, "loggingConfiguration", value)
|
|
2121
|
+
jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1936
2122
|
|
|
1937
2123
|
@builtins.property
|
|
1938
2124
|
@jsii.member(jsii_name="stateMachineName")
|
|
@@ -1945,7 +2131,7 @@ class CfnStateMachine(
|
|
|
1945
2131
|
if __debug__:
|
|
1946
2132
|
type_hints = typing.get_type_hints(_typecheckingstub__f1c0751a8a3952639ad0b17cb78032a0bad0e3a1e983836e5c861a8129c0c542)
|
|
1947
2133
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1948
|
-
jsii.set(self, "stateMachineName", value)
|
|
2134
|
+
jsii.set(self, "stateMachineName", value) # pyright: ignore[reportArgumentType]
|
|
1949
2135
|
|
|
1950
2136
|
@builtins.property
|
|
1951
2137
|
@jsii.member(jsii_name="stateMachineType")
|
|
@@ -1958,7 +2144,7 @@ class CfnStateMachine(
|
|
|
1958
2144
|
if __debug__:
|
|
1959
2145
|
type_hints = typing.get_type_hints(_typecheckingstub__0aef9754ddbe205b0e3cda858acb6182a9a911881b2f81e68f20b454cc9d738e)
|
|
1960
2146
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1961
|
-
jsii.set(self, "stateMachineType", value)
|
|
2147
|
+
jsii.set(self, "stateMachineType", value) # pyright: ignore[reportArgumentType]
|
|
1962
2148
|
|
|
1963
2149
|
@builtins.property
|
|
1964
2150
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -1976,7 +2162,7 @@ class CfnStateMachine(
|
|
|
1976
2162
|
if __debug__:
|
|
1977
2163
|
type_hints = typing.get_type_hints(_typecheckingstub__142d2d5d8871bd122c48cc77fb02230c828841e8672a11480c58d07a743ec8d0)
|
|
1978
2164
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1979
|
-
jsii.set(self, "tagsRaw", value)
|
|
2165
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
1980
2166
|
|
|
1981
2167
|
@builtins.property
|
|
1982
2168
|
@jsii.member(jsii_name="tracingConfiguration")
|
|
@@ -1994,7 +2180,7 @@ class CfnStateMachine(
|
|
|
1994
2180
|
if __debug__:
|
|
1995
2181
|
type_hints = typing.get_type_hints(_typecheckingstub__7975c26bdc928c8d9fd66a2493df6fc6818b885815e25f63844e956d275c1d01)
|
|
1996
2182
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1997
|
-
jsii.set(self, "tracingConfiguration", value)
|
|
2183
|
+
jsii.set(self, "tracingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1998
2184
|
|
|
1999
2185
|
@jsii.data_type(
|
|
2000
2186
|
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty",
|
|
@@ -2057,6 +2243,104 @@ class CfnStateMachine(
|
|
|
2057
2243
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2058
2244
|
)
|
|
2059
2245
|
|
|
2246
|
+
@jsii.data_type(
|
|
2247
|
+
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnStateMachine.EncryptionConfigurationProperty",
|
|
2248
|
+
jsii_struct_bases=[],
|
|
2249
|
+
name_mapping={
|
|
2250
|
+
"type": "type",
|
|
2251
|
+
"kms_data_key_reuse_period_seconds": "kmsDataKeyReusePeriodSeconds",
|
|
2252
|
+
"kms_key_id": "kmsKeyId",
|
|
2253
|
+
},
|
|
2254
|
+
)
|
|
2255
|
+
class EncryptionConfigurationProperty:
|
|
2256
|
+
def __init__(
|
|
2257
|
+
self,
|
|
2258
|
+
*,
|
|
2259
|
+
type: builtins.str,
|
|
2260
|
+
kms_data_key_reuse_period_seconds: typing.Optional[jsii.Number] = None,
|
|
2261
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
2262
|
+
) -> None:
|
|
2263
|
+
'''Settings to configure server-side encryption for a state machine.
|
|
2264
|
+
|
|
2265
|
+
By default, Step Functions provides transparent server-side encryption. With this configuration, you can specify a customer managed AWS KMS key for encryption.
|
|
2266
|
+
|
|
2267
|
+
:param type: Encryption option for a state machine.
|
|
2268
|
+
:param kms_data_key_reuse_period_seconds: Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call ``GenerateDataKey`` . Only applies to customer managed keys.
|
|
2269
|
+
:param kms_key_id: An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
|
|
2270
|
+
|
|
2271
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-encryptionconfiguration.html
|
|
2272
|
+
:exampleMetadata: fixture=_generated
|
|
2273
|
+
|
|
2274
|
+
Example::
|
|
2275
|
+
|
|
2276
|
+
# The code below shows an example of how to instantiate this type.
|
|
2277
|
+
# The values are placeholders you should change.
|
|
2278
|
+
from aws_cdk import aws_stepfunctions as stepfunctions
|
|
2279
|
+
|
|
2280
|
+
encryption_configuration_property = stepfunctions.CfnStateMachine.EncryptionConfigurationProperty(
|
|
2281
|
+
type="type",
|
|
2282
|
+
|
|
2283
|
+
# the properties below are optional
|
|
2284
|
+
kms_data_key_reuse_period_seconds=123,
|
|
2285
|
+
kms_key_id="kmsKeyId"
|
|
2286
|
+
)
|
|
2287
|
+
'''
|
|
2288
|
+
if __debug__:
|
|
2289
|
+
type_hints = typing.get_type_hints(_typecheckingstub__341c0cd8235a25a0d302ecdb1bbf778638f5c811795090071279001e4e9d1a93)
|
|
2290
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2291
|
+
check_type(argname="argument kms_data_key_reuse_period_seconds", value=kms_data_key_reuse_period_seconds, expected_type=type_hints["kms_data_key_reuse_period_seconds"])
|
|
2292
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
2293
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2294
|
+
"type": type,
|
|
2295
|
+
}
|
|
2296
|
+
if kms_data_key_reuse_period_seconds is not None:
|
|
2297
|
+
self._values["kms_data_key_reuse_period_seconds"] = kms_data_key_reuse_period_seconds
|
|
2298
|
+
if kms_key_id is not None:
|
|
2299
|
+
self._values["kms_key_id"] = kms_key_id
|
|
2300
|
+
|
|
2301
|
+
@builtins.property
|
|
2302
|
+
def type(self) -> builtins.str:
|
|
2303
|
+
'''Encryption option for a state machine.
|
|
2304
|
+
|
|
2305
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-encryptionconfiguration.html#cfn-stepfunctions-statemachine-encryptionconfiguration-type
|
|
2306
|
+
'''
|
|
2307
|
+
result = self._values.get("type")
|
|
2308
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2309
|
+
return typing.cast(builtins.str, result)
|
|
2310
|
+
|
|
2311
|
+
@builtins.property
|
|
2312
|
+
def kms_data_key_reuse_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
2313
|
+
'''Maximum duration that Step Functions will reuse data keys.
|
|
2314
|
+
|
|
2315
|
+
When the period expires, Step Functions will call ``GenerateDataKey`` . Only applies to customer managed keys.
|
|
2316
|
+
|
|
2317
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-encryptionconfiguration.html#cfn-stepfunctions-statemachine-encryptionconfiguration-kmsdatakeyreuseperiodseconds
|
|
2318
|
+
'''
|
|
2319
|
+
result = self._values.get("kms_data_key_reuse_period_seconds")
|
|
2320
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2321
|
+
|
|
2322
|
+
@builtins.property
|
|
2323
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
2324
|
+
'''An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data.
|
|
2325
|
+
|
|
2326
|
+
To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
|
|
2327
|
+
|
|
2328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-encryptionconfiguration.html#cfn-stepfunctions-statemachine-encryptionconfiguration-kmskeyid
|
|
2329
|
+
'''
|
|
2330
|
+
result = self._values.get("kms_key_id")
|
|
2331
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2332
|
+
|
|
2333
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2334
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2335
|
+
|
|
2336
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2337
|
+
return not (rhs == self)
|
|
2338
|
+
|
|
2339
|
+
def __repr__(self) -> str:
|
|
2340
|
+
return "EncryptionConfigurationProperty(%s)" % ", ".join(
|
|
2341
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2342
|
+
)
|
|
2343
|
+
|
|
2060
2344
|
@jsii.data_type(
|
|
2061
2345
|
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnStateMachine.LogDestinationProperty",
|
|
2062
2346
|
jsii_struct_bases=[],
|
|
@@ -2576,7 +2860,7 @@ class CfnStateMachineAlias(
|
|
|
2576
2860
|
if __debug__:
|
|
2577
2861
|
type_hints = typing.get_type_hints(_typecheckingstub__291c291374c3a7bdc720916a40ec17c8994233f17b521e36f88493f1dfea6abe)
|
|
2578
2862
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2579
|
-
jsii.set(self, "deploymentPreference", value)
|
|
2863
|
+
jsii.set(self, "deploymentPreference", value) # pyright: ignore[reportArgumentType]
|
|
2580
2864
|
|
|
2581
2865
|
@builtins.property
|
|
2582
2866
|
@jsii.member(jsii_name="description")
|
|
@@ -2589,7 +2873,7 @@ class CfnStateMachineAlias(
|
|
|
2589
2873
|
if __debug__:
|
|
2590
2874
|
type_hints = typing.get_type_hints(_typecheckingstub__c1c4a9670d54e1fd8d9f71a40d8fe51ff4c20b8266100071f23c2fcd11c913f4)
|
|
2591
2875
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2592
|
-
jsii.set(self, "description", value)
|
|
2876
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
2593
2877
|
|
|
2594
2878
|
@builtins.property
|
|
2595
2879
|
@jsii.member(jsii_name="name")
|
|
@@ -2602,7 +2886,7 @@ class CfnStateMachineAlias(
|
|
|
2602
2886
|
if __debug__:
|
|
2603
2887
|
type_hints = typing.get_type_hints(_typecheckingstub__af65681afd264c6830e6a2a7499c40b1a1c1cd59a8a9d0c2b4f69d4df6f9f358)
|
|
2604
2888
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2605
|
-
jsii.set(self, "name", value)
|
|
2889
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
2606
2890
|
|
|
2607
2891
|
@builtins.property
|
|
2608
2892
|
@jsii.member(jsii_name="routingConfiguration")
|
|
@@ -2620,7 +2904,7 @@ class CfnStateMachineAlias(
|
|
|
2620
2904
|
if __debug__:
|
|
2621
2905
|
type_hints = typing.get_type_hints(_typecheckingstub__91c36ec8b9a1fe59c6e03fb3ba3b15d8849aa3ea74c639879915303e21486168)
|
|
2622
2906
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2623
|
-
jsii.set(self, "routingConfiguration", value)
|
|
2907
|
+
jsii.set(self, "routingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
2624
2908
|
|
|
2625
2909
|
@jsii.data_type(
|
|
2626
2910
|
jsii_type="aws-cdk-lib.aws_stepfunctions.CfnStateMachineAlias.DeploymentPreferenceProperty",
|
|
@@ -3000,6 +3284,7 @@ class CfnStateMachineAliasProps:
|
|
|
3000
3284
|
"definition_s3_location": "definitionS3Location",
|
|
3001
3285
|
"definition_string": "definitionString",
|
|
3002
3286
|
"definition_substitutions": "definitionSubstitutions",
|
|
3287
|
+
"encryption_configuration": "encryptionConfiguration",
|
|
3003
3288
|
"logging_configuration": "loggingConfiguration",
|
|
3004
3289
|
"state_machine_name": "stateMachineName",
|
|
3005
3290
|
"state_machine_type": "stateMachineType",
|
|
@@ -3016,6 +3301,7 @@ class CfnStateMachineProps:
|
|
|
3016
3301
|
definition_s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3017
3302
|
definition_string: typing.Optional[builtins.str] = None,
|
|
3018
3303
|
definition_substitutions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
3304
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3019
3305
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3020
3306
|
state_machine_name: typing.Optional[builtins.str] = None,
|
|
3021
3307
|
state_machine_type: typing.Optional[builtins.str] = None,
|
|
@@ -3029,6 +3315,7 @@ class CfnStateMachineProps:
|
|
|
3029
3315
|
:param definition_s3_location: The name of the S3 bucket where the state machine definition is stored. The state machine definition must be a JSON or YAML file.
|
|
3030
3316
|
:param definition_string: The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See `Amazon States Language <https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html>`_ .
|
|
3031
3317
|
:param definition_substitutions: A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Substitutions must follow the syntax: ``${key_name}`` or ``${variable_1,variable_2,...}`` .
|
|
3318
|
+
:param encryption_configuration: Encryption configuration for the state machine.
|
|
3032
3319
|
:param logging_configuration: Defines what execution history events are logged and where they are logged. .. epigraph:: By default, the ``level`` is set to ``OFF`` . For more information see `Log Levels <https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html>`_ in the AWS Step Functions User Guide.
|
|
3033
3320
|
:param state_machine_name: The name of the state machine. A name must *not* contain: - white space - brackets ``< > { } [ ]`` - wildcard characters ``? *`` - special characters ``" # % \\ ^ | ~ `` $ & , ; : /` - control characters ( ``U+0000-001F`` , ``U+007F-009F`` ) .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
3034
3321
|
:param state_machine_type: Determines whether a ``STANDARD`` or ``EXPRESS`` state machine is created. The default is ``STANDARD`` . You cannot update the ``type`` of a state machine once it has been created. For more information on ``STANDARD`` and ``EXPRESS`` workflows, see `Standard Versus Express Workflows <https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html>`_ in the AWS Step Functions Developer Guide.
|
|
@@ -3062,6 +3349,13 @@ class CfnStateMachineProps:
|
|
|
3062
3349
|
definition_substitutions={
|
|
3063
3350
|
"definition_substitutions_key": "definitionSubstitutions"
|
|
3064
3351
|
},
|
|
3352
|
+
encryption_configuration=stepfunctions.CfnStateMachine.EncryptionConfigurationProperty(
|
|
3353
|
+
type="type",
|
|
3354
|
+
|
|
3355
|
+
# the properties below are optional
|
|
3356
|
+
kms_data_key_reuse_period_seconds=123,
|
|
3357
|
+
kms_key_id="kmsKeyId"
|
|
3358
|
+
),
|
|
3065
3359
|
logging_configuration=stepfunctions.CfnStateMachine.LoggingConfigurationProperty(
|
|
3066
3360
|
destinations=[stepfunctions.CfnStateMachine.LogDestinationProperty(
|
|
3067
3361
|
cloud_watch_logs_log_group=stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty(
|
|
@@ -3089,6 +3383,7 @@ class CfnStateMachineProps:
|
|
|
3089
3383
|
check_type(argname="argument definition_s3_location", value=definition_s3_location, expected_type=type_hints["definition_s3_location"])
|
|
3090
3384
|
check_type(argname="argument definition_string", value=definition_string, expected_type=type_hints["definition_string"])
|
|
3091
3385
|
check_type(argname="argument definition_substitutions", value=definition_substitutions, expected_type=type_hints["definition_substitutions"])
|
|
3386
|
+
check_type(argname="argument encryption_configuration", value=encryption_configuration, expected_type=type_hints["encryption_configuration"])
|
|
3092
3387
|
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
3093
3388
|
check_type(argname="argument state_machine_name", value=state_machine_name, expected_type=type_hints["state_machine_name"])
|
|
3094
3389
|
check_type(argname="argument state_machine_type", value=state_machine_type, expected_type=type_hints["state_machine_type"])
|
|
@@ -3105,6 +3400,8 @@ class CfnStateMachineProps:
|
|
|
3105
3400
|
self._values["definition_string"] = definition_string
|
|
3106
3401
|
if definition_substitutions is not None:
|
|
3107
3402
|
self._values["definition_substitutions"] = definition_substitutions
|
|
3403
|
+
if encryption_configuration is not None:
|
|
3404
|
+
self._values["encryption_configuration"] = encryption_configuration
|
|
3108
3405
|
if logging_configuration is not None:
|
|
3109
3406
|
self._values["logging_configuration"] = logging_configuration
|
|
3110
3407
|
if state_machine_name is not None:
|
|
@@ -3176,6 +3473,17 @@ class CfnStateMachineProps:
|
|
|
3176
3473
|
result = self._values.get("definition_substitutions")
|
|
3177
3474
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
3178
3475
|
|
|
3476
|
+
@builtins.property
|
|
3477
|
+
def encryption_configuration(
|
|
3478
|
+
self,
|
|
3479
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStateMachine.EncryptionConfigurationProperty]]:
|
|
3480
|
+
'''Encryption configuration for the state machine.
|
|
3481
|
+
|
|
3482
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-encryptionconfiguration
|
|
3483
|
+
'''
|
|
3484
|
+
result = self._values.get("encryption_configuration")
|
|
3485
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStateMachine.EncryptionConfigurationProperty]], result)
|
|
3486
|
+
|
|
3179
3487
|
@builtins.property
|
|
3180
3488
|
def logging_configuration(
|
|
3181
3489
|
self,
|
|
@@ -3375,7 +3683,7 @@ class CfnStateMachineVersion(
|
|
|
3375
3683
|
if __debug__:
|
|
3376
3684
|
type_hints = typing.get_type_hints(_typecheckingstub__8b5bffae2ab6951189d8934aa88a458856f9a4d6623a0832d0295941754bf70d)
|
|
3377
3685
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3378
|
-
jsii.set(self, "stateMachineArn", value)
|
|
3686
|
+
jsii.set(self, "stateMachineArn", value) # pyright: ignore[reportArgumentType]
|
|
3379
3687
|
|
|
3380
3688
|
@builtins.property
|
|
3381
3689
|
@jsii.member(jsii_name="description")
|
|
@@ -3388,7 +3696,7 @@ class CfnStateMachineVersion(
|
|
|
3388
3696
|
if __debug__:
|
|
3389
3697
|
type_hints = typing.get_type_hints(_typecheckingstub__f8425cdd1ce7e33098a65ff2357b57674f96a520fc7d3cc63794e265253928cf)
|
|
3390
3698
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3391
|
-
jsii.set(self, "description", value)
|
|
3699
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
3392
3700
|
|
|
3393
3701
|
@builtins.property
|
|
3394
3702
|
@jsii.member(jsii_name="stateMachineRevisionId")
|
|
@@ -3401,7 +3709,7 @@ class CfnStateMachineVersion(
|
|
|
3401
3709
|
if __debug__:
|
|
3402
3710
|
type_hints = typing.get_type_hints(_typecheckingstub__2a80351896d09cb747491b59d0460387f46b6f51704f091b54c4fecf9f3f4bac)
|
|
3403
3711
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3404
|
-
jsii.set(self, "stateMachineRevisionId", value)
|
|
3712
|
+
jsii.set(self, "stateMachineRevisionId", value) # pyright: ignore[reportArgumentType]
|
|
3405
3713
|
|
|
3406
3714
|
|
|
3407
3715
|
@jsii.data_type(
|
|
@@ -9851,7 +10159,7 @@ class State(
|
|
|
9851
10159
|
if __debug__:
|
|
9852
10160
|
type_hints = typing.get_type_hints(_typecheckingstub__daa9d14a638bb5fe2be1b697c5d2a93e5cb602c30d93b1a5ca1eece88b36b1df)
|
|
9853
10161
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9854
|
-
jsii.set(self, "defaultChoice", value)
|
|
10162
|
+
jsii.set(self, "defaultChoice", value) # pyright: ignore[reportArgumentType]
|
|
9855
10163
|
|
|
9856
10164
|
@builtins.property
|
|
9857
10165
|
@jsii.member(jsii_name="iteration")
|
|
@@ -9863,7 +10171,7 @@ class State(
|
|
|
9863
10171
|
if __debug__:
|
|
9864
10172
|
type_hints = typing.get_type_hints(_typecheckingstub__fe26ac05d39997cba9f0b774e8732e0d7e33aa2715be53c5d2b6746630255f5f)
|
|
9865
10173
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9866
|
-
jsii.set(self, "iteration", value)
|
|
10174
|
+
jsii.set(self, "iteration", value) # pyright: ignore[reportArgumentType]
|
|
9867
10175
|
|
|
9868
10176
|
@builtins.property
|
|
9869
10177
|
@jsii.member(jsii_name="processor")
|
|
@@ -9875,7 +10183,7 @@ class State(
|
|
|
9875
10183
|
if __debug__:
|
|
9876
10184
|
type_hints = typing.get_type_hints(_typecheckingstub__18c6226d92e32b97a3bd2c7822b52c85358b3bd9174c0fcf373dcb3292508540)
|
|
9877
10185
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9878
|
-
jsii.set(self, "processor", value)
|
|
10186
|
+
jsii.set(self, "processor", value) # pyright: ignore[reportArgumentType]
|
|
9879
10187
|
|
|
9880
10188
|
@builtins.property
|
|
9881
10189
|
@jsii.member(jsii_name="processorConfig")
|
|
@@ -9887,7 +10195,7 @@ class State(
|
|
|
9887
10195
|
if __debug__:
|
|
9888
10196
|
type_hints = typing.get_type_hints(_typecheckingstub__2064eb72a766ce7c2f9e0be9e43dd6ea46736ba5dd83721de5468681035dcb9f)
|
|
9889
10197
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9890
|
-
jsii.set(self, "processorConfig", value)
|
|
10198
|
+
jsii.set(self, "processorConfig", value) # pyright: ignore[reportArgumentType]
|
|
9891
10199
|
|
|
9892
10200
|
@builtins.property
|
|
9893
10201
|
@jsii.member(jsii_name="processorMode")
|
|
@@ -9899,7 +10207,7 @@ class State(
|
|
|
9899
10207
|
if __debug__:
|
|
9900
10208
|
type_hints = typing.get_type_hints(_typecheckingstub__2607af153540f000865a3d1354fc0086931cc826a2328eb0ae249231c9c35ef2)
|
|
9901
10209
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9902
|
-
jsii.set(self, "processorMode", value)
|
|
10210
|
+
jsii.set(self, "processorMode", value) # pyright: ignore[reportArgumentType]
|
|
9903
10211
|
|
|
9904
10212
|
|
|
9905
10213
|
class _StateProxy(State):
|
|
@@ -10054,7 +10362,7 @@ class StateGraph(
|
|
|
10054
10362
|
if __debug__:
|
|
10055
10363
|
type_hints = typing.get_type_hints(_typecheckingstub__0d70fd99dfd053938f6857187678eff1538a49411584203816fe1ee6e2e95a57)
|
|
10056
10364
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10057
|
-
jsii.set(self, "timeout", value)
|
|
10365
|
+
jsii.set(self, "timeout", value) # pyright: ignore[reportArgumentType]
|
|
10058
10366
|
|
|
10059
10367
|
|
|
10060
10368
|
@jsii.implements(IStateMachine)
|
|
@@ -15717,6 +16025,7 @@ def _typecheckingstub__e9cac9ccbc74858ea58acc13770fdeee7b204562b53992182f500d45a
|
|
|
15717
16025
|
id: builtins.str,
|
|
15718
16026
|
*,
|
|
15719
16027
|
name: builtins.str,
|
|
16028
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnActivity.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15720
16029
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnActivity.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15721
16030
|
) -> None:
|
|
15722
16031
|
"""Type checking stubs"""
|
|
@@ -15740,12 +16049,27 @@ def _typecheckingstub__8395bdf4e76b8a41673d28377cd1001ff25935aca9798745ebef40fe0
|
|
|
15740
16049
|
"""Type checking stubs"""
|
|
15741
16050
|
pass
|
|
15742
16051
|
|
|
16052
|
+
def _typecheckingstub__50ec6c3cd7c2d1844e46c4fd7f9d3d9befacc4e6129f6a8dea961ef8c315ae54(
|
|
16053
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnActivity.EncryptionConfigurationProperty]],
|
|
16054
|
+
) -> None:
|
|
16055
|
+
"""Type checking stubs"""
|
|
16056
|
+
pass
|
|
16057
|
+
|
|
15743
16058
|
def _typecheckingstub__c963f19dfa2bfb12cf0d22b5bf287aec4f47a000b16928a2dd660ae295dcde65(
|
|
15744
16059
|
value: typing.Optional[typing.List[CfnActivity.TagsEntryProperty]],
|
|
15745
16060
|
) -> None:
|
|
15746
16061
|
"""Type checking stubs"""
|
|
15747
16062
|
pass
|
|
15748
16063
|
|
|
16064
|
+
def _typecheckingstub__1bda2f6d4f585c845fc70b11b2647945e78d856e759a1aaa657c54cd1fbbda1a(
|
|
16065
|
+
*,
|
|
16066
|
+
type: builtins.str,
|
|
16067
|
+
kms_data_key_reuse_period_seconds: typing.Optional[jsii.Number] = None,
|
|
16068
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
16069
|
+
) -> None:
|
|
16070
|
+
"""Type checking stubs"""
|
|
16071
|
+
pass
|
|
16072
|
+
|
|
15749
16073
|
def _typecheckingstub__5e620d5be50cdb836aed85b2b5bbc76573db0139cccc1fa49f54e926f1e4cbc7(
|
|
15750
16074
|
*,
|
|
15751
16075
|
key: builtins.str,
|
|
@@ -15757,6 +16081,7 @@ def _typecheckingstub__5e620d5be50cdb836aed85b2b5bbc76573db0139cccc1fa49f54e926f
|
|
|
15757
16081
|
def _typecheckingstub__84792b5435bbf43a453a6bf0f4d6e6d61a7c86759e3f95b4d4af4d4e56f641c4(
|
|
15758
16082
|
*,
|
|
15759
16083
|
name: builtins.str,
|
|
16084
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnActivity.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15760
16085
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnActivity.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15761
16086
|
) -> None:
|
|
15762
16087
|
"""Type checking stubs"""
|
|
@@ -15771,6 +16096,7 @@ def _typecheckingstub__8b19fff9309f98c9776cf416019a5217333b4d6f0f81e27e2256a87f9
|
|
|
15771
16096
|
definition_s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15772
16097
|
definition_string: typing.Optional[builtins.str] = None,
|
|
15773
16098
|
definition_substitutions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
16099
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15774
16100
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15775
16101
|
state_machine_name: typing.Optional[builtins.str] = None,
|
|
15776
16102
|
state_machine_type: typing.Optional[builtins.str] = None,
|
|
@@ -15822,6 +16148,12 @@ def _typecheckingstub__e05fa36d2c9116cb2c90b1560cd6e7bc08699fa552a7e75ce5775a927
|
|
|
15822
16148
|
"""Type checking stubs"""
|
|
15823
16149
|
pass
|
|
15824
16150
|
|
|
16151
|
+
def _typecheckingstub__ce904333e518564adf04f2eb84a1f9cc5b437dde18f6aed04e958a4a0dac58a5(
|
|
16152
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStateMachine.EncryptionConfigurationProperty]],
|
|
16153
|
+
) -> None:
|
|
16154
|
+
"""Type checking stubs"""
|
|
16155
|
+
pass
|
|
16156
|
+
|
|
15825
16157
|
def _typecheckingstub__79f4c64119545b342b25a9aba40a7ac8de878e2ca38859e38a10004112309301(
|
|
15826
16158
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStateMachine.LoggingConfigurationProperty]],
|
|
15827
16159
|
) -> None:
|
|
@@ -15859,6 +16191,15 @@ def _typecheckingstub__fd590e91d2c1399d369226ca3fcbd6666d564980b08611a4b5f952ef3
|
|
|
15859
16191
|
"""Type checking stubs"""
|
|
15860
16192
|
pass
|
|
15861
16193
|
|
|
16194
|
+
def _typecheckingstub__341c0cd8235a25a0d302ecdb1bbf778638f5c811795090071279001e4e9d1a93(
|
|
16195
|
+
*,
|
|
16196
|
+
type: builtins.str,
|
|
16197
|
+
kms_data_key_reuse_period_seconds: typing.Optional[jsii.Number] = None,
|
|
16198
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
16199
|
+
) -> None:
|
|
16200
|
+
"""Type checking stubs"""
|
|
16201
|
+
pass
|
|
16202
|
+
|
|
15862
16203
|
def _typecheckingstub__0a5d8a3abcdb82fe13dbd692519b118f763c5de9bf0de6025642f4d45a207ab1(
|
|
15863
16204
|
*,
|
|
15864
16205
|
cloud_watch_logs_log_group: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.CloudWatchLogsLogGroupProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15983,6 +16324,7 @@ def _typecheckingstub__bf4d4e83bd396b6667f5c30b66226d7e76f61626aea9c4ec1355f6e6a
|
|
|
15983
16324
|
definition_s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15984
16325
|
definition_string: typing.Optional[builtins.str] = None,
|
|
15985
16326
|
definition_substitutions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
16327
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15986
16328
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStateMachine.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15987
16329
|
state_machine_name: typing.Optional[builtins.str] = None,
|
|
15988
16330
|
state_machine_type: typing.Optional[builtins.str] = None,
|