aws-cdk-lib 2.149.0__py3-none-any.whl → 2.151.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 +6 -16
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.149.0.jsii.tgz → aws-cdk-lib@2.151.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +94 -21
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_bedrock/__init__.py +58 -46
- aws_cdk/aws_cleanrooms/__init__.py +5 -5
- aws_cdk/aws_cloudformation/__init__.py +4 -8
- aws_cdk/aws_cloudfront/__init__.py +102 -32
- aws_cdk/aws_cloudtrail/__init__.py +34 -558
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +11 -5
- aws_cdk/aws_cognito/__init__.py +1 -2
- aws_cdk/aws_ec2/__init__.py +263 -7
- aws_cdk/aws_ecs/__init__.py +16 -10
- aws_cdk/aws_eks/__init__.py +26 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +106 -11
- aws_cdk/aws_emr/__init__.py +18 -20
- aws_cdk/aws_entityresolution/__init__.py +27 -21
- aws_cdk/aws_events/__init__.py +83 -16
- aws_cdk/aws_fsx/__init__.py +25 -23
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_guardduty/__init__.py +6 -4
- aws_cdk/aws_iam/__init__.py +19 -29
- aws_cdk/aws_iotsitewise/__init__.py +8 -8
- aws_cdk/aws_lambda/__init__.py +21 -2
- aws_cdk/aws_logs/__init__.py +9 -0
- aws_cdk/aws_mwaa/__init__.py +3 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_qbusiness/__init__.py +21 -7
- aws_cdk/aws_rds/__init__.py +252 -206
- aws_cdk/aws_s3/__init__.py +8 -2
- aws_cdk/aws_sagemaker/__init__.py +10 -10
- aws_cdk/aws_ses/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +5 -2
- aws_cdk/aws_stepfunctions/__init__.py +5 -2
- aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -8
- aws_cdk/aws_synthetics/__init__.py +174 -22
- aws_cdk/custom_resources/__init__.py +91 -23
- aws_cdk/pipelines/__init__.py +1 -1
- aws_cdk/region_info/__init__.py +32 -12
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/RECORD +48 -48
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -4014,7 +4014,7 @@ class CfnBucket(
|
|
|
4014
4014
|
:param public_access_block_configuration: Configuration that defines how Amazon S3 handles public access.
|
|
4015
4015
|
:param replication_configuration: Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the ``VersioningConfiguration`` property. Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist.
|
|
4016
4016
|
:param tags: An arbitrary set of tags (key-value pairs) for this S3 bucket.
|
|
4017
|
-
:param versioning_configuration: Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.
|
|
4017
|
+
:param versioning_configuration: Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them. .. epigraph:: When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations ( ``PUT`` or ``DELETE`` ) on objects in the bucket.
|
|
4018
4018
|
:param website_configuration: Information used to configure the bucket as a static website. For more information, see `Hosting Websites on Amazon S3 <https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html>`_ .
|
|
4019
4019
|
'''
|
|
4020
4020
|
if __debug__:
|
|
@@ -10049,6 +10049,9 @@ class CfnBucket(
|
|
|
10049
10049
|
'''Describes the versioning state of an Amazon S3 bucket.
|
|
10050
10050
|
|
|
10051
10051
|
For more information, see `PUT Bucket versioning <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html>`_ in the *Amazon S3 API Reference* .
|
|
10052
|
+
.. epigraph::
|
|
10053
|
+
|
|
10054
|
+
When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations ( ``PUT`` or ``DELETE`` ) on objects in the bucket.
|
|
10052
10055
|
|
|
10053
10056
|
:param status: The versioning state of the bucket. Default: - "Suspended"
|
|
10054
10057
|
|
|
@@ -10494,7 +10497,7 @@ class CfnBucketProps:
|
|
|
10494
10497
|
:param public_access_block_configuration: Configuration that defines how Amazon S3 handles public access.
|
|
10495
10498
|
:param replication_configuration: Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the ``VersioningConfiguration`` property. Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist.
|
|
10496
10499
|
:param tags: An arbitrary set of tags (key-value pairs) for this S3 bucket.
|
|
10497
|
-
:param versioning_configuration: Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.
|
|
10500
|
+
:param versioning_configuration: Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them. .. epigraph:: When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations ( ``PUT`` or ``DELETE`` ) on objects in the bucket.
|
|
10498
10501
|
:param website_configuration: Information used to configure the bucket as a static website. For more information, see `Hosting Websites on Amazon S3 <https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html>`_ .
|
|
10499
10502
|
|
|
10500
10503
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html
|
|
@@ -10817,6 +10820,9 @@ class CfnBucketProps:
|
|
|
10817
10820
|
'''Enables multiple versions of all objects in this bucket.
|
|
10818
10821
|
|
|
10819
10822
|
You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.
|
|
10823
|
+
.. epigraph::
|
|
10824
|
+
|
|
10825
|
+
When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations ( ``PUT`` or ``DELETE`` ) on objects in the bucket.
|
|
10820
10826
|
|
|
10821
10827
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-versioningconfiguration
|
|
10822
10828
|
'''
|
|
@@ -3725,9 +3725,9 @@ class CfnDataQualityJobDefinition(
|
|
|
3725
3725
|
)
|
|
3726
3726
|
class StoppingConditionProperty:
|
|
3727
3727
|
def __init__(self, *, max_runtime_in_seconds: jsii.Number) -> None:
|
|
3728
|
-
'''Specifies a limit to how long a
|
|
3728
|
+
'''Specifies a limit to how long a job can run.
|
|
3729
3729
|
|
|
3730
|
-
|
|
3730
|
+
When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs.
|
|
3731
3731
|
|
|
3732
3732
|
To stop a training job, SageMaker sends the algorithm the ``SIGTERM`` signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
3733
3733
|
|
|
@@ -20279,9 +20279,9 @@ class CfnModelBiasJobDefinition(
|
|
|
20279
20279
|
)
|
|
20280
20280
|
class StoppingConditionProperty:
|
|
20281
20281
|
def __init__(self, *, max_runtime_in_seconds: jsii.Number) -> None:
|
|
20282
|
-
'''Specifies a limit to how long a
|
|
20282
|
+
'''Specifies a limit to how long a job can run.
|
|
20283
20283
|
|
|
20284
|
-
|
|
20284
|
+
When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs.
|
|
20285
20285
|
|
|
20286
20286
|
To stop a training job, SageMaker sends the algorithm the ``SIGTERM`` signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
20287
20287
|
|
|
@@ -26021,9 +26021,9 @@ class CfnModelExplainabilityJobDefinition(
|
|
|
26021
26021
|
)
|
|
26022
26022
|
class StoppingConditionProperty:
|
|
26023
26023
|
def __init__(self, *, max_runtime_in_seconds: jsii.Number) -> None:
|
|
26024
|
-
'''Specifies a limit to how long a
|
|
26024
|
+
'''Specifies a limit to how long a job can run.
|
|
26025
26025
|
|
|
26026
|
-
|
|
26026
|
+
When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs.
|
|
26027
26027
|
|
|
26028
26028
|
To stop a training job, SageMaker sends the algorithm the ``SIGTERM`` signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
26029
26029
|
|
|
@@ -33926,9 +33926,9 @@ class CfnModelQualityJobDefinition(
|
|
|
33926
33926
|
)
|
|
33927
33927
|
class StoppingConditionProperty:
|
|
33928
33928
|
def __init__(self, *, max_runtime_in_seconds: jsii.Number) -> None:
|
|
33929
|
-
'''Specifies a limit to how long a
|
|
33929
|
+
'''Specifies a limit to how long a job can run.
|
|
33930
33930
|
|
|
33931
|
-
|
|
33931
|
+
When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs.
|
|
33932
33932
|
|
|
33933
33933
|
To stop a training job, SageMaker sends the algorithm the ``SIGTERM`` signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
33934
33934
|
|
|
@@ -36982,9 +36982,9 @@ class CfnMonitoringSchedule(
|
|
|
36982
36982
|
)
|
|
36983
36983
|
class StoppingConditionProperty:
|
|
36984
36984
|
def __init__(self, *, max_runtime_in_seconds: jsii.Number) -> None:
|
|
36985
|
-
'''Specifies a limit to how long a
|
|
36985
|
+
'''Specifies a limit to how long a job can run.
|
|
36986
36986
|
|
|
36987
|
-
|
|
36987
|
+
When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs.
|
|
36988
36988
|
|
|
36989
36989
|
To stop a training job, SageMaker sends the algorithm the ``SIGTERM`` signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
36990
36990
|
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -6759,7 +6759,7 @@ class ConfigurationSetProps:
|
|
|
6759
6759
|
:param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
|
|
6760
6760
|
:param custom_tracking_redirect_domain: The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. Default: - use the default awstrack.me domain
|
|
6761
6761
|
:param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
|
|
6762
|
-
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default:
|
|
6762
|
+
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
|
|
6763
6763
|
:param sending_enabled: Whether email sending is enabled. Default: true
|
|
6764
6764
|
:param suppression_reasons: The reasons for which recipient email addresses should be automatically added to your account's suppression list. Default: - use account level settings
|
|
6765
6765
|
:param tls_policy: Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). Default: ConfigurationSetTlsPolicy.OPTIONAL
|
|
@@ -6840,7 +6840,7 @@ class ConfigurationSetProps:
|
|
|
6840
6840
|
def reputation_metrics(self) -> typing.Optional[builtins.bool]:
|
|
6841
6841
|
'''Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
|
|
6842
6842
|
|
|
6843
|
-
:default:
|
|
6843
|
+
:default: true
|
|
6844
6844
|
'''
|
|
6845
6845
|
result = self._values.get("reputation_metrics")
|
|
6846
6846
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -9912,7 +9912,7 @@ class ConfigurationSet(
|
|
|
9912
9912
|
:param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
|
|
9913
9913
|
:param custom_tracking_redirect_domain: The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. Default: - use the default awstrack.me domain
|
|
9914
9914
|
:param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
|
|
9915
|
-
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default:
|
|
9915
|
+
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
|
|
9916
9916
|
:param sending_enabled: Whether email sending is enabled. Default: true
|
|
9917
9917
|
:param suppression_reasons: The reasons for which recipient email addresses should be automatically added to your account's suppression list. Default: - use account level settings
|
|
9918
9918
|
:param tls_policy: Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). Default: ConfigurationSetTlsPolicy.OPTIONAL
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -5248,7 +5248,7 @@ class TopicProps:
|
|
|
5248
5248
|
'''Properties for a new SNS topic.
|
|
5249
5249
|
|
|
5250
5250
|
:param content_based_deduplication: Enables content-based deduplication for FIFO topics. Default: None
|
|
5251
|
-
:param display_name: A developer-defined string that can be used to identify this SNS topic. Default: None
|
|
5251
|
+
:param display_name: A developer-defined string that can be used to identify this SNS topic. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs. Default: None
|
|
5252
5252
|
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic. Default: false
|
|
5253
5253
|
:param fifo: Set to true to create a FIFO topic. Default: None
|
|
5254
5254
|
:param logging_configs: The list of delivery status logging configurations for the topic. Default: None
|
|
@@ -5313,6 +5313,9 @@ class TopicProps:
|
|
|
5313
5313
|
def display_name(self) -> typing.Optional[builtins.str]:
|
|
5314
5314
|
'''A developer-defined string that can be used to identify this SNS topic.
|
|
5315
5315
|
|
|
5316
|
+
The display name must be maximum 100 characters long, including hyphens (-),
|
|
5317
|
+
underscores (_), spaces, and tabs.
|
|
5318
|
+
|
|
5316
5319
|
:default: None
|
|
5317
5320
|
'''
|
|
5318
5321
|
result = self._values.get("display_name")
|
|
@@ -5780,7 +5783,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
5780
5783
|
:param scope: -
|
|
5781
5784
|
:param id: -
|
|
5782
5785
|
:param content_based_deduplication: Enables content-based deduplication for FIFO topics. Default: None
|
|
5783
|
-
:param display_name: A developer-defined string that can be used to identify this SNS topic. Default: None
|
|
5786
|
+
:param display_name: A developer-defined string that can be used to identify this SNS topic. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs. Default: None
|
|
5784
5787
|
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic. Default: false
|
|
5785
5788
|
:param fifo: Set to true to create a FIFO topic. Default: None
|
|
5786
5789
|
:param logging_configs: The list of delivery status logging configurations for the topic. Default: None
|
|
@@ -2649,7 +2649,7 @@ class CfnStateMachineAlias(
|
|
|
2649
2649
|
|
|
2650
2650
|
:param state_machine_version_arn: The Amazon Resource Name (ARN) of the ```AWS::StepFunctions::StateMachineVersion`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html>`_ resource that will be the final version to which the alias points to when the traffic shifting is complete. While performing gradual deployments, you can only provide a single state machine version ARN. To explicitly set version weights in a CloudFormation template, use ``RoutingConfiguration`` instead.
|
|
2651
2651
|
:param type: The type of deployment you want to perform. You can specify one of the following types:. - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
|
|
2652
|
-
:param alarms: A list of Amazon CloudWatch
|
|
2652
|
+
:param alarms: A list of Amazon CloudWatch alarm names to be monitored during the deployment. The deployment fails and rolls back if any of these alarms go into the ``ALARM`` state. .. epigraph:: Amazon CloudWatch considers nonexistent alarms to have an ``OK`` state. If you provide an invalid alarm name or provide the ARN of an alarm instead of its name, your deployment may not roll back correctly.
|
|
2653
2653
|
:param interval: The time in minutes between each traffic shifting increment.
|
|
2654
2654
|
:param percentage: The percentage of traffic to shift to the new version in each increment.
|
|
2655
2655
|
|
|
@@ -2723,9 +2723,12 @@ class CfnStateMachineAlias(
|
|
|
2723
2723
|
|
|
2724
2724
|
@builtins.property
|
|
2725
2725
|
def alarms(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2726
|
-
'''A list of Amazon CloudWatch
|
|
2726
|
+
'''A list of Amazon CloudWatch alarm names to be monitored during the deployment.
|
|
2727
2727
|
|
|
2728
2728
|
The deployment fails and rolls back if any of these alarms go into the ``ALARM`` state.
|
|
2729
|
+
.. epigraph::
|
|
2730
|
+
|
|
2731
|
+
Amazon CloudWatch considers nonexistent alarms to have an ``OK`` state. If you provide an invalid alarm name or provide the ARN of an alarm instead of its name, your deployment may not roll back correctly.
|
|
2729
2732
|
|
|
2730
2733
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-alarms
|
|
2731
2734
|
'''
|
|
@@ -420,6 +420,23 @@ task = tasks.BedrockInvokeModel(self, "Prompt Model",
|
|
|
420
420
|
)
|
|
421
421
|
```
|
|
422
422
|
|
|
423
|
+
### Using Input Path
|
|
424
|
+
|
|
425
|
+
Provide S3 URI as an input or output path to invoke a model
|
|
426
|
+
|
|
427
|
+
```python
|
|
428
|
+
import aws_cdk.aws_bedrock as bedrock
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
model = bedrock.FoundationModel.from_foundation_model_id(self, "Model", bedrock.FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1)
|
|
432
|
+
|
|
433
|
+
task = tasks.BedrockInvokeModel(self, "Prompt Model",
|
|
434
|
+
model=model,
|
|
435
|
+
input_path=sfn.JsonPath.string_at("$.prompt"),
|
|
436
|
+
output_path=sfn.JsonPath.string_at("$.prompt")
|
|
437
|
+
)
|
|
438
|
+
```
|
|
439
|
+
|
|
423
440
|
You can apply a guardrail to the invocation by setting `guardrail`.
|
|
424
441
|
|
|
425
442
|
```python
|
|
@@ -7003,11 +7020,11 @@ class CallAwsServiceCrossRegion(
|
|
|
7003
7020
|
:param action: The API action to call. Use camelCase.
|
|
7004
7021
|
:param iam_resources: The resources for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.
|
|
7005
7022
|
:param region: The AWS region to call this AWS API for.
|
|
7006
|
-
:param service: The AWS service to call in AWS SDK for JavaScript v3
|
|
7023
|
+
:param service: The AWS service to call in AWS SDK for JavaScript v3 format.
|
|
7007
7024
|
:param additional_iam_statements: Additional IAM statements that will be added to the state machine role's policy. Use in the case where the call requires more than a single statement to be executed, e.g. ``rekognition:detectLabels`` requires also S3 permissions to read the object on which it must act. Default: - no additional statements are added
|
|
7008
7025
|
:param endpoint: The AWS API endpoint. Default: Do not override API endpoint.
|
|
7009
7026
|
:param iam_action: The action for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call. By default the action for this IAM statement will be ``service:action``. Use in the case where the IAM action name does not match with the API service/action name, e.g. ``s3:ListBuckets`` requires ``s3:ListAllMyBuckets``. Default: - service:action
|
|
7010
|
-
:param parameters: Parameters for the API action call
|
|
7027
|
+
:param parameters: Parameters for the API action call in AWS SDK for JavaScript v3 format. Default: - no parameters
|
|
7011
7028
|
:param retry_on_service_exceptions: Whether to retry on the backend Lambda service exceptions. This handles ``Lambda.ServiceException``, ``Lambda.AWSLambdaException``, ``Lambda.SdkClientException``, and ``Lambda.ClientExecutionTimeoutException`` with an interval of 2 seconds, a back-off rate of 2 and 6 maximum attempts. Default: true
|
|
7012
7029
|
:param comment: An optional description for this state. Default: - No comment
|
|
7013
7030
|
:param credentials: Credentials for an IAM Role that the State Machine assumes for executing the task. This enables cross-account resource invocations. Default: - None (Task is executed using the State Machine's execution role)
|
|
@@ -7138,11 +7155,11 @@ class CallAwsServiceCrossRegionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
7138
7155
|
:param action: The API action to call. Use camelCase.
|
|
7139
7156
|
:param iam_resources: The resources for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.
|
|
7140
7157
|
:param region: The AWS region to call this AWS API for.
|
|
7141
|
-
:param service: The AWS service to call in AWS SDK for JavaScript v3
|
|
7158
|
+
:param service: The AWS service to call in AWS SDK for JavaScript v3 format.
|
|
7142
7159
|
:param additional_iam_statements: Additional IAM statements that will be added to the state machine role's policy. Use in the case where the call requires more than a single statement to be executed, e.g. ``rekognition:detectLabels`` requires also S3 permissions to read the object on which it must act. Default: - no additional statements are added
|
|
7143
7160
|
:param endpoint: The AWS API endpoint. Default: Do not override API endpoint.
|
|
7144
7161
|
:param iam_action: The action for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call. By default the action for this IAM statement will be ``service:action``. Use in the case where the IAM action name does not match with the API service/action name, e.g. ``s3:ListBuckets`` requires ``s3:ListAllMyBuckets``. Default: - service:action
|
|
7145
|
-
:param parameters: Parameters for the API action call
|
|
7162
|
+
:param parameters: Parameters for the API action call in AWS SDK for JavaScript v3 format. Default: - no parameters
|
|
7146
7163
|
:param retry_on_service_exceptions: Whether to retry on the backend Lambda service exceptions. This handles ``Lambda.ServiceException``, ``Lambda.AWSLambdaException``, ``Lambda.SdkClientException``, and ``Lambda.ClientExecutionTimeoutException`` with an interval of 2 seconds, a back-off rate of 2 and 6 maximum attempts. Default: true
|
|
7147
7164
|
|
|
7148
7165
|
:exampleMetadata: infused
|
|
@@ -7414,7 +7431,7 @@ class CallAwsServiceCrossRegionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
7414
7431
|
|
|
7415
7432
|
@builtins.property
|
|
7416
7433
|
def service(self) -> builtins.str:
|
|
7417
|
-
'''The AWS service to call in AWS SDK for JavaScript v3
|
|
7434
|
+
'''The AWS service to call in AWS SDK for JavaScript v3 format.
|
|
7418
7435
|
|
|
7419
7436
|
:see: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
7420
7437
|
|
|
@@ -7466,9 +7483,7 @@ class CallAwsServiceCrossRegionProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
7466
7483
|
|
|
7467
7484
|
@builtins.property
|
|
7468
7485
|
def parameters(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
7469
|
-
'''Parameters for the API action call.
|
|
7470
|
-
|
|
7471
|
-
Use PascalCase for the parameter names.
|
|
7486
|
+
'''Parameters for the API action call in AWS SDK for JavaScript v3 format.
|
|
7472
7487
|
|
|
7473
7488
|
:default: - no parameters
|
|
7474
7489
|
'''
|