aws-cdk-lib 2.176.0__py3-none-any.whl → 2.177.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 +11 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.177.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_batch/__init__.py +4 -2
- aws_cdk/aws_bedrock/__init__.py +5395 -2508
- aws_cdk/aws_cloudfront/__init__.py +12 -2
- aws_cdk/aws_cloudfront_origins/__init__.py +33 -2
- aws_cdk/aws_codepipeline/__init__.py +35 -0
- aws_cdk/aws_cognito/__init__.py +162 -139
- aws_cdk/aws_customerprofiles/__init__.py +3 -3
- aws_cdk/aws_datazone/__init__.py +195 -125
- aws_cdk/aws_ec2/__init__.py +5 -3
- aws_cdk/aws_ecs/__init__.py +27 -8
- aws_cdk/aws_efs/__init__.py +5 -5
- aws_cdk/aws_eks/__init__.py +24 -3
- aws_cdk/aws_emrserverless/__init__.py +86 -0
- aws_cdk/aws_fms/__init__.py +42 -0
- aws_cdk/aws_gamelift/__init__.py +8 -10
- aws_cdk/aws_iam/__init__.py +8 -0
- aws_cdk/aws_imagebuilder/__init__.py +62 -48
- aws_cdk/aws_lambda/__init__.py +13 -0
- aws_cdk/aws_logs/__init__.py +59 -59
- aws_cdk/aws_notifications/__init__.py +1390 -0
- aws_cdk/aws_notificationscontacts/__init__.py +593 -0
- aws_cdk/aws_rds/__init__.py +16 -22
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_route53/__init__.py +4 -4
- aws_cdk/aws_route53_targets/__init__.py +15 -15
- aws_cdk/aws_s3/__init__.py +789 -0
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sns/__init__.py +39 -0
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_synthetics/__init__.py +105 -32
- aws_cdk/cloud_assembly_schema/__init__.py +63 -4
- aws_cdk/cx_api/__init__.py +44 -4
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/RECORD +44 -42
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -13360,7 +13360,7 @@ class Environment:
|
|
|
13360
13360
|
|
|
13361
13361
|
|
|
13362
13362
|
class Errors(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Errors"):
|
|
13363
|
-
'''Helper to check if an error is a
|
|
13363
|
+
'''Helper to check if an error is of a certain type.
|
|
13364
13364
|
|
|
13365
13365
|
:exampleMetadata: fixture=_generated
|
|
13366
13366
|
|
|
@@ -13381,6 +13381,9 @@ class Errors(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Errors"):
|
|
|
13381
13381
|
def is_construct_error(cls, x: typing.Any) -> builtins.bool:
|
|
13382
13382
|
'''Test whether the given errors is a ConstructionError.
|
|
13383
13383
|
|
|
13384
|
+
A ConstructionError is a generic error that will be thrown during the App construction or synthesis.
|
|
13385
|
+
To check for more specific errors, use the respective methods.
|
|
13386
|
+
|
|
13384
13387
|
:param x: -
|
|
13385
13388
|
'''
|
|
13386
13389
|
if __debug__:
|
|
@@ -13393,6 +13396,9 @@ class Errors(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Errors"):
|
|
|
13393
13396
|
def is_validation_error(cls, x: typing.Any) -> builtins.bool:
|
|
13394
13397
|
'''Test whether the given error is a ValidationError.
|
|
13395
13398
|
|
|
13399
|
+
A ValidationError is thrown when input props are failing to pass the rules of the construct.
|
|
13400
|
+
It usually means the underlying CloudFormation resource(s) would not deploy with a given configuration.
|
|
13401
|
+
|
|
13396
13402
|
:param x: -
|
|
13397
13403
|
'''
|
|
13398
13404
|
if __debug__:
|
|
@@ -36411,6 +36417,8 @@ __all__ = [
|
|
|
36411
36417
|
"aws_networkfirewall",
|
|
36412
36418
|
"aws_networkmanager",
|
|
36413
36419
|
"aws_nimblestudio",
|
|
36420
|
+
"aws_notifications",
|
|
36421
|
+
"aws_notificationscontacts",
|
|
36414
36422
|
"aws_oam",
|
|
36415
36423
|
"aws_omics",
|
|
36416
36424
|
"aws_opensearchserverless",
|
|
@@ -36703,6 +36711,8 @@ from . import aws_neptunegraph
|
|
|
36703
36711
|
from . import aws_networkfirewall
|
|
36704
36712
|
from . import aws_networkmanager
|
|
36705
36713
|
from . import aws_nimblestudio
|
|
36714
|
+
from . import aws_notifications
|
|
36715
|
+
from . import aws_notificationscontacts
|
|
36706
36716
|
from . import aws_oam
|
|
36707
36717
|
from . import aws_omics
|
|
36708
36718
|
from . import aws_opensearchserverless
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
35
35
|
import constructs._jsii
|
|
36
36
|
|
|
37
37
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
38
|
-
"aws-cdk-lib", "2.
|
|
38
|
+
"aws-cdk-lib", "2.177.0", __name__[0:-6], "aws-cdk-lib@2.177.0.jsii.tgz"
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
|
@@ -1085,9 +1085,9 @@ class HttpServiceDiscoveryIntegration(
|
|
|
1085
1085
|
:param route: The route to which this is being bound.
|
|
1086
1086
|
:param scope: The current scope in which the bind is occurring. If the ``HttpRouteIntegration`` being bound creates additional constructs, this will be used as their parent scope.
|
|
1087
1087
|
'''
|
|
1088
|
-
|
|
1088
|
+
options = _HttpRouteIntegrationBindOptions_f870a39e(route=route, scope=scope)
|
|
1089
1089
|
|
|
1090
|
-
return typing.cast(_HttpRouteIntegrationConfig_aafc4b76, jsii.invoke(self, "bind", [
|
|
1090
|
+
return typing.cast(_HttpRouteIntegrationConfig_aafc4b76, jsii.invoke(self, "bind", [options]))
|
|
1091
1091
|
|
|
1092
1092
|
@builtins.property
|
|
1093
1093
|
@jsii.member(jsii_name="connectionType")
|
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -24,6 +24,7 @@ type demo {
|
|
|
24
24
|
}
|
|
25
25
|
type Query {
|
|
26
26
|
getDemos: [ demo! ]
|
|
27
|
+
getDemosConsistent: [demo!]
|
|
27
28
|
}
|
|
28
29
|
input DemoInput {
|
|
29
30
|
version: String!
|
|
@@ -4914,7 +4915,7 @@ class CfnDataSource(
|
|
|
4914
4915
|
:param metrics_config: Enables or disables enhanced data source metrics for specified data sources. Note that ``MetricsConfig`` won't be used unless the ``dataSourceLevelMetricsBehavior`` value is set to ``PER_DATA_SOURCE_METRICS`` . If the ``dataSourceLevelMetricsBehavior`` is set to ``FULL_REQUEST_DATA_SOURCE_METRICS`` instead, ``MetricsConfig`` will be ignored. However, you can still set its value. ``MetricsConfig`` can be ``ENABLED`` or ``DISABLED`` .
|
|
4915
4916
|
:param open_search_service_config: AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
|
|
4916
4917
|
:param relational_database_config: Relational Database configuration of the relational database data source.
|
|
4917
|
-
:param service_role_arn: The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source. Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or AMAZON_BEDROCK_RUNTIME.
|
|
4918
|
+
:param service_role_arn: The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source. Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or ``AMAZON_BEDROCK_RUNTIME`` .
|
|
4918
4919
|
'''
|
|
4919
4920
|
if __debug__:
|
|
4920
4921
|
type_hints = typing.get_type_hints(_typecheckingstub__f2dc8968068d09d9cb599cea5efad1a18016c4eca4fcc6c15e6169a0891e2678)
|
|
@@ -6182,7 +6183,7 @@ class CfnDataSourceProps:
|
|
|
6182
6183
|
:param metrics_config: Enables or disables enhanced data source metrics for specified data sources. Note that ``MetricsConfig`` won't be used unless the ``dataSourceLevelMetricsBehavior`` value is set to ``PER_DATA_SOURCE_METRICS`` . If the ``dataSourceLevelMetricsBehavior`` is set to ``FULL_REQUEST_DATA_SOURCE_METRICS`` instead, ``MetricsConfig`` will be ignored. However, you can still set its value. ``MetricsConfig`` can be ``ENABLED`` or ``DISABLED`` .
|
|
6183
6184
|
:param open_search_service_config: AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
|
|
6184
6185
|
:param relational_database_config: Relational Database configuration of the relational database data source.
|
|
6185
|
-
:param service_role_arn: The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source. Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or AMAZON_BEDROCK_RUNTIME.
|
|
6186
|
+
:param service_role_arn: The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source. Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or ``AMAZON_BEDROCK_RUNTIME`` .
|
|
6186
6187
|
|
|
6187
6188
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html
|
|
6188
6189
|
:exampleMetadata: fixture=_generated
|
|
@@ -6449,7 +6450,7 @@ class CfnDataSourceProps:
|
|
|
6449
6450
|
|
|
6450
6451
|
The system assumes this role when accessing the data source.
|
|
6451
6452
|
|
|
6452
|
-
Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or AMAZON_BEDROCK_RUNTIME.
|
|
6453
|
+
Required if ``Type`` is specified as ``AWS_LAMBDA`` , ``AMAZON_DYNAMODB`` , ``AMAZON_ELASTICSEARCH`` , ``AMAZON_EVENTBRIDGE`` , ``AMAZON_OPENSEARCH_SERVICE`` , ``RELATIONAL_DATABASE`` , or ``AMAZON_BEDROCK_RUNTIME`` .
|
|
6453
6454
|
|
|
6454
6455
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-servicerolearn
|
|
6455
6456
|
'''
|
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -10337,7 +10337,7 @@ class CfnSchedulingPolicy(
|
|
|
10337
10337
|
'''The fair share policy for a scheduling policy.
|
|
10338
10338
|
|
|
10339
10339
|
:param compute_reservation: A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used. The reserved ratio is ``( *computeReservation* /100)^ *ActiveFairShares*`` where ``*ActiveFairShares*`` is the number of active fair share identifiers. For example, a ``computeReservation`` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A ``computeReservation`` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. The minimum value is 0 and the maximum value is 99.
|
|
10340
|
-
:param share_decay_seconds: The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates
|
|
10340
|
+
:param share_decay_seconds: The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates the default minimum time window (600 seconds). The maximum supported value is 604800 (1 week). The decay allows for more recently run jobs to have more weight than jobs that ran earlier. Consider adjusting this number if you have jobs that (on average) run longer than ten minutes, or a large difference in job count or job run times between share identifiers, and the allocation of resources doesn’t meet your needs.
|
|
10341
10341
|
:param share_distribution: An array of ``SharedIdentifier`` objects that contain the weights for the fair share identifiers for the fair share policy. Fair share identifiers that aren't included have a default weight of ``1.0`` .
|
|
10342
10342
|
|
|
10343
10343
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html
|
|
@@ -10390,7 +10390,9 @@ class CfnSchedulingPolicy(
|
|
|
10390
10390
|
def share_decay_seconds(self) -> typing.Optional[jsii.Number]:
|
|
10391
10391
|
'''The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use.
|
|
10392
10392
|
|
|
10393
|
-
A value of zero (0) indicates
|
|
10393
|
+
A value of zero (0) indicates the default minimum time window (600 seconds). The maximum supported value is 604800 (1 week).
|
|
10394
|
+
|
|
10395
|
+
The decay allows for more recently run jobs to have more weight than jobs that ran earlier. Consider adjusting this number if you have jobs that (on average) run longer than ten minutes, or a large difference in job count or job run times between share identifiers, and the allocation of resources doesn’t meet your needs.
|
|
10394
10396
|
|
|
10395
10397
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedecayseconds
|
|
10396
10398
|
'''
|