aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -10658,12 +10658,12 @@ class CustomResourceProps:
|
|
|
10658
10658
|
) -> None:
|
|
10659
10659
|
'''Properties to provide a Lambda-backed custom resource.
|
|
10660
10660
|
|
|
10661
|
-
:param service_token: The ARN of the provider which implements this custom resource type. You can implement a provider by listening to raw AWS CloudFormation events and specify the ARN of an SNS topic (``topic.topicArn``) or the ARN of an AWS Lambda function (``lambda.functionArn``) or use the CDK's custom `resource provider framework <https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html>`_ which makes it easier to implement robust providers. Provider framework:: // use the provider framework from aws-cdk/custom-resources: const provider = new customresources.Provider(this, 'ResourceProvider', { onEventHandler, isCompleteHandler, // optional }); new CustomResource(this, 'MyResource', { serviceToken: provider.serviceToken, }); AWS Lambda function (not recommended to use AWS Lambda Functions directly, see the module README):: // invoke an AWS Lambda function when a lifecycle event occurs: new CustomResource(this, 'MyResource', { serviceToken: myFunction.functionArn, }); SNS topic (not recommended to use AWS Lambda Functions directly, see the module README):: // publish lifecycle events to an SNS topic: new CustomResource(this, 'MyResource', { serviceToken: myTopic.topicArn, });
|
|
10661
|
+
:param service_token: The ARN of the provider which implements this custom resource type. You can implement a provider by listening to raw AWS CloudFormation events and specify the ARN of an SNS topic (``topic.topicArn``) or the ARN of an AWS Lambda function (``lambda.functionArn``) or use the CDK's custom `resource provider framework <https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html>`_ which makes it easier to implement robust providers. Provider framework:: // use the provider framework from aws-cdk/custom-resources: const provider = new customresources.Provider(this, 'ResourceProvider', { onEventHandler, isCompleteHandler, // optional }); new CustomResource(this, 'MyResource', { serviceToken: provider.serviceToken, }); AWS Lambda function (not recommended to use AWS Lambda Functions directly, see the module README):: // invoke an AWS Lambda function when a lifecycle event occurs: new CustomResource(this, 'MyResource', { serviceToken: myFunction.functionArn, }); SNS topic (not recommended to use AWS Lambda Functions directly, see the module README):: // publish lifecycle events to an SNS topic: new CustomResource(this, 'MyResource', { serviceToken: myTopic.topicArn, }); Maps to `ServiceToken <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetoken>`_ property for the ``AWS::CloudFormation::CustomResource`` resource
|
|
10662
10662
|
:param pascal_case_properties: Convert all property keys to pascal case. Default: false
|
|
10663
|
-
:param properties: Properties to pass to the Lambda. Default: - No properties.
|
|
10663
|
+
:param properties: Properties to pass to the Lambda. Values in this ``properties`` dictionary can possibly overwrite other values in ``CustomResourceProps`` E.g. ``ServiceToken`` and ``ServiceTimeout`` It is recommended to avoid using same keys that exist in ``CustomResourceProps`` Default: - No properties.
|
|
10664
10664
|
:param removal_policy: The policy to apply when this resource is removed from the application. Default: cdk.RemovalPolicy.Destroy
|
|
10665
10665
|
:param resource_type: For custom resources, you can specify AWS::CloudFormation::CustomResource (the default) as the resource type, or you can specify your own resource type name. For example, you can use "Custom::MyCustomResourceTypeName". Custom resource type names must begin with "Custom::" and can include alphanumeric characters and the following characters: _@-. You can specify a custom resource type name up to a maximum length of 60 characters. You cannot change the type during an update. Using your own resource type names helps you quickly differentiate the types of custom resources in your stack. For example, if you had two custom resources that conduct two different ping tests, you could name their type as Custom::PingTester to make them easily identifiable as ping testers (instead of using AWS::CloudFormation::CustomResource). Default: - AWS::CloudFormation::CustomResource
|
|
10666
|
-
:param service_timeout: The maximum time that can elapse before a custom resource operation times out. The value must be between 1 second and 3600 seconds. Default: Duration.seconds(3600)
|
|
10666
|
+
:param service_timeout: The maximum time that can elapse before a custom resource operation times out. The value must be between 1 second and 3600 seconds. Maps to `ServiceTimeout <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetimeout>`_ property for the ``AWS::CloudFormation::CustomResource`` resource Default: Duration.seconds(3600)
|
|
10667
10667
|
|
|
10668
10668
|
:exampleMetadata: infused
|
|
10669
10669
|
|
|
@@ -10738,6 +10738,8 @@ class CustomResourceProps:
|
|
|
10738
10738
|
CustomResource(self, "MyResource",
|
|
10739
10739
|
service_token=my_topic.topic_arn
|
|
10740
10740
|
)
|
|
10741
|
+
|
|
10742
|
+
Maps to `ServiceToken <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetoken>`_ property for the ``AWS::CloudFormation::CustomResource`` resource
|
|
10741
10743
|
'''
|
|
10742
10744
|
result = self._values.get("service_token")
|
|
10743
10745
|
assert result is not None, "Required property 'service_token' is missing"
|
|
@@ -10756,6 +10758,10 @@ class CustomResourceProps:
|
|
|
10756
10758
|
def properties(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
10757
10759
|
'''Properties to pass to the Lambda.
|
|
10758
10760
|
|
|
10761
|
+
Values in this ``properties`` dictionary can possibly overwrite other values in ``CustomResourceProps``
|
|
10762
|
+
E.g. ``ServiceToken`` and ``ServiceTimeout``
|
|
10763
|
+
It is recommended to avoid using same keys that exist in ``CustomResourceProps``
|
|
10764
|
+
|
|
10759
10765
|
:default: - No properties.
|
|
10760
10766
|
'''
|
|
10761
10767
|
result = self._values.get("properties")
|
|
@@ -10800,6 +10806,8 @@ class CustomResourceProps:
|
|
|
10800
10806
|
|
|
10801
10807
|
The value must be between 1 second and 3600 seconds.
|
|
10802
10808
|
|
|
10809
|
+
Maps to `ServiceTimeout <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetimeout>`_ property for the ``AWS::CloudFormation::CustomResource`` resource
|
|
10810
|
+
|
|
10803
10811
|
:default: Duration.seconds(3600)
|
|
10804
10812
|
'''
|
|
10805
10813
|
result = self._values.get("service_timeout")
|
|
@@ -12975,17 +12983,16 @@ class Duration(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Duration"):
|
|
|
12975
12983
|
schedule=events.Schedule.rate(cdk.Duration.hours(1))
|
|
12976
12984
|
)
|
|
12977
12985
|
|
|
12978
|
-
rule.add_target(
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
))
|
|
12986
|
+
rule.add_target(targets.EcsTask(
|
|
12987
|
+
cluster=cluster,
|
|
12988
|
+
task_definition=task_definition,
|
|
12989
|
+
task_count=1,
|
|
12990
|
+
container_overrides=[targets.ContainerOverride(
|
|
12991
|
+
container_name="TheContainer",
|
|
12992
|
+
command=["echo", events.EventField.from_path("$.detail.event")]
|
|
12993
|
+
)],
|
|
12994
|
+
enable_execute_command=True
|
|
12995
|
+
))
|
|
12989
12996
|
'''
|
|
12990
12997
|
|
|
12991
12998
|
@jsii.member(jsii_name="days")
|
|
@@ -13386,6 +13393,34 @@ class Errors(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Errors"):
|
|
|
13386
13393
|
def __init__(self) -> None:
|
|
13387
13394
|
jsii.create(self.__class__, self, [])
|
|
13388
13395
|
|
|
13396
|
+
@jsii.member(jsii_name="isAssertionError")
|
|
13397
|
+
@builtins.classmethod
|
|
13398
|
+
def is_assertion_error(cls, x: typing.Any) -> builtins.bool:
|
|
13399
|
+
'''Test whether the given error is a AssertionError.
|
|
13400
|
+
|
|
13401
|
+
An AssertionError is thrown when an assertion fails.
|
|
13402
|
+
|
|
13403
|
+
:param x: -
|
|
13404
|
+
'''
|
|
13405
|
+
if __debug__:
|
|
13406
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4b06766267738419297aaf93a2368e0c38c274adc14053ce29fd653d61c4cef4)
|
|
13407
|
+
check_type(argname="argument x", value=x, expected_type=type_hints["x"])
|
|
13408
|
+
return typing.cast(builtins.bool, jsii.sinvoke(cls, "isAssertionError", [x]))
|
|
13409
|
+
|
|
13410
|
+
@jsii.member(jsii_name="isCloudAssemblyError")
|
|
13411
|
+
@builtins.classmethod
|
|
13412
|
+
def is_cloud_assembly_error(cls, x: typing.Any) -> builtins.bool:
|
|
13413
|
+
'''Test whether the given error is a CloudAssemblyError.
|
|
13414
|
+
|
|
13415
|
+
A CloudAssemblyError is thrown for unexpected problems with the synthesized assembly.
|
|
13416
|
+
|
|
13417
|
+
:param x: -
|
|
13418
|
+
'''
|
|
13419
|
+
if __debug__:
|
|
13420
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1cadecf7c75d3f55ff2fcddf8a0d000d9f8e54b48218f1336d97358901d38c0b)
|
|
13421
|
+
check_type(argname="argument x", value=x, expected_type=type_hints["x"])
|
|
13422
|
+
return typing.cast(builtins.bool, jsii.sinvoke(cls, "isCloudAssemblyError", [x]))
|
|
13423
|
+
|
|
13389
13424
|
@jsii.member(jsii_name="isConstructError")
|
|
13390
13425
|
@builtins.classmethod
|
|
13391
13426
|
def is_construct_error(cls, x: typing.Any) -> builtins.bool:
|
|
@@ -20389,27 +20424,24 @@ class Size(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Size"):
|
|
|
20389
20424
|
|
|
20390
20425
|
Example::
|
|
20391
20426
|
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
20396
|
-
|
|
20397
|
-
|
|
20398
|
-
|
|
20399
|
-
),
|
|
20400
|
-
start_node=0,
|
|
20401
|
-
end_node=5
|
|
20402
|
-
)]
|
|
20427
|
+
# bucket: s3.Bucket
|
|
20428
|
+
# Provide a Lambda function that will transform records before delivery, with custom
|
|
20429
|
+
# buffering and retry configuration
|
|
20430
|
+
lambda_function = lambda_.Function(self, "Processor",
|
|
20431
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
20432
|
+
handler="index.handler",
|
|
20433
|
+
code=lambda_.Code.from_asset(path.join(__dirname, "process-records"))
|
|
20403
20434
|
)
|
|
20404
|
-
|
|
20405
|
-
|
|
20406
|
-
|
|
20407
|
-
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20435
|
+
lambda_processor = firehose.LambdaFunctionProcessor(lambda_function,
|
|
20436
|
+
buffer_interval=Duration.minutes(5),
|
|
20437
|
+
buffer_size=Size.mebibytes(5),
|
|
20438
|
+
retries=5
|
|
20439
|
+
)
|
|
20440
|
+
s3_destination = firehose.S3Bucket(bucket,
|
|
20441
|
+
processor=lambda_processor
|
|
20442
|
+
)
|
|
20443
|
+
firehose.DeliveryStream(self, "Delivery Stream",
|
|
20444
|
+
destination=s3_destination
|
|
20413
20445
|
)
|
|
20414
20446
|
'''
|
|
20415
20447
|
|
|
@@ -21221,9 +21253,9 @@ class Stack(
|
|
|
21221
21253
|
check that it is a concrete value an not an unresolved token. If this
|
|
21222
21254
|
value is an unresolved token (``Token.isUnresolved(stack.account)`` returns
|
|
21223
21255
|
``true``), this implies that the user wishes that this stack will synthesize
|
|
21224
|
-
into
|
|
21256
|
+
into an **account-agnostic template**. In this case, your code should either
|
|
21225
21257
|
fail (throw an error, emit a synth error using ``Annotations.of(construct).addError()``) or
|
|
21226
|
-
implement some other
|
|
21258
|
+
implement some other account-agnostic behavior.
|
|
21227
21259
|
'''
|
|
21228
21260
|
return typing.cast(builtins.str, jsii.get(self, "account"))
|
|
21229
21261
|
|
|
@@ -33792,12 +33824,12 @@ class CustomResource(
|
|
|
33792
33824
|
'''
|
|
33793
33825
|
:param scope: -
|
|
33794
33826
|
:param id: -
|
|
33795
|
-
:param service_token: The ARN of the provider which implements this custom resource type. You can implement a provider by listening to raw AWS CloudFormation events and specify the ARN of an SNS topic (``topic.topicArn``) or the ARN of an AWS Lambda function (``lambda.functionArn``) or use the CDK's custom `resource provider framework <https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html>`_ which makes it easier to implement robust providers. Provider framework:: // use the provider framework from aws-cdk/custom-resources: const provider = new customresources.Provider(this, 'ResourceProvider', { onEventHandler, isCompleteHandler, // optional }); new CustomResource(this, 'MyResource', { serviceToken: provider.serviceToken, }); AWS Lambda function (not recommended to use AWS Lambda Functions directly, see the module README):: // invoke an AWS Lambda function when a lifecycle event occurs: new CustomResource(this, 'MyResource', { serviceToken: myFunction.functionArn, }); SNS topic (not recommended to use AWS Lambda Functions directly, see the module README):: // publish lifecycle events to an SNS topic: new CustomResource(this, 'MyResource', { serviceToken: myTopic.topicArn, });
|
|
33827
|
+
:param service_token: The ARN of the provider which implements this custom resource type. You can implement a provider by listening to raw AWS CloudFormation events and specify the ARN of an SNS topic (``topic.topicArn``) or the ARN of an AWS Lambda function (``lambda.functionArn``) or use the CDK's custom `resource provider framework <https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html>`_ which makes it easier to implement robust providers. Provider framework:: // use the provider framework from aws-cdk/custom-resources: const provider = new customresources.Provider(this, 'ResourceProvider', { onEventHandler, isCompleteHandler, // optional }); new CustomResource(this, 'MyResource', { serviceToken: provider.serviceToken, }); AWS Lambda function (not recommended to use AWS Lambda Functions directly, see the module README):: // invoke an AWS Lambda function when a lifecycle event occurs: new CustomResource(this, 'MyResource', { serviceToken: myFunction.functionArn, }); SNS topic (not recommended to use AWS Lambda Functions directly, see the module README):: // publish lifecycle events to an SNS topic: new CustomResource(this, 'MyResource', { serviceToken: myTopic.topicArn, }); Maps to `ServiceToken <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetoken>`_ property for the ``AWS::CloudFormation::CustomResource`` resource
|
|
33796
33828
|
:param pascal_case_properties: Convert all property keys to pascal case. Default: false
|
|
33797
|
-
:param properties: Properties to pass to the Lambda. Default: - No properties.
|
|
33829
|
+
:param properties: Properties to pass to the Lambda. Values in this ``properties`` dictionary can possibly overwrite other values in ``CustomResourceProps`` E.g. ``ServiceToken`` and ``ServiceTimeout`` It is recommended to avoid using same keys that exist in ``CustomResourceProps`` Default: - No properties.
|
|
33798
33830
|
:param removal_policy: The policy to apply when this resource is removed from the application. Default: cdk.RemovalPolicy.Destroy
|
|
33799
33831
|
:param resource_type: For custom resources, you can specify AWS::CloudFormation::CustomResource (the default) as the resource type, or you can specify your own resource type name. For example, you can use "Custom::MyCustomResourceTypeName". Custom resource type names must begin with "Custom::" and can include alphanumeric characters and the following characters: _@-. You can specify a custom resource type name up to a maximum length of 60 characters. You cannot change the type during an update. Using your own resource type names helps you quickly differentiate the types of custom resources in your stack. For example, if you had two custom resources that conduct two different ping tests, you could name their type as Custom::PingTester to make them easily identifiable as ping testers (instead of using AWS::CloudFormation::CustomResource). Default: - AWS::CloudFormation::CustomResource
|
|
33800
|
-
:param service_timeout: The maximum time that can elapse before a custom resource operation times out. The value must be between 1 second and 3600 seconds. Default: Duration.seconds(3600)
|
|
33832
|
+
:param service_timeout: The maximum time that can elapse before a custom resource operation times out. The value must be between 1 second and 3600 seconds. Maps to `ServiceTimeout <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetimeout>`_ property for the ``AWS::CloudFormation::CustomResource`` resource Default: Duration.seconds(3600)
|
|
33801
33833
|
'''
|
|
33802
33834
|
if __debug__:
|
|
33803
33835
|
type_hints = typing.get_type_hints(_typecheckingstub__5c89cdcdef1901fae8effe187c732f9fbf4ec5793ae2938cebb924671df2c26f)
|
|
@@ -36548,7 +36580,6 @@ __all__ = [
|
|
|
36548
36580
|
"custom_resources",
|
|
36549
36581
|
"cx_api",
|
|
36550
36582
|
"lambda_layer_awscli",
|
|
36551
|
-
"lambda_layer_kubectl",
|
|
36552
36583
|
"lambda_layer_node_proxy_agent",
|
|
36553
36584
|
"pipelines",
|
|
36554
36585
|
"region_info",
|
|
@@ -36842,7 +36873,6 @@ from . import cloudformation_include
|
|
|
36842
36873
|
from . import custom_resources
|
|
36843
36874
|
from . import cx_api
|
|
36844
36875
|
from . import lambda_layer_awscli
|
|
36845
|
-
from . import lambda_layer_kubectl
|
|
36846
36876
|
from . import lambda_layer_node_proxy_agent
|
|
36847
36877
|
from . import pipelines
|
|
36848
36878
|
from . import region_info
|
|
@@ -38174,6 +38204,18 @@ def _typecheckingstub__779551ef0a4b144070fd2c3e88ff076e32ad12d30facdc65a940b7a87
|
|
|
38174
38204
|
"""Type checking stubs"""
|
|
38175
38205
|
pass
|
|
38176
38206
|
|
|
38207
|
+
def _typecheckingstub__4b06766267738419297aaf93a2368e0c38c274adc14053ce29fd653d61c4cef4(
|
|
38208
|
+
x: typing.Any,
|
|
38209
|
+
) -> None:
|
|
38210
|
+
"""Type checking stubs"""
|
|
38211
|
+
pass
|
|
38212
|
+
|
|
38213
|
+
def _typecheckingstub__1cadecf7c75d3f55ff2fcddf8a0d000d9f8e54b48218f1336d97358901d38c0b(
|
|
38214
|
+
x: typing.Any,
|
|
38215
|
+
) -> None:
|
|
38216
|
+
"""Type checking stubs"""
|
|
38217
|
+
pass
|
|
38218
|
+
|
|
38177
38219
|
def _typecheckingstub__0c62bc5a6fe032556ae3c32e105ddaad3f4ca89286fd26884af6347d3364c5ae(
|
|
38178
38220
|
x: typing.Any,
|
|
38179
38221
|
) -> None:
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -29,13 +29,12 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
29
29
|
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
30
30
|
|
|
31
31
|
import aws_cdk.asset_awscli_v1._jsii
|
|
32
|
-
import aws_cdk.asset_kubectl_v20._jsii
|
|
33
32
|
import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
34
33
|
import aws_cdk.cloud_assembly_schema._jsii
|
|
35
34
|
import constructs._jsii
|
|
36
35
|
|
|
37
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
38
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.180.0", __name__[0:-6], "aws-cdk-lib@2.180.0.jsii.tgz"
|
|
39
38
|
)
|
|
40
39
|
|
|
41
40
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_acmpca/__init__.py
CHANGED
|
@@ -2728,7 +2728,9 @@ class CfnCertificateAuthority(
|
|
|
2728
2728
|
name_mapping={
|
|
2729
2729
|
"enabled": "enabled",
|
|
2730
2730
|
"crl_distribution_point_extension_configuration": "crlDistributionPointExtensionConfiguration",
|
|
2731
|
+
"crl_type": "crlType",
|
|
2731
2732
|
"custom_cname": "customCname",
|
|
2733
|
+
"custom_path": "customPath",
|
|
2732
2734
|
"expiration_in_days": "expirationInDays",
|
|
2733
2735
|
"s3_bucket_name": "s3BucketName",
|
|
2734
2736
|
"s3_object_acl": "s3ObjectAcl",
|
|
@@ -2740,7 +2742,9 @@ class CfnCertificateAuthority(
|
|
|
2740
2742
|
*,
|
|
2741
2743
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2742
2744
|
crl_distribution_point_extension_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCertificateAuthority.CrlDistributionPointExtensionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2745
|
+
crl_type: typing.Optional[builtins.str] = None,
|
|
2743
2746
|
custom_cname: typing.Optional[builtins.str] = None,
|
|
2747
|
+
custom_path: typing.Optional[builtins.str] = None,
|
|
2744
2748
|
expiration_in_days: typing.Optional[jsii.Number] = None,
|
|
2745
2749
|
s3_bucket_name: typing.Optional[builtins.str] = None,
|
|
2746
2750
|
s3_object_acl: typing.Optional[builtins.str] = None,
|
|
@@ -2781,7 +2785,9 @@ class CfnCertificateAuthority(
|
|
|
2781
2785
|
|
|
2782
2786
|
:param enabled: Boolean value that specifies whether certificate revocation lists (CRLs) are enabled. You can use this value to enable certificate revocation for a new CA when you call the ``CreateCertificateAuthority`` operation or for an existing CA when you call the ``UpdateCertificateAuthority`` operation.
|
|
2783
2787
|
:param crl_distribution_point_extension_configuration: Configures the default behavior of the CRL Distribution Point extension for certificates issued by your CA. If this field is not provided, then the CRL Distribution Point extension will be present and contain the default CRL URL.
|
|
2788
|
+
:param crl_type: Specifies the type of CRL. This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see `AWS Private CA quotas <https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca>`_ . - ``COMPLETE`` - The default setting. AWS Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason. Each certificate that AWS Private CA issues is bound to a specific CRL through the CRL distribution point (CDP) defined in `RFC 5280 <https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280>`_ . - ``PARTITIONED`` - Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. .. epigraph:: When using partitioned CRLs, you must validate that the CRL's associated issuing distribution point (IDP) URI matches the certificate's CDP URI to ensure the right CRL has been fetched. AWS Private CA marks the IDP extension as critical, which your client must be able to process.
|
|
2784
2789
|
:param custom_cname: Name inserted into the certificate *CRL Distribution Points* extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. .. epigraph:: The content of a Canonical Name (CNAME) record must conform to `RFC2396 <https://docs.aws.amazon.com/https://www.ietf.org/rfc/rfc2396.txt>`_ restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
|
|
2790
|
+
:param custom_path: Designates a custom file path in S3 for CRL(s). For example, ``http://<CustomName>/<CustomPath>/<CrlPartition_GUID>.crl`` .
|
|
2785
2791
|
:param expiration_in_days: Validity period of the CRL in days.
|
|
2786
2792
|
:param s3_bucket_name: Name of the S3 bucket that contains the CRL. If you do not provide a value for the *CustomCname* argument, the name of your S3 bucket is placed into the *CRL Distribution Points* extension of the issued certificate. You can change the name of your bucket by calling the `UpdateCertificateAuthority <https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html>`_ operation. You must specify a `bucket policy <https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-policies>`_ that allows AWS Private CA to write the CRL to your bucket. .. epigraph:: The ``S3BucketName`` parameter must conform to the `S3 bucket naming rules <https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html>`_ .
|
|
2787
2793
|
:param s3_object_acl: Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. If no value is specified, the default is PUBLIC_READ. *Note:* This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as ``BUCKET_OWNER_FULL_CONTROL`` , and not doing so results in an error. If you have disabled BPA in S3, then you can specify either ``BUCKET_OWNER_FULL_CONTROL`` or ``PUBLIC_READ`` as the value. For more information, see `Blocking public access to the S3 bucket <https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-bpa>`_ .
|
|
@@ -2802,7 +2808,9 @@ class CfnCertificateAuthority(
|
|
|
2802
2808
|
crl_distribution_point_extension_configuration=acmpca.CfnCertificateAuthority.CrlDistributionPointExtensionConfigurationProperty(
|
|
2803
2809
|
omit_extension=False
|
|
2804
2810
|
),
|
|
2811
|
+
crl_type="crlType",
|
|
2805
2812
|
custom_cname="customCname",
|
|
2813
|
+
custom_path="customPath",
|
|
2806
2814
|
expiration_in_days=123,
|
|
2807
2815
|
s3_bucket_name="s3BucketName",
|
|
2808
2816
|
s3_object_acl="s3ObjectAcl"
|
|
@@ -2812,7 +2820,9 @@ class CfnCertificateAuthority(
|
|
|
2812
2820
|
type_hints = typing.get_type_hints(_typecheckingstub__de72782a3b3117c1f101c2c6c2fad457863e581a5bdcd67a1280a825dc55ea17)
|
|
2813
2821
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
2814
2822
|
check_type(argname="argument crl_distribution_point_extension_configuration", value=crl_distribution_point_extension_configuration, expected_type=type_hints["crl_distribution_point_extension_configuration"])
|
|
2823
|
+
check_type(argname="argument crl_type", value=crl_type, expected_type=type_hints["crl_type"])
|
|
2815
2824
|
check_type(argname="argument custom_cname", value=custom_cname, expected_type=type_hints["custom_cname"])
|
|
2825
|
+
check_type(argname="argument custom_path", value=custom_path, expected_type=type_hints["custom_path"])
|
|
2816
2826
|
check_type(argname="argument expiration_in_days", value=expiration_in_days, expected_type=type_hints["expiration_in_days"])
|
|
2817
2827
|
check_type(argname="argument s3_bucket_name", value=s3_bucket_name, expected_type=type_hints["s3_bucket_name"])
|
|
2818
2828
|
check_type(argname="argument s3_object_acl", value=s3_object_acl, expected_type=type_hints["s3_object_acl"])
|
|
@@ -2821,8 +2831,12 @@ class CfnCertificateAuthority(
|
|
|
2821
2831
|
}
|
|
2822
2832
|
if crl_distribution_point_extension_configuration is not None:
|
|
2823
2833
|
self._values["crl_distribution_point_extension_configuration"] = crl_distribution_point_extension_configuration
|
|
2834
|
+
if crl_type is not None:
|
|
2835
|
+
self._values["crl_type"] = crl_type
|
|
2824
2836
|
if custom_cname is not None:
|
|
2825
2837
|
self._values["custom_cname"] = custom_cname
|
|
2838
|
+
if custom_path is not None:
|
|
2839
|
+
self._values["custom_path"] = custom_path
|
|
2826
2840
|
if expiration_in_days is not None:
|
|
2827
2841
|
self._values["expiration_in_days"] = expiration_in_days
|
|
2828
2842
|
if s3_bucket_name is not None:
|
|
@@ -2855,6 +2869,24 @@ class CfnCertificateAuthority(
|
|
|
2855
2869
|
result = self._values.get("crl_distribution_point_extension_configuration")
|
|
2856
2870
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCertificateAuthority.CrlDistributionPointExtensionConfigurationProperty"]], result)
|
|
2857
2871
|
|
|
2872
|
+
@builtins.property
|
|
2873
|
+
def crl_type(self) -> typing.Optional[builtins.str]:
|
|
2874
|
+
'''Specifies the type of CRL.
|
|
2875
|
+
|
|
2876
|
+
This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see `AWS Private CA quotas <https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca>`_ .
|
|
2877
|
+
|
|
2878
|
+
- ``COMPLETE`` - The default setting. AWS Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason. Each certificate that AWS Private CA issues is bound to a specific CRL through the CRL distribution point (CDP) defined in `RFC 5280 <https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280>`_ .
|
|
2879
|
+
- ``PARTITIONED`` - Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue.
|
|
2880
|
+
|
|
2881
|
+
.. epigraph::
|
|
2882
|
+
|
|
2883
|
+
When using partitioned CRLs, you must validate that the CRL's associated issuing distribution point (IDP) URI matches the certificate's CDP URI to ensure the right CRL has been fetched. AWS Private CA marks the IDP extension as critical, which your client must be able to process.
|
|
2884
|
+
|
|
2885
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-crltype
|
|
2886
|
+
'''
|
|
2887
|
+
result = self._values.get("crl_type")
|
|
2888
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2889
|
+
|
|
2858
2890
|
@builtins.property
|
|
2859
2891
|
def custom_cname(self) -> typing.Optional[builtins.str]:
|
|
2860
2892
|
'''Name inserted into the certificate *CRL Distribution Points* extension that enables the use of an alias for the CRL distribution point.
|
|
@@ -2869,6 +2901,17 @@ class CfnCertificateAuthority(
|
|
|
2869
2901
|
result = self._values.get("custom_cname")
|
|
2870
2902
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2871
2903
|
|
|
2904
|
+
@builtins.property
|
|
2905
|
+
def custom_path(self) -> typing.Optional[builtins.str]:
|
|
2906
|
+
'''Designates a custom file path in S3 for CRL(s).
|
|
2907
|
+
|
|
2908
|
+
For example, ``http://<CustomName>/<CustomPath>/<CrlPartition_GUID>.crl`` .
|
|
2909
|
+
|
|
2910
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-custompath
|
|
2911
|
+
'''
|
|
2912
|
+
result = self._values.get("custom_path")
|
|
2913
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2914
|
+
|
|
2872
2915
|
@builtins.property
|
|
2873
2916
|
def expiration_in_days(self) -> typing.Optional[jsii.Number]:
|
|
2874
2917
|
'''Validity period of the CRL in days.
|
|
@@ -3876,7 +3919,9 @@ class CfnCertificateAuthority(
|
|
|
3876
3919
|
crl_distribution_point_extension_configuration=acmpca.CfnCertificateAuthority.CrlDistributionPointExtensionConfigurationProperty(
|
|
3877
3920
|
omit_extension=False
|
|
3878
3921
|
),
|
|
3922
|
+
crl_type="crlType",
|
|
3879
3923
|
custom_cname="customCname",
|
|
3924
|
+
custom_path="customPath",
|
|
3880
3925
|
expiration_in_days=123,
|
|
3881
3926
|
s3_bucket_name="s3BucketName",
|
|
3882
3927
|
s3_object_acl="s3ObjectAcl"
|
|
@@ -5624,7 +5669,9 @@ def _typecheckingstub__de72782a3b3117c1f101c2c6c2fad457863e581a5bdcd67a1280a825d
|
|
|
5624
5669
|
*,
|
|
5625
5670
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
5626
5671
|
crl_distribution_point_extension_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCertificateAuthority.CrlDistributionPointExtensionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5672
|
+
crl_type: typing.Optional[builtins.str] = None,
|
|
5627
5673
|
custom_cname: typing.Optional[builtins.str] = None,
|
|
5674
|
+
custom_path: typing.Optional[builtins.str] = None,
|
|
5628
5675
|
expiration_in_days: typing.Optional[jsii.Number] = None,
|
|
5629
5676
|
s3_bucket_name: typing.Optional[builtins.str] = None,
|
|
5630
5677
|
s3_object_acl: typing.Optional[builtins.str] = None,
|