aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +105 -3
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +6 -4
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +423 -73
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +21 -5
- aws_cdk/aws_codepipeline/__init__.py +24 -8
- aws_cdk/aws_cognito/__init__.py +41 -40
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +493 -93
- aws_cdk/aws_ecs/__init__.py +6 -4
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +110 -50
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +19 -17
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +48 -14
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_ssm/__init__.py +3 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +96 -46
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -757,6 +757,33 @@ api = appsync.GraphqlApi(self, "api",
|
|
|
757
757
|
)
|
|
758
758
|
```
|
|
759
759
|
|
|
760
|
+
## Query Depth Limits
|
|
761
|
+
|
|
762
|
+
By default, queries are able to process an unlimited amount of nested levels.
|
|
763
|
+
Limiting queries to a specified amount of nested levels has potential implications for the performance and flexibility of your project.
|
|
764
|
+
|
|
765
|
+
```python
|
|
766
|
+
api = appsync.GraphqlApi(self, "api",
|
|
767
|
+
name="LimitQueryDepths",
|
|
768
|
+
definition=appsync.Definition.from_file(path.join(__dirname, "appsync.schema.graphql")),
|
|
769
|
+
query_depth_limit=2
|
|
770
|
+
)
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
## Resolver Count Limits
|
|
774
|
+
|
|
775
|
+
You can control how many resolvers each query can process.
|
|
776
|
+
By default, each query can process up to 10000 resolvers.
|
|
777
|
+
By setting a limit AppSync will not handle any resolvers past a certain number limit.
|
|
778
|
+
|
|
779
|
+
```python
|
|
780
|
+
api = appsync.GraphqlApi(self, "api",
|
|
781
|
+
name="LimitResolverCount",
|
|
782
|
+
definition=appsync.Definition.from_file(path.join(__dirname, "appsync.schema.graphql")),
|
|
783
|
+
resolver_count_limit=2
|
|
784
|
+
)
|
|
785
|
+
```
|
|
786
|
+
|
|
760
787
|
## Environment Variables
|
|
761
788
|
|
|
762
789
|
To use environment variables in resolvers, you can use the `environmentVariables` property and
|
|
@@ -10675,6 +10702,8 @@ class GraphqlApiAttributes:
|
|
|
10675
10702
|
"environment_variables": "environmentVariables",
|
|
10676
10703
|
"introspection_config": "introspectionConfig",
|
|
10677
10704
|
"log_config": "logConfig",
|
|
10705
|
+
"query_depth_limit": "queryDepthLimit",
|
|
10706
|
+
"resolver_count_limit": "resolverCountLimit",
|
|
10678
10707
|
"schema": "schema",
|
|
10679
10708
|
"visibility": "visibility",
|
|
10680
10709
|
"xray_enabled": "xrayEnabled",
|
|
@@ -10691,6 +10720,8 @@ class GraphqlApiProps:
|
|
|
10691
10720
|
environment_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10692
10721
|
introspection_config: typing.Optional["IntrospectionConfig"] = None,
|
|
10693
10722
|
log_config: typing.Optional[typing.Union["LogConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10723
|
+
query_depth_limit: typing.Optional[jsii.Number] = None,
|
|
10724
|
+
resolver_count_limit: typing.Optional[jsii.Number] = None,
|
|
10694
10725
|
schema: typing.Optional["ISchema"] = None,
|
|
10695
10726
|
visibility: typing.Optional["Visibility"] = None,
|
|
10696
10727
|
xray_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -10704,6 +10735,8 @@ class GraphqlApiProps:
|
|
|
10704
10735
|
:param environment_variables: A map containing the list of resources with their properties and environment variables. There are a few rules you must follow when creating keys and values: - Keys must begin with a letter. - Keys must be between 2 and 64 characters long. - Keys can only contain letters, numbers, and the underscore character (_). - Values can be up to 512 characters long. - You can configure up to 50 key-value pairs in a GraphQL API. Default: - No environment variables.
|
|
10705
10736
|
:param introspection_config: A value indicating whether the API to enable (ENABLED) or disable (DISABLED) introspection. Default: IntrospectionConfig.ENABLED
|
|
10706
10737
|
:param log_config: Logging configuration for this api. Default: - None
|
|
10738
|
+
:param query_depth_limit: A number indicating the maximum depth resolvers should be accepted when handling queries. Value must be withing range of 0 to 75 Default: - The default value is 0 (or unspecified) which indicates no maximum depth.
|
|
10739
|
+
:param resolver_count_limit: A number indicating the maximum number of resolvers that should be accepted when handling queries. Value must be withing range of 0 to 10000 Default: - The default value is 0 (or unspecified), which will set the limit to 10000
|
|
10707
10740
|
:param schema: (deprecated) GraphQL schema definition. Specify how you want to define your schema. SchemaFile.fromAsset(filePath: string) allows schema definition through schema.graphql file Default: - schema will be generated code-first (i.e. addType, addObjectType, etc.)
|
|
10708
10741
|
:param visibility: A value indicating whether the API is accessible from anywhere (GLOBAL) or can only be access from a VPC (PRIVATE). Default: - GLOBAL
|
|
10709
10742
|
:param xray_enabled: A flag indicating whether or not X-Ray tracing is enabled for the GraphQL API. Default: - false
|
|
@@ -10745,6 +10778,8 @@ class GraphqlApiProps:
|
|
|
10745
10778
|
check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
|
|
10746
10779
|
check_type(argname="argument introspection_config", value=introspection_config, expected_type=type_hints["introspection_config"])
|
|
10747
10780
|
check_type(argname="argument log_config", value=log_config, expected_type=type_hints["log_config"])
|
|
10781
|
+
check_type(argname="argument query_depth_limit", value=query_depth_limit, expected_type=type_hints["query_depth_limit"])
|
|
10782
|
+
check_type(argname="argument resolver_count_limit", value=resolver_count_limit, expected_type=type_hints["resolver_count_limit"])
|
|
10748
10783
|
check_type(argname="argument schema", value=schema, expected_type=type_hints["schema"])
|
|
10749
10784
|
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
|
10750
10785
|
check_type(argname="argument xray_enabled", value=xray_enabled, expected_type=type_hints["xray_enabled"])
|
|
@@ -10763,6 +10798,10 @@ class GraphqlApiProps:
|
|
|
10763
10798
|
self._values["introspection_config"] = introspection_config
|
|
10764
10799
|
if log_config is not None:
|
|
10765
10800
|
self._values["log_config"] = log_config
|
|
10801
|
+
if query_depth_limit is not None:
|
|
10802
|
+
self._values["query_depth_limit"] = query_depth_limit
|
|
10803
|
+
if resolver_count_limit is not None:
|
|
10804
|
+
self._values["resolver_count_limit"] = resolver_count_limit
|
|
10766
10805
|
if schema is not None:
|
|
10767
10806
|
self._values["schema"] = schema
|
|
10768
10807
|
if visibility is not None:
|
|
@@ -10841,6 +10880,28 @@ class GraphqlApiProps:
|
|
|
10841
10880
|
result = self._values.get("log_config")
|
|
10842
10881
|
return typing.cast(typing.Optional["LogConfig"], result)
|
|
10843
10882
|
|
|
10883
|
+
@builtins.property
|
|
10884
|
+
def query_depth_limit(self) -> typing.Optional[jsii.Number]:
|
|
10885
|
+
'''A number indicating the maximum depth resolvers should be accepted when handling queries.
|
|
10886
|
+
|
|
10887
|
+
Value must be withing range of 0 to 75
|
|
10888
|
+
|
|
10889
|
+
:default: - The default value is 0 (or unspecified) which indicates no maximum depth.
|
|
10890
|
+
'''
|
|
10891
|
+
result = self._values.get("query_depth_limit")
|
|
10892
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10893
|
+
|
|
10894
|
+
@builtins.property
|
|
10895
|
+
def resolver_count_limit(self) -> typing.Optional[jsii.Number]:
|
|
10896
|
+
'''A number indicating the maximum number of resolvers that should be accepted when handling queries.
|
|
10897
|
+
|
|
10898
|
+
Value must be withing range of 0 to 10000
|
|
10899
|
+
|
|
10900
|
+
:default: - The default value is 0 (or unspecified), which will set the limit to 10000
|
|
10901
|
+
'''
|
|
10902
|
+
result = self._values.get("resolver_count_limit")
|
|
10903
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10904
|
+
|
|
10844
10905
|
@builtins.property
|
|
10845
10906
|
def schema(self) -> typing.Optional["ISchema"]:
|
|
10846
10907
|
'''(deprecated) GraphQL schema definition. Specify how you want to define your schema.
|
|
@@ -16921,6 +16982,8 @@ class GraphqlApi(
|
|
|
16921
16982
|
environment_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
16922
16983
|
introspection_config: typing.Optional[IntrospectionConfig] = None,
|
|
16923
16984
|
log_config: typing.Optional[typing.Union[LogConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16985
|
+
query_depth_limit: typing.Optional[jsii.Number] = None,
|
|
16986
|
+
resolver_count_limit: typing.Optional[jsii.Number] = None,
|
|
16924
16987
|
schema: typing.Optional[ISchema] = None,
|
|
16925
16988
|
visibility: typing.Optional[Visibility] = None,
|
|
16926
16989
|
xray_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -16935,6 +16998,8 @@ class GraphqlApi(
|
|
|
16935
16998
|
:param environment_variables: A map containing the list of resources with their properties and environment variables. There are a few rules you must follow when creating keys and values: - Keys must begin with a letter. - Keys must be between 2 and 64 characters long. - Keys can only contain letters, numbers, and the underscore character (_). - Values can be up to 512 characters long. - You can configure up to 50 key-value pairs in a GraphQL API. Default: - No environment variables.
|
|
16936
16999
|
:param introspection_config: A value indicating whether the API to enable (ENABLED) or disable (DISABLED) introspection. Default: IntrospectionConfig.ENABLED
|
|
16937
17000
|
:param log_config: Logging configuration for this api. Default: - None
|
|
17001
|
+
:param query_depth_limit: A number indicating the maximum depth resolvers should be accepted when handling queries. Value must be withing range of 0 to 75 Default: - The default value is 0 (or unspecified) which indicates no maximum depth.
|
|
17002
|
+
:param resolver_count_limit: A number indicating the maximum number of resolvers that should be accepted when handling queries. Value must be withing range of 0 to 10000 Default: - The default value is 0 (or unspecified), which will set the limit to 10000
|
|
16938
17003
|
:param schema: (deprecated) GraphQL schema definition. Specify how you want to define your schema. SchemaFile.fromAsset(filePath: string) allows schema definition through schema.graphql file Default: - schema will be generated code-first (i.e. addType, addObjectType, etc.)
|
|
16939
17004
|
:param visibility: A value indicating whether the API is accessible from anywhere (GLOBAL) or can only be access from a VPC (PRIVATE). Default: - GLOBAL
|
|
16940
17005
|
:param xray_enabled: A flag indicating whether or not X-Ray tracing is enabled for the GraphQL API. Default: - false
|
|
@@ -16951,6 +17016,8 @@ class GraphqlApi(
|
|
|
16951
17016
|
environment_variables=environment_variables,
|
|
16952
17017
|
introspection_config=introspection_config,
|
|
16953
17018
|
log_config=log_config,
|
|
17019
|
+
query_depth_limit=query_depth_limit,
|
|
17020
|
+
resolver_count_limit=resolver_count_limit,
|
|
16954
17021
|
schema=schema,
|
|
16955
17022
|
visibility=visibility,
|
|
16956
17023
|
xray_enabled=xray_enabled,
|
|
@@ -18641,6 +18708,8 @@ def _typecheckingstub__99ac2113ba86b3a60344e56ee0c5bb6cdf1bc20cd0d5aa52f9a94709f
|
|
|
18641
18708
|
environment_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18642
18709
|
introspection_config: typing.Optional[IntrospectionConfig] = None,
|
|
18643
18710
|
log_config: typing.Optional[typing.Union[LogConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18711
|
+
query_depth_limit: typing.Optional[jsii.Number] = None,
|
|
18712
|
+
resolver_count_limit: typing.Optional[jsii.Number] = None,
|
|
18644
18713
|
schema: typing.Optional[ISchema] = None,
|
|
18645
18714
|
visibility: typing.Optional[Visibility] = None,
|
|
18646
18715
|
xray_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -19621,6 +19690,8 @@ def _typecheckingstub__cdc21261f45618890d843fff7978e6e8e4f4cfe7884c4fffbff6b8dad
|
|
|
19621
19690
|
environment_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19622
19691
|
introspection_config: typing.Optional[IntrospectionConfig] = None,
|
|
19623
19692
|
log_config: typing.Optional[typing.Union[LogConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19693
|
+
query_depth_limit: typing.Optional[jsii.Number] = None,
|
|
19694
|
+
resolver_count_limit: typing.Optional[jsii.Number] = None,
|
|
19624
19695
|
schema: typing.Optional[ISchema] = None,
|
|
19625
19696
|
visibility: typing.Optional[Visibility] = None,
|
|
19626
19697
|
xray_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -2544,7 +2544,7 @@ class CfnAutoScalingGroup(
|
|
|
2544
2544
|
:param metrics_collection: Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
|
|
2545
2545
|
:param mixed_instances_policy: An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see `Auto Scaling groups with multiple instance types and purchase options <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
2546
2546
|
:param new_instances_protected_from_scale_in: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see `Using instance scale-in protection <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
2547
|
-
:param notification_configuration:
|
|
2547
|
+
:param notification_configuration: (deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Auto scaling template snippets <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
2548
2548
|
:param notification_configurations: Configures an Auto Scaling group to send notifications when specified events take place.
|
|
2549
2549
|
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide for Linux Instances* . .. epigraph:: A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
|
|
2550
2550
|
:param service_linked_role_arn: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named ``AWSServiceRoleForAutoScaling`` , which it creates if it does not exist. For more information, see `Service-linked roles <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
@@ -2968,7 +2968,8 @@ class CfnAutoScalingGroup(
|
|
|
2968
2968
|
def notification_configuration(
|
|
2969
2969
|
self,
|
|
2970
2970
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.NotificationConfigurationProperty"]]:
|
|
2971
|
-
'''
|
|
2971
|
+
'''(deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Auto scaling template snippets <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
2972
|
+
|
|
2972
2973
|
:deprecated: this property has been deprecated
|
|
2973
2974
|
|
|
2974
2975
|
:stability: deprecated
|
|
@@ -5779,7 +5780,7 @@ class CfnAutoScalingGroupProps:
|
|
|
5779
5780
|
:param metrics_collection: Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
|
|
5780
5781
|
:param mixed_instances_policy: An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see `Auto Scaling groups with multiple instance types and purchase options <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
5781
5782
|
:param new_instances_protected_from_scale_in: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see `Using instance scale-in protection <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
5782
|
-
:param notification_configuration:
|
|
5783
|
+
:param notification_configuration: (deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Auto scaling template snippets <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
5783
5784
|
:param notification_configurations: Configures an Auto Scaling group to send notifications when specified events take place.
|
|
5784
5785
|
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide for Linux Instances* . .. epigraph:: A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
|
|
5785
5786
|
:param service_linked_role_arn: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named ``AWSServiceRoleForAutoScaling`` , which it creates if it does not exist. For more information, see `Service-linked roles <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
@@ -6337,7 +6338,8 @@ class CfnAutoScalingGroupProps:
|
|
|
6337
6338
|
def notification_configuration(
|
|
6338
6339
|
self,
|
|
6339
6340
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.NotificationConfigurationProperty]]:
|
|
6340
|
-
'''
|
|
6341
|
+
'''(deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Auto scaling template snippets <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
6342
|
+
|
|
6341
6343
|
:deprecated: this property has been deprecated
|
|
6342
6344
|
|
|
6343
6345
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-notificationconfiguration
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -2465,7 +2465,7 @@ class CfnBackupPlan(
|
|
|
2465
2465
|
|
|
2466
2466
|
:param delete_after_days: Specifies the number of days after creation that a recovery point is deleted. Must be greater than ``MoveToColdStorageAfterDays`` .
|
|
2467
2467
|
:param move_to_cold_storage_after_days: Specifies the number of days after creation that a recovery point is moved to cold storage.
|
|
2468
|
-
:param opt_in_to_archive_for_supported_resources:
|
|
2468
|
+
:param opt_in_to_archive_for_supported_resources: Optional Boolean. If this is true, this setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
|
|
2469
2469
|
|
|
2470
2470
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html
|
|
2471
2471
|
:exampleMetadata: fixture=_generated
|
|
@@ -2519,7 +2519,10 @@ class CfnBackupPlan(
|
|
|
2519
2519
|
def opt_in_to_archive_for_supported_resources(
|
|
2520
2520
|
self,
|
|
2521
2521
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2522
|
-
'''
|
|
2522
|
+
'''Optional Boolean.
|
|
2523
|
+
|
|
2524
|
+
If this is true, this setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
|
|
2525
|
+
|
|
2523
2526
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html#cfn-backup-backupplan-lifecycleresourcetype-optintoarchiveforsupportedresources
|
|
2524
2527
|
'''
|
|
2525
2528
|
result = self._values.get("opt_in_to_archive_for_supported_resources")
|
|
@@ -4936,10 +4939,10 @@ class CfnReportPlan(
|
|
|
4936
4939
|
'''Contains detailed information about a report setting.
|
|
4937
4940
|
|
|
4938
4941
|
:param report_template: Identifies the report template for the report. Reports are built using a report template. The report templates are:. ``RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT``
|
|
4939
|
-
:param accounts: These are the accounts to be included in the report.
|
|
4942
|
+
:param accounts: These are the accounts to be included in the report. Use string value of ``ROOT`` to include all organizational units.
|
|
4940
4943
|
:param framework_arns: The Amazon Resource Names (ARNs) of the frameworks a report covers.
|
|
4941
4944
|
:param organization_units: These are the Organizational Units to be included in the report.
|
|
4942
|
-
:param regions: These are the Regions to be included in the report.
|
|
4945
|
+
:param regions: These are the Regions to be included in the report. Use the wildcard as the string value to include all Regions.
|
|
4943
4946
|
|
|
4944
4947
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html
|
|
4945
4948
|
:exampleMetadata: fixture=_generated
|
|
@@ -4995,6 +4998,8 @@ class CfnReportPlan(
|
|
|
4995
4998
|
def accounts(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4996
4999
|
'''These are the accounts to be included in the report.
|
|
4997
5000
|
|
|
5001
|
+
Use string value of ``ROOT`` to include all organizational units.
|
|
5002
|
+
|
|
4998
5003
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-accounts
|
|
4999
5004
|
'''
|
|
5000
5005
|
result = self._values.get("accounts")
|
|
@@ -5022,6 +5027,8 @@ class CfnReportPlan(
|
|
|
5022
5027
|
def regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5023
5028
|
'''These are the Regions to be included in the report.
|
|
5024
5029
|
|
|
5030
|
+
Use the wildcard as the string value to include all Regions.
|
|
5031
|
+
|
|
5025
5032
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-regions
|
|
5026
5033
|
'''
|
|
5027
5034
|
result = self._values.get("regions")
|
|
@@ -5237,7 +5244,7 @@ class CfnRestoreTestingPlan(
|
|
|
5237
5244
|
:param scope: Scope in which this resource is defined.
|
|
5238
5245
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5239
5246
|
:param recovery_point_selection: The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
|
|
5240
|
-
:param restore_testing_plan_name:
|
|
5247
|
+
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
5241
5248
|
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
|
|
5242
5249
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
5243
5250
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
@@ -5329,7 +5336,7 @@ class CfnRestoreTestingPlan(
|
|
|
5329
5336
|
@builtins.property
|
|
5330
5337
|
@jsii.member(jsii_name="restoreTestingPlanName")
|
|
5331
5338
|
def restore_testing_plan_name(self) -> builtins.str:
|
|
5332
|
-
'''
|
|
5339
|
+
'''The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.'''
|
|
5333
5340
|
return typing.cast(builtins.str, jsii.get(self, "restoreTestingPlanName"))
|
|
5334
5341
|
|
|
5335
5342
|
@restore_testing_plan_name.setter
|
|
@@ -5549,7 +5556,7 @@ class CfnRestoreTestingPlanProps:
|
|
|
5549
5556
|
'''Properties for defining a ``CfnRestoreTestingPlan``.
|
|
5550
5557
|
|
|
5551
5558
|
:param recovery_point_selection: The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
|
|
5552
|
-
:param restore_testing_plan_name:
|
|
5559
|
+
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
5553
5560
|
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
|
|
5554
5561
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
5555
5562
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
@@ -5620,7 +5627,9 @@ class CfnRestoreTestingPlanProps:
|
|
|
5620
5627
|
|
|
5621
5628
|
@builtins.property
|
|
5622
5629
|
def restore_testing_plan_name(self) -> builtins.str:
|
|
5623
|
-
'''
|
|
5630
|
+
'''The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
|
|
5631
|
+
|
|
5632
|
+
This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
5624
5633
|
|
|
5625
5634
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-restoretestingplanname
|
|
5626
5635
|
'''
|
|
@@ -5758,7 +5767,7 @@ class CfnRestoreTestingSelection(
|
|
|
5758
5767
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5759
5768
|
:param iam_role_arn: The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: ``arn:aws:iam::123456789012:role/S3Access`` .
|
|
5760
5769
|
:param protected_resource_type: The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
|
|
5761
|
-
:param restore_testing_plan_name:
|
|
5770
|
+
:param restore_testing_plan_name: Unique string that is the name of the restore testing plan. The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.
|
|
5762
5771
|
:param restore_testing_selection_name: This is the unique name of the restore testing selection that belongs to the related restore testing plan.
|
|
5763
5772
|
:param protected_resource_arns: You can include specific ARNs, such as ``ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]`` or you can include a wildcard: ``ProtectedResourceArns: ["*"]`` , but not both.
|
|
5764
5773
|
:param protected_resource_conditions: In a resource testing selection, this parameter filters by specific conditions such as ``StringEquals`` or ``StringNotEquals`` .
|
|
@@ -5846,7 +5855,7 @@ class CfnRestoreTestingSelection(
|
|
|
5846
5855
|
@builtins.property
|
|
5847
5856
|
@jsii.member(jsii_name="restoreTestingPlanName")
|
|
5848
5857
|
def restore_testing_plan_name(self) -> builtins.str:
|
|
5849
|
-
'''
|
|
5858
|
+
'''Unique string that is the name of the restore testing plan.'''
|
|
5850
5859
|
return typing.cast(builtins.str, jsii.get(self, "restoreTestingPlanName"))
|
|
5851
5860
|
|
|
5852
5861
|
@restore_testing_plan_name.setter
|
|
@@ -6131,7 +6140,7 @@ class CfnRestoreTestingSelectionProps:
|
|
|
6131
6140
|
|
|
6132
6141
|
:param iam_role_arn: The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: ``arn:aws:iam::123456789012:role/S3Access`` .
|
|
6133
6142
|
:param protected_resource_type: The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
|
|
6134
|
-
:param restore_testing_plan_name:
|
|
6143
|
+
:param restore_testing_plan_name: Unique string that is the name of the restore testing plan. The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.
|
|
6135
6144
|
:param restore_testing_selection_name: This is the unique name of the restore testing selection that belongs to the related restore testing plan.
|
|
6136
6145
|
:param protected_resource_arns: You can include specific ARNs, such as ``ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]`` or you can include a wildcard: ``ProtectedResourceArns: ["*"]`` , but not both.
|
|
6137
6146
|
:param protected_resource_conditions: In a resource testing selection, this parameter filters by specific conditions such as ``StringEquals`` or ``StringNotEquals`` .
|
|
@@ -6222,7 +6231,9 @@ class CfnRestoreTestingSelectionProps:
|
|
|
6222
6231
|
|
|
6223
6232
|
@builtins.property
|
|
6224
6233
|
def restore_testing_plan_name(self) -> builtins.str:
|
|
6225
|
-
'''
|
|
6234
|
+
'''Unique string that is the name of the restore testing plan.
|
|
6235
|
+
|
|
6236
|
+
The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.
|
|
6226
6237
|
|
|
6227
6238
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingselection.html#cfn-backup-restoretestingselection-restoretestingplanname
|
|
6228
6239
|
'''
|