aws-cdk-lib 2.118.0__py3-none-any.whl → 2.119.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 +4 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.118.0.jsii.tgz → aws-cdk-lib@2.119.0.jsii.tgz} +0 -0
- aws_cdk/amzn_sdc/__init__.py +496 -0
- aws_cdk/aws_appsync/__init__.py +23 -9
- aws_cdk/aws_certificatemanager/__init__.py +164 -3
- aws_cdk/aws_cloud9/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +105 -5
- aws_cdk/aws_cloudtrail/__init__.py +54 -34
- aws_cdk/aws_cloudwatch_actions/__init__.py +105 -0
- aws_cdk/aws_codebuild/__init__.py +1 -0
- aws_cdk/aws_codecommit/__init__.py +9 -3
- aws_cdk/aws_codetest/__init__.py +788 -0
- aws_cdk/aws_cognito/__init__.py +104 -0
- aws_cdk/aws_connect/__init__.py +626 -78
- aws_cdk/aws_docdb/__init__.py +442 -0
- aws_cdk/aws_dynamodb/__init__.py +14 -0
- aws_cdk/aws_ec2/__init__.py +372 -44
- aws_cdk/aws_emrserverless/__init__.py +20 -13
- aws_cdk/aws_events/__init__.py +90 -1
- aws_cdk/aws_fis/__init__.py +12 -32
- aws_cdk/aws_globalaccelerator/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +329 -0
- aws_cdk/aws_iam/__init__.py +30 -24
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotsitewise/__init__.py +4 -4
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +111 -0
- aws_cdk/aws_location/__init__.py +1132 -17
- aws_cdk/aws_mediatailor/__init__.py +120 -17
- aws_cdk/aws_networkfirewall/__init__.py +2 -2
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +2 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -6
- aws_cdk/aws_pipes/__init__.py +7 -2
- aws_cdk/aws_rds/__init__.py +15 -9
- aws_cdk/aws_redshift/__init__.py +103 -0
- aws_cdk/aws_route53/__init__.py +68 -20
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_ssm/__init__.py +76 -13
- aws_cdk/aws_stepfunctions/__init__.py +110 -5
- aws_cdk/pipelines/__init__.py +136 -37
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/RECORD +52 -50
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/top_level.txt +0 -0
|
@@ -667,11 +667,14 @@ class CfnApplication(
|
|
|
667
667
|
log_stream_name_prefix: typing.Optional[builtins.str] = None,
|
|
668
668
|
log_type_map: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.LogTypeMapKeyValuePairProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
669
669
|
) -> None:
|
|
670
|
-
'''
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
:param
|
|
670
|
+
'''The Amazon CloudWatch configuration for monitoring logs.
|
|
671
|
+
|
|
672
|
+
You can configure your jobs to send log information to CloudWatch .
|
|
673
|
+
|
|
674
|
+
:param enabled: Enables CloudWatch logging. Default: - false
|
|
675
|
+
:param encryption_key_arn: The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs .
|
|
676
|
+
:param log_group_name: The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
|
|
677
|
+
:param log_stream_name_prefix: Prefix for the CloudWatch log stream name.
|
|
675
678
|
:param log_type_map: The specific log-streams which need to be uploaded to CloudWatch.
|
|
676
679
|
|
|
677
680
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html
|
|
@@ -717,9 +720,7 @@ class CfnApplication(
|
|
|
717
720
|
def enabled(
|
|
718
721
|
self,
|
|
719
722
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
720
|
-
'''
|
|
721
|
-
|
|
722
|
-
Defaults to false.
|
|
723
|
+
'''Enables CloudWatch logging.
|
|
723
724
|
|
|
724
725
|
:default: - false
|
|
725
726
|
|
|
@@ -730,7 +731,8 @@ class CfnApplication(
|
|
|
730
731
|
|
|
731
732
|
@builtins.property
|
|
732
733
|
def encryption_key_arn(self) -> typing.Optional[builtins.str]:
|
|
733
|
-
'''
|
|
734
|
+
'''The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs .
|
|
735
|
+
|
|
734
736
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-encryptionkeyarn
|
|
735
737
|
'''
|
|
736
738
|
result = self._values.get("encryption_key_arn")
|
|
@@ -738,7 +740,8 @@ class CfnApplication(
|
|
|
738
740
|
|
|
739
741
|
@builtins.property
|
|
740
742
|
def log_group_name(self) -> typing.Optional[builtins.str]:
|
|
741
|
-
'''
|
|
743
|
+
'''The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
|
|
744
|
+
|
|
742
745
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-loggroupname
|
|
743
746
|
'''
|
|
744
747
|
result = self._values.get("log_group_name")
|
|
@@ -746,7 +749,8 @@ class CfnApplication(
|
|
|
746
749
|
|
|
747
750
|
@builtins.property
|
|
748
751
|
def log_stream_name_prefix(self) -> typing.Optional[builtins.str]:
|
|
749
|
-
'''
|
|
752
|
+
'''Prefix for the CloudWatch log stream name.
|
|
753
|
+
|
|
750
754
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-cloudwatchloggingconfiguration.html#cfn-emrserverless-application-cloudwatchloggingconfiguration-logstreamnameprefix
|
|
751
755
|
'''
|
|
752
756
|
result = self._values.get("log_stream_name_prefix")
|
|
@@ -1340,7 +1344,7 @@ class CfnApplication(
|
|
|
1340
1344
|
) -> None:
|
|
1341
1345
|
'''The configuration setting for monitoring.
|
|
1342
1346
|
|
|
1343
|
-
:param cloud_watch_logging_configuration:
|
|
1347
|
+
:param cloud_watch_logging_configuration: The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch .
|
|
1344
1348
|
:param managed_persistence_monitoring_configuration: The managed log persistence configuration for a job run.
|
|
1345
1349
|
:param s3_monitoring_configuration: The Amazon S3 configuration for monitoring log publishing.
|
|
1346
1350
|
|
|
@@ -1391,7 +1395,10 @@ class CfnApplication(
|
|
|
1391
1395
|
def cloud_watch_logging_configuration(
|
|
1392
1396
|
self,
|
|
1393
1397
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.CloudWatchLoggingConfigurationProperty"]]:
|
|
1394
|
-
'''
|
|
1398
|
+
'''The Amazon CloudWatch configuration for monitoring logs.
|
|
1399
|
+
|
|
1400
|
+
You can configure your jobs to send log information to CloudWatch .
|
|
1401
|
+
|
|
1395
1402
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-monitoringconfiguration.html#cfn-emrserverless-application-monitoringconfiguration-cloudwatchloggingconfiguration
|
|
1396
1403
|
'''
|
|
1397
1404
|
result = self._values.get("cloud_watch_logging_configuration")
|
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -3316,9 +3316,12 @@ class CfnEventBus(
|
|
|
3316
3316
|
metaclass=jsii.JSIIMeta,
|
|
3317
3317
|
jsii_type="aws-cdk-lib.aws_events.CfnEventBus",
|
|
3318
3318
|
):
|
|
3319
|
-
'''
|
|
3319
|
+
'''Specifies an event bus within your account.
|
|
3320
3320
|
|
|
3321
3321
|
This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
|
|
3322
|
+
.. epigraph::
|
|
3323
|
+
|
|
3324
|
+
As an aid to help you jumpstart developing CloudFormation templates, the EventBridge console enables you to create templates from the existing event buses in your account. For more information, see `Generating CloudFormation templates from an EventBridge event bus <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-generate-event-bus-template.html>`_ in the *Amazon EventBridge User Guide* .
|
|
3322
3325
|
|
|
3323
3326
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html
|
|
3324
3327
|
:cloudformationResource: AWS::Events::EventBus
|
|
@@ -4169,6 +4172,9 @@ class CfnRule(
|
|
|
4169
4172
|
To prevent this, write the rules so that the triggered actions do not re-fire the same rule. For example, your rule could fire only if ACLs are found to be in a bad state, instead of after any change.
|
|
4170
4173
|
|
|
4171
4174
|
An infinite loop can quickly cause higher than expected charges. We recommend that you use budgeting, which alerts you when charges exceed your specified limit. For more information, see `Managing Your Costs with Budgets <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html>`_ .
|
|
4175
|
+
.. epigraph::
|
|
4176
|
+
|
|
4177
|
+
As an aid to help you jumpstart developing CloudFormation templates, the EventBridge console enables you to create templates from the existing rules in your account. For more information, see `Generating CloudFormation templates from an EventBridge rule <https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-generate-template.html>`_ in the *Amazon EventBridge User Guide* .
|
|
4172
4178
|
|
|
4173
4179
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html
|
|
4174
4180
|
:cloudformationResource: AWS::Events::Rule
|
|
@@ -4195,6 +4201,9 @@ class CfnRule(
|
|
|
4195
4201
|
id="id",
|
|
4196
4202
|
|
|
4197
4203
|
# the properties below are optional
|
|
4204
|
+
app_sync_parameters=events.CfnRule.AppSyncParametersProperty(
|
|
4205
|
+
graph_ql_operation="graphQlOperation"
|
|
4206
|
+
),
|
|
4198
4207
|
batch_parameters=events.CfnRule.BatchParametersProperty(
|
|
4199
4208
|
job_definition="jobDefinition",
|
|
4200
4209
|
job_name="jobName",
|
|
@@ -4504,6 +4513,56 @@ class CfnRule(
|
|
|
4504
4513
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4505
4514
|
jsii.set(self, "targets", value)
|
|
4506
4515
|
|
|
4516
|
+
@jsii.data_type(
|
|
4517
|
+
jsii_type="aws-cdk-lib.aws_events.CfnRule.AppSyncParametersProperty",
|
|
4518
|
+
jsii_struct_bases=[],
|
|
4519
|
+
name_mapping={"graph_ql_operation": "graphQlOperation"},
|
|
4520
|
+
)
|
|
4521
|
+
class AppSyncParametersProperty:
|
|
4522
|
+
def __init__(self, *, graph_ql_operation: builtins.str) -> None:
|
|
4523
|
+
'''
|
|
4524
|
+
:param graph_ql_operation:
|
|
4525
|
+
|
|
4526
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-appsyncparameters.html
|
|
4527
|
+
:exampleMetadata: fixture=_generated
|
|
4528
|
+
|
|
4529
|
+
Example::
|
|
4530
|
+
|
|
4531
|
+
# The code below shows an example of how to instantiate this type.
|
|
4532
|
+
# The values are placeholders you should change.
|
|
4533
|
+
from aws_cdk import aws_events as events
|
|
4534
|
+
|
|
4535
|
+
app_sync_parameters_property = events.CfnRule.AppSyncParametersProperty(
|
|
4536
|
+
graph_ql_operation="graphQlOperation"
|
|
4537
|
+
)
|
|
4538
|
+
'''
|
|
4539
|
+
if __debug__:
|
|
4540
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f159ea8ed563d4fc99f66ed5a99d9b913e8ba48a2c6bb55b4d3008f8d8b93c40)
|
|
4541
|
+
check_type(argname="argument graph_ql_operation", value=graph_ql_operation, expected_type=type_hints["graph_ql_operation"])
|
|
4542
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4543
|
+
"graph_ql_operation": graph_ql_operation,
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4546
|
+
@builtins.property
|
|
4547
|
+
def graph_ql_operation(self) -> builtins.str:
|
|
4548
|
+
'''
|
|
4549
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-appsyncparameters.html#cfn-events-rule-appsyncparameters-graphqloperation
|
|
4550
|
+
'''
|
|
4551
|
+
result = self._values.get("graph_ql_operation")
|
|
4552
|
+
assert result is not None, "Required property 'graph_ql_operation' is missing"
|
|
4553
|
+
return typing.cast(builtins.str, result)
|
|
4554
|
+
|
|
4555
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4556
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4557
|
+
|
|
4558
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4559
|
+
return not (rhs == self)
|
|
4560
|
+
|
|
4561
|
+
def __repr__(self) -> str:
|
|
4562
|
+
return "AppSyncParametersProperty(%s)" % ", ".join(
|
|
4563
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4564
|
+
)
|
|
4565
|
+
|
|
4507
4566
|
@jsii.data_type(
|
|
4508
4567
|
jsii_type="aws-cdk-lib.aws_events.CfnRule.AwsVpcConfigurationProperty",
|
|
4509
4568
|
jsii_struct_bases=[],
|
|
@@ -6458,6 +6517,7 @@ class CfnRule(
|
|
|
6458
6517
|
name_mapping={
|
|
6459
6518
|
"arn": "arn",
|
|
6460
6519
|
"id": "id",
|
|
6520
|
+
"app_sync_parameters": "appSyncParameters",
|
|
6461
6521
|
"batch_parameters": "batchParameters",
|
|
6462
6522
|
"dead_letter_config": "deadLetterConfig",
|
|
6463
6523
|
"ecs_parameters": "ecsParameters",
|
|
@@ -6480,6 +6540,7 @@ class CfnRule(
|
|
|
6480
6540
|
*,
|
|
6481
6541
|
arn: builtins.str,
|
|
6482
6542
|
id: builtins.str,
|
|
6543
|
+
app_sync_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.AppSyncParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6483
6544
|
batch_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.BatchParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6484
6545
|
dead_letter_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.DeadLetterConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6485
6546
|
ecs_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.EcsParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6503,6 +6564,7 @@ class CfnRule(
|
|
|
6503
6564
|
|
|
6504
6565
|
:param arn: The Amazon Resource Name (ARN) of the target.
|
|
6505
6566
|
:param id: The ID of the target within the specified rule. Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string.
|
|
6567
|
+
:param app_sync_parameters:
|
|
6506
6568
|
:param batch_parameters: If the event target is an AWS Batch job, this contains the job definition, job name, and other parameters. For more information, see `Jobs <https://docs.aws.amazon.com/batch/latest/userguide/jobs.html>`_ in the *AWS Batch User Guide* .
|
|
6507
6569
|
:param dead_letter_config: The ``DeadLetterConfig`` that defines the target queue to send dead-letter queue events to.
|
|
6508
6570
|
:param ecs_parameters: Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see `Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html>`_ in the *Amazon EC2 Container Service Developer Guide* .
|
|
@@ -6532,6 +6594,9 @@ class CfnRule(
|
|
|
6532
6594
|
id="id",
|
|
6533
6595
|
|
|
6534
6596
|
# the properties below are optional
|
|
6597
|
+
app_sync_parameters=events.CfnRule.AppSyncParametersProperty(
|
|
6598
|
+
graph_ql_operation="graphQlOperation"
|
|
6599
|
+
),
|
|
6535
6600
|
batch_parameters=events.CfnRule.BatchParametersProperty(
|
|
6536
6601
|
job_definition="jobDefinition",
|
|
6537
6602
|
job_name="jobName",
|
|
@@ -6647,6 +6712,7 @@ class CfnRule(
|
|
|
6647
6712
|
type_hints = typing.get_type_hints(_typecheckingstub__0bb173839da3c22730cab96567bb586361722029ca0fab74f2c0ebd9eea2ed31)
|
|
6648
6713
|
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
6649
6714
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6715
|
+
check_type(argname="argument app_sync_parameters", value=app_sync_parameters, expected_type=type_hints["app_sync_parameters"])
|
|
6650
6716
|
check_type(argname="argument batch_parameters", value=batch_parameters, expected_type=type_hints["batch_parameters"])
|
|
6651
6717
|
check_type(argname="argument dead_letter_config", value=dead_letter_config, expected_type=type_hints["dead_letter_config"])
|
|
6652
6718
|
check_type(argname="argument ecs_parameters", value=ecs_parameters, expected_type=type_hints["ecs_parameters"])
|
|
@@ -6665,6 +6731,8 @@ class CfnRule(
|
|
|
6665
6731
|
"arn": arn,
|
|
6666
6732
|
"id": id,
|
|
6667
6733
|
}
|
|
6734
|
+
if app_sync_parameters is not None:
|
|
6735
|
+
self._values["app_sync_parameters"] = app_sync_parameters
|
|
6668
6736
|
if batch_parameters is not None:
|
|
6669
6737
|
self._values["batch_parameters"] = batch_parameters
|
|
6670
6738
|
if dead_letter_config is not None:
|
|
@@ -6716,6 +6784,16 @@ class CfnRule(
|
|
|
6716
6784
|
assert result is not None, "Required property 'id' is missing"
|
|
6717
6785
|
return typing.cast(builtins.str, result)
|
|
6718
6786
|
|
|
6787
|
+
@builtins.property
|
|
6788
|
+
def app_sync_parameters(
|
|
6789
|
+
self,
|
|
6790
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.AppSyncParametersProperty"]]:
|
|
6791
|
+
'''
|
|
6792
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-appsyncparameters
|
|
6793
|
+
'''
|
|
6794
|
+
result = self._values.get("app_sync_parameters")
|
|
6795
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.AppSyncParametersProperty"]], result)
|
|
6796
|
+
|
|
6719
6797
|
@builtins.property
|
|
6720
6798
|
def batch_parameters(
|
|
6721
6799
|
self,
|
|
@@ -6960,6 +7038,9 @@ class CfnRuleProps:
|
|
|
6960
7038
|
id="id",
|
|
6961
7039
|
|
|
6962
7040
|
# the properties below are optional
|
|
7041
|
+
app_sync_parameters=events.CfnRule.AppSyncParametersProperty(
|
|
7042
|
+
graph_ql_operation="graphQlOperation"
|
|
7043
|
+
),
|
|
6963
7044
|
batch_parameters=events.CfnRule.BatchParametersProperty(
|
|
6964
7045
|
job_definition="jobDefinition",
|
|
6965
7046
|
job_name="jobName",
|
|
@@ -11911,6 +11992,13 @@ def _typecheckingstub__0b3ddab1471338782440504c486a52daa0e3a535b2209abca3766744b
|
|
|
11911
11992
|
"""Type checking stubs"""
|
|
11912
11993
|
pass
|
|
11913
11994
|
|
|
11995
|
+
def _typecheckingstub__f159ea8ed563d4fc99f66ed5a99d9b913e8ba48a2c6bb55b4d3008f8d8b93c40(
|
|
11996
|
+
*,
|
|
11997
|
+
graph_ql_operation: builtins.str,
|
|
11998
|
+
) -> None:
|
|
11999
|
+
"""Type checking stubs"""
|
|
12000
|
+
pass
|
|
12001
|
+
|
|
11914
12002
|
def _typecheckingstub__79f8121b45ee88764612186e90f44db0aa3248e12d3f0c2fd29eab967afb9900(
|
|
11915
12003
|
*,
|
|
11916
12004
|
subnets: typing.Sequence[builtins.str],
|
|
@@ -12097,6 +12185,7 @@ def _typecheckingstub__0bb173839da3c22730cab96567bb586361722029ca0fab74f2c0ebd9e
|
|
|
12097
12185
|
*,
|
|
12098
12186
|
arn: builtins.str,
|
|
12099
12187
|
id: builtins.str,
|
|
12188
|
+
app_sync_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.AppSyncParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12100
12189
|
batch_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.BatchParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12101
12190
|
dead_letter_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.DeadLetterConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12102
12191
|
ecs_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.EcsParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_fis/__init__.py
CHANGED
|
@@ -56,15 +56,7 @@ class CfnExperimentTemplate(
|
|
|
56
56
|
metaclass=jsii.JSIIMeta,
|
|
57
57
|
jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate",
|
|
58
58
|
):
|
|
59
|
-
'''
|
|
60
|
-
|
|
61
|
-
An experiment template includes the following components:
|
|
62
|
-
|
|
63
|
-
- *Targets* : A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.
|
|
64
|
-
- *Actions* : The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.
|
|
65
|
-
- *Stop conditions* : If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.
|
|
66
|
-
|
|
67
|
-
For more information, see `Experiment templates <https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
59
|
+
'''Describes an experiment template.
|
|
68
60
|
|
|
69
61
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html
|
|
70
62
|
:cloudformationResource: AWS::FIS::ExperimentTemplate
|
|
@@ -438,9 +430,7 @@ class CfnExperimentTemplate(
|
|
|
438
430
|
start_after: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
439
431
|
targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
440
432
|
) -> None:
|
|
441
|
-
'''
|
|
442
|
-
|
|
443
|
-
For more information, see `Actions <https://docs.aws.amazon.com/fis/latest/userguide/actions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
433
|
+
'''Describes an action for an experiment template.
|
|
444
434
|
|
|
445
435
|
:param action_id: The ID of the action.
|
|
446
436
|
:param description: A description for the action.
|
|
@@ -641,13 +631,11 @@ class CfnExperimentTemplate(
|
|
|
641
631
|
cloud_watch_logs_configuration: typing.Any = None,
|
|
642
632
|
s3_configuration: typing.Any = None,
|
|
643
633
|
) -> None:
|
|
644
|
-
'''
|
|
645
|
-
|
|
646
|
-
For more information, see `Experiment logging <https://docs.aws.amazon.com/fis/latest/userguide/monitoring-logging.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
634
|
+
'''Describes the configuration for experiment logging.
|
|
647
635
|
|
|
648
636
|
:param log_schema_version: The schema version.
|
|
649
|
-
:param cloud_watch_logs_configuration: The configuration for experiment logging to CloudWatch Logs
|
|
650
|
-
:param s3_configuration: The configuration for experiment logging to Amazon S3
|
|
637
|
+
:param cloud_watch_logs_configuration: The configuration for experiment logging to Amazon CloudWatch Logs.
|
|
638
|
+
:param s3_configuration: The configuration for experiment logging to Amazon S3.
|
|
651
639
|
|
|
652
640
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html
|
|
653
641
|
:exampleMetadata: fixture=_generated
|
|
@@ -694,7 +682,7 @@ class CfnExperimentTemplate(
|
|
|
694
682
|
|
|
695
683
|
@builtins.property
|
|
696
684
|
def cloud_watch_logs_configuration(self) -> typing.Any:
|
|
697
|
-
'''The configuration for experiment logging to CloudWatch Logs
|
|
685
|
+
'''The configuration for experiment logging to Amazon CloudWatch Logs.
|
|
698
686
|
|
|
699
687
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-cloudwatchlogsconfiguration
|
|
700
688
|
'''
|
|
@@ -703,7 +691,7 @@ class CfnExperimentTemplate(
|
|
|
703
691
|
|
|
704
692
|
@builtins.property
|
|
705
693
|
def s3_configuration(self) -> typing.Any:
|
|
706
|
-
'''The configuration for experiment logging to Amazon S3
|
|
694
|
+
'''The configuration for experiment logging to Amazon S3.
|
|
707
695
|
|
|
708
696
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-s3configuration
|
|
709
697
|
'''
|
|
@@ -733,9 +721,7 @@ class CfnExperimentTemplate(
|
|
|
733
721
|
source: builtins.str,
|
|
734
722
|
value: typing.Optional[builtins.str] = None,
|
|
735
723
|
) -> None:
|
|
736
|
-
'''
|
|
737
|
-
|
|
738
|
-
For more information, see `Stop conditions <https://docs.aws.amazon.com/fis/latest/userguide/stop-conditions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
724
|
+
'''Describes a stop condition for an experiment template.
|
|
739
725
|
|
|
740
726
|
:param source: The source for the stop condition.
|
|
741
727
|
:param value: The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
|
@@ -808,9 +794,7 @@ class CfnExperimentTemplate(
|
|
|
808
794
|
path: builtins.str,
|
|
809
795
|
values: typing.Sequence[builtins.str],
|
|
810
796
|
) -> None:
|
|
811
|
-
'''
|
|
812
|
-
|
|
813
|
-
For more information, see `Resource filters <https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters>`_ in the *AWS Fault Injection Service User Guide* .
|
|
797
|
+
'''Describes a filter used for the target resources in an experiment template.
|
|
814
798
|
|
|
815
799
|
:param path: The attribute path for the filter.
|
|
816
800
|
:param values: The attribute values for the filter.
|
|
@@ -892,16 +876,12 @@ class CfnExperimentTemplate(
|
|
|
892
876
|
resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
893
877
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
894
878
|
) -> None:
|
|
895
|
-
'''
|
|
896
|
-
|
|
897
|
-
You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.
|
|
898
|
-
|
|
899
|
-
For more information, see `Targets <https://docs.aws.amazon.com/fis/latest/userguide/targets.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
879
|
+
'''Describes a target for an experiment template.
|
|
900
880
|
|
|
901
881
|
:param resource_type: The resource type.
|
|
902
882
|
:param selection_mode: Scopes the identified resources to a specific count or percentage.
|
|
903
883
|
:param filters: The filters to apply to identify target resources using specific attributes.
|
|
904
|
-
:param parameters: The
|
|
884
|
+
:param parameters: The resource type parameters.
|
|
905
885
|
:param resource_arns: The Amazon Resource Names (ARNs) of the targets.
|
|
906
886
|
:param resource_tags: The tags for the target resources.
|
|
907
887
|
|
|
@@ -988,7 +968,7 @@ class CfnExperimentTemplate(
|
|
|
988
968
|
def parameters(
|
|
989
969
|
self,
|
|
990
970
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
991
|
-
'''The
|
|
971
|
+
'''The resource type parameters.
|
|
992
972
|
|
|
993
973
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-parameters
|
|
994
974
|
'''
|
|
@@ -866,6 +866,7 @@ class CfnEndpointGroup(
|
|
|
866
866
|
endpoint_id="endpointId",
|
|
867
867
|
|
|
868
868
|
# the properties below are optional
|
|
869
|
+
attachment_arn="attachmentArn",
|
|
869
870
|
client_ip_preservation_enabled=False,
|
|
870
871
|
weight=123
|
|
871
872
|
)],
|
|
@@ -1123,6 +1124,7 @@ class CfnEndpointGroup(
|
|
|
1123
1124
|
jsii_struct_bases=[],
|
|
1124
1125
|
name_mapping={
|
|
1125
1126
|
"endpoint_id": "endpointId",
|
|
1127
|
+
"attachment_arn": "attachmentArn",
|
|
1126
1128
|
"client_ip_preservation_enabled": "clientIpPreservationEnabled",
|
|
1127
1129
|
"weight": "weight",
|
|
1128
1130
|
},
|
|
@@ -1132,6 +1134,7 @@ class CfnEndpointGroup(
|
|
|
1132
1134
|
self,
|
|
1133
1135
|
*,
|
|
1134
1136
|
endpoint_id: builtins.str,
|
|
1137
|
+
attachment_arn: typing.Optional[builtins.str] = None,
|
|
1135
1138
|
client_ip_preservation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1136
1139
|
weight: typing.Optional[jsii.Number] = None,
|
|
1137
1140
|
) -> None:
|
|
@@ -1140,6 +1143,7 @@ class CfnEndpointGroup(
|
|
|
1140
1143
|
A resource must be valid and active when you add it as an endpoint.
|
|
1141
1144
|
|
|
1142
1145
|
:param endpoint_id: An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active when you add it as an endpoint. For cross-account endpoints, this must be the ARN of the resource.
|
|
1146
|
+
:param attachment_arn: The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
|
|
1143
1147
|
:param client_ip_preservation_enabled: Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the ``X-Forwarded-For`` request header as traffic travels to applications on the Application Load Balancer endpoint fronted by the accelerator. For more information, see `Preserve Client IP Addresses <https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - true
|
|
1144
1148
|
:param weight: The weight associated with the endpoint. When you add weights to endpoints, you configure Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. For more information, see `Endpoint Weights <https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - 100
|
|
1145
1149
|
|
|
@@ -1156,6 +1160,7 @@ class CfnEndpointGroup(
|
|
|
1156
1160
|
endpoint_id="endpointId",
|
|
1157
1161
|
|
|
1158
1162
|
# the properties below are optional
|
|
1163
|
+
attachment_arn="attachmentArn",
|
|
1159
1164
|
client_ip_preservation_enabled=False,
|
|
1160
1165
|
weight=123
|
|
1161
1166
|
)
|
|
@@ -1163,11 +1168,14 @@ class CfnEndpointGroup(
|
|
|
1163
1168
|
if __debug__:
|
|
1164
1169
|
type_hints = typing.get_type_hints(_typecheckingstub__92c85da4eae87afc5ac8c89581478057db742227d39e533959a7e6176c16fdc4)
|
|
1165
1170
|
check_type(argname="argument endpoint_id", value=endpoint_id, expected_type=type_hints["endpoint_id"])
|
|
1171
|
+
check_type(argname="argument attachment_arn", value=attachment_arn, expected_type=type_hints["attachment_arn"])
|
|
1166
1172
|
check_type(argname="argument client_ip_preservation_enabled", value=client_ip_preservation_enabled, expected_type=type_hints["client_ip_preservation_enabled"])
|
|
1167
1173
|
check_type(argname="argument weight", value=weight, expected_type=type_hints["weight"])
|
|
1168
1174
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1169
1175
|
"endpoint_id": endpoint_id,
|
|
1170
1176
|
}
|
|
1177
|
+
if attachment_arn is not None:
|
|
1178
|
+
self._values["attachment_arn"] = attachment_arn
|
|
1171
1179
|
if client_ip_preservation_enabled is not None:
|
|
1172
1180
|
self._values["client_ip_preservation_enabled"] = client_ip_preservation_enabled
|
|
1173
1181
|
if weight is not None:
|
|
@@ -1187,6 +1195,15 @@ class CfnEndpointGroup(
|
|
|
1187
1195
|
assert result is not None, "Required property 'endpoint_id' is missing"
|
|
1188
1196
|
return typing.cast(builtins.str, result)
|
|
1189
1197
|
|
|
1198
|
+
@builtins.property
|
|
1199
|
+
def attachment_arn(self) -> typing.Optional[builtins.str]:
|
|
1200
|
+
'''The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
|
|
1201
|
+
|
|
1202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-attachmentarn
|
|
1203
|
+
'''
|
|
1204
|
+
result = self._values.get("attachment_arn")
|
|
1205
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1206
|
+
|
|
1190
1207
|
@builtins.property
|
|
1191
1208
|
def client_ip_preservation_enabled(
|
|
1192
1209
|
self,
|
|
@@ -1375,6 +1392,7 @@ class CfnEndpointGroupProps:
|
|
|
1375
1392
|
endpoint_id="endpointId",
|
|
1376
1393
|
|
|
1377
1394
|
# the properties below are optional
|
|
1395
|
+
attachment_arn="attachmentArn",
|
|
1378
1396
|
client_ip_preservation_enabled=False,
|
|
1379
1397
|
weight=123
|
|
1380
1398
|
)],
|
|
@@ -3941,6 +3959,7 @@ def _typecheckingstub__b998e2081e2d308a57549976a631b6e5b339bbb2de70383a025b0b1ca
|
|
|
3941
3959
|
def _typecheckingstub__92c85da4eae87afc5ac8c89581478057db742227d39e533959a7e6176c16fdc4(
|
|
3942
3960
|
*,
|
|
3943
3961
|
endpoint_id: builtins.str,
|
|
3962
|
+
attachment_arn: typing.Optional[builtins.str] = None,
|
|
3944
3963
|
client_ip_preservation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3945
3964
|
weight: typing.Optional[jsii.Number] = None,
|
|
3946
3965
|
) -> None:
|