aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.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.

Files changed (62) hide show
  1. aws_cdk/__init__.py +36 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +22 -8
  5. aws_cdk/aws_apigatewayv2/__init__.py +30 -0
  6. aws_cdk/aws_appconfig/__init__.py +3 -3
  7. aws_cdk/aws_applicationinsights/__init__.py +544 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +170 -142
  9. aws_cdk/aws_athena/__init__.py +15 -15
  10. aws_cdk/aws_auditmanager/__init__.py +5 -5
  11. aws_cdk/aws_bedrock/__init__.py +7 -7
  12. aws_cdk/aws_codebuild/__init__.py +39 -18
  13. aws_cdk/aws_codeconnections/__init__.py +1 -1
  14. aws_cdk/aws_cognito/__init__.py +390 -203
  15. aws_cdk/aws_connect/__init__.py +1679 -152
  16. aws_cdk/aws_datazone/__init__.py +665 -40
  17. aws_cdk/aws_docdb/__init__.py +6 -1
  18. aws_cdk/aws_dynamodb/__init__.py +5 -5
  19. aws_cdk/aws_ec2/__init__.py +121 -36
  20. aws_cdk/aws_ecr/__init__.py +14 -6
  21. aws_cdk/aws_ecs/__init__.py +20 -20
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
  23. aws_cdk/aws_emr/__init__.py +8 -8
  24. aws_cdk/aws_events/__init__.py +19 -17
  25. aws_cdk/aws_events_targets/__init__.py +165 -85
  26. aws_cdk/aws_fms/__init__.py +59 -0
  27. aws_cdk/aws_fsx/__init__.py +3 -3
  28. aws_cdk/aws_gamelift/__init__.py +40 -52
  29. aws_cdk/aws_globalaccelerator/__init__.py +22 -29
  30. aws_cdk/aws_iam/__init__.py +22 -20
  31. aws_cdk/aws_iotfleetwise/__init__.py +419 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +90 -1
  33. aws_cdk/aws_iotwireless/__init__.py +205 -0
  34. aws_cdk/aws_lambda/__init__.py +129 -16
  35. aws_cdk/aws_lex/__init__.py +15 -1
  36. aws_cdk/aws_logs/__init__.py +1 -1
  37. aws_cdk/aws_mediaconnect/__init__.py +111 -0
  38. aws_cdk/aws_medialive/__init__.py +7988 -3262
  39. aws_cdk/aws_msk/__init__.py +287 -479
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
  42. aws_cdk/aws_pipes/__init__.py +49 -0
  43. aws_cdk/aws_qbusiness/__init__.py +11 -14
  44. aws_cdk/aws_quicksight/__init__.py +638 -99
  45. aws_cdk/aws_rds/__init__.py +38 -27
  46. aws_cdk/aws_s3/__init__.py +215 -33
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_sagemaker/__init__.py +872 -58
  49. aws_cdk/aws_secretsmanager/__init__.py +22 -8
  50. aws_cdk/aws_securityhub/__init__.py +261 -19
  51. aws_cdk/aws_securitylake/__init__.py +327 -7
  52. aws_cdk/aws_servicediscovery/__init__.py +5 -5
  53. aws_cdk/aws_sns/__init__.py +0 -8
  54. aws_cdk/aws_ssm/__init__.py +20 -12
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
  56. aws_cdk/cx_api/__init__.py +19 -0
  57. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
@@ -487,7 +487,12 @@ class CaCertificate(
487
487
  @jsii.python.classproperty
488
488
  @jsii.member(jsii_name="RDS_CA_2019")
489
489
  def RDS_CA_2019(cls) -> _CaCertificate_e77d2630:
490
- '''rds-ca-2019 certificate authority.'''
490
+ '''(deprecated) rds-ca-2019 certificate authority.
491
+
492
+ :deprecated: rds-ca-2019 expired in August, 2024.
493
+
494
+ :stability: deprecated
495
+ '''
491
496
  return typing.cast(_CaCertificate_e77d2630, jsii.sget(cls, "RDS_CA_2019"))
492
497
 
493
498
  @jsii.python.classproperty
@@ -11592,7 +11592,7 @@ class TableOptions(SchemaOptions):
11592
11592
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
11593
11593
  :param table_class: Specify the table class. Default: STANDARD
11594
11594
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
11595
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
11595
+ :param wait_for_replication_to_finish: [WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
11596
11596
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
11597
11597
 
11598
11598
  :exampleMetadata: fixture=_generated
@@ -11930,7 +11930,7 @@ class TableOptions(SchemaOptions):
11930
11930
 
11931
11931
  @builtins.property
11932
11932
  def wait_for_replication_to_finish(self) -> typing.Optional[builtins.bool]:
11933
- '''Indicates whether CloudFormation stack waits for replication to finish.
11933
+ '''[WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish.
11934
11934
 
11935
11935
  If set to false, the CloudFormation resource will mark the resource as
11936
11936
  created and replication will be completed asynchronously. This property is
@@ -12222,7 +12222,7 @@ class TableProps(TableOptions):
12222
12222
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
12223
12223
  :param table_class: Specify the table class. Default: STANDARD
12224
12224
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
12225
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
12225
+ :param wait_for_replication_to_finish: [WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
12226
12226
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
12227
12227
  :param kinesis_stream: Kinesis Data Stream to capture item-level changes for the table. Default: - no Kinesis Data Stream
12228
12228
  :param table_name: Enforces a particular physical table name. Default:
@@ -12537,7 +12537,7 @@ class TableProps(TableOptions):
12537
12537
 
12538
12538
  @builtins.property
12539
12539
  def wait_for_replication_to_finish(self) -> typing.Optional[builtins.bool]:
12540
- '''Indicates whether CloudFormation stack waits for replication to finish.
12540
+ '''[WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish.
12541
12541
 
12542
12542
  If set to false, the CloudFormation resource will mark the resource as
12543
12543
  created and replication will be completed asynchronously. This property is
@@ -14565,7 +14565,7 @@ class Table(
14565
14565
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
14566
14566
  :param table_class: Specify the table class. Default: STANDARD
14567
14567
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
14568
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
14568
+ :param wait_for_replication_to_finish: [WARNING: Use this flag with caution, misusing this flag may cause deleting existing replicas, refer to the detailed documentation for more information] Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
14569
14569
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
14570
14570
  :param partition_key: Partition key attribute definition.
14571
14571
  :param sort_key: Sort key attribute definition. Default: no sort key
@@ -23965,7 +23965,7 @@ class CfnLaunchTemplate(
23965
23965
  :param id: Construct identifier for this resource (unique in its scope).
23966
23966
  :param launch_template_data: The information for the launch template.
23967
23967
  :param launch_template_name: A name for the launch template.
23968
- :param tag_specifications: The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template`` . To specify the tags for the resources that are created when an instance is launched, you must use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
23968
+ :param tag_specifications: The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template`` . To specify the tags for resources that are created during instance launch, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
23969
23969
  :param version_description: A description for the first version of the launch template.
23970
23970
  '''
23971
23971
  if __debug__:
@@ -26481,7 +26481,7 @@ class CfnLaunchTemplate(
26481
26481
  :param ram_disk_id: The ID of the RAM disk. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html>`_ in the *Amazon EC2 User Guide* .
26482
26482
  :param security_group_ids: The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
26483
26483
  :param security_groups: The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
26484
- :param tag_specifications: The tags to apply to the resources that are created during instance launch. To tag a resource after it has been created, see `CreateTags <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html>`_ . To tag the launch template itself, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications>`_ .
26484
+ :param tag_specifications: The tags to apply to resources that are created during instance launch. To tag the launch template itself, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications>`_ .
26485
26485
  :param user_data: The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see `Run commands on your Amazon EC2 instance at launch <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html>`_ in the *Amazon EC2 User Guide* . If you are creating the launch template for use with AWS Batch , the user data must be provided in the `MIME multi-part archive format <https://docs.aws.amazon.com/https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive>`_ . For more information, see `Amazon EC2 user data in launch templates <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html>`_ in the *AWS Batch User Guide* .
26486
26486
 
26487
26487
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html
@@ -27186,9 +27186,7 @@ class CfnLaunchTemplate(
27186
27186
  def tag_specifications(
27187
27187
  self,
27188
27188
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.TagSpecificationProperty"]]]]:
27189
- '''The tags to apply to the resources that are created during instance launch.
27190
-
27191
- To tag a resource after it has been created, see `CreateTags <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html>`_ .
27189
+ '''The tags to apply to resources that are created during instance launch.
27192
27190
 
27193
27191
  To tag the launch template itself, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications>`_ .
27194
27192
 
@@ -27311,6 +27309,8 @@ class CfnLaunchTemplate(
27311
27309
  ) -> None:
27312
27310
  '''Specifies the tags to apply to the launch template during creation.
27313
27311
 
27312
+ To specify the tags for the resources that are created during instance launch, use `AWS::EC2::LaunchTemplate TagSpecification <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-tagspecification.html>`_ .
27313
+
27314
27314
  ``LaunchTemplateTagSpecification`` is a property of `AWS::EC2::LaunchTemplate <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html>`_ .
27315
27315
 
27316
27316
  :param resource_type: The type of resource. To tag a launch template, ``ResourceType`` must be ``launch-template`` .
@@ -28974,7 +28974,7 @@ class CfnLaunchTemplate(
28974
28974
  resource_type: typing.Optional[builtins.str] = None,
28975
28975
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28976
28976
  ) -> None:
28977
- '''Specifies the tags to apply to a resource when the resource is created for the launch template.
28977
+ '''Specifies the tags to apply to resources that are created during instance launch.
28978
28978
 
28979
28979
  ``TagSpecification`` is a property type of ```TagSpecifications`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ . ```TagSpecifications`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
28980
28980
 
@@ -29213,7 +29213,7 @@ class CfnLaunchTemplateProps:
29213
29213
 
29214
29214
  :param launch_template_data: The information for the launch template.
29215
29215
  :param launch_template_name: A name for the launch template.
29216
- :param tag_specifications: The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template`` . To specify the tags for the resources that are created when an instance is launched, you must use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
29216
+ :param tag_specifications: The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template`` . To specify the tags for resources that are created during instance launch, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
29217
29217
  :param version_description: A description for the first version of the launch template.
29218
29218
 
29219
29219
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html
@@ -29294,7 +29294,7 @@ class CfnLaunchTemplateProps:
29294
29294
 
29295
29295
  To tag the launch template, the resource type must be ``launch-template`` .
29296
29296
 
29297
- To specify the tags for the resources that are created when an instance is launched, you must use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
29297
+ To specify the tags for resources that are created during instance launch, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications>`_ .
29298
29298
 
29299
29299
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications
29300
29300
  '''
@@ -56499,7 +56499,7 @@ class CfnVPCEndpoint(
56499
56499
 
56500
56500
  A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS , an AWS Marketplace Partner, or another AWS accounts in your organization. For more information, see the `AWS PrivateLink User Guide <https://docs.aws.amazon.com/vpc/latest/privatelink/>`_ .
56501
56501
 
56502
- An endpoint of type ``Interface`` establishes connections between the subnets in your VPC and an , your own service, or a service hosted by another AWS account . With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.
56502
+ An endpoint of type ``Interface`` establishes connections between the subnets in your VPC and an AWS service , your own service, or a service hosted by another AWS account . With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.
56503
56503
 
56504
56504
  An endpoint of type ``gateway`` serves as a target for a route in your route table for traffic destined for Amazon S3 or DynamoDB . You can specify an endpoint policy for the endpoint, which controls access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. For more information about connectivity to Amazon S3 , see `Why can't I connect to an S3 bucket using a gateway VPC endpoint? <https://docs.aws.amazon.com/premiumsupport/knowledge-center/connect-s3-vpc-endpoint>`_
56505
56505
 
@@ -58614,16 +58614,16 @@ class CfnVPNConnection(
58614
58614
  :param customer_gateway_id: The ID of the customer gateway at your end of the VPN connection.
58615
58615
  :param type: The type of VPN connection.
58616
58616
  :param enable_acceleration: Indicate whether to enable acceleration for the VPN connection. Default: ``false``
58617
- :param local_ipv4_network_cidr:
58618
- :param local_ipv6_network_cidr:
58619
- :param outside_ip_address_type:
58620
- :param remote_ipv4_network_cidr:
58621
- :param remote_ipv6_network_cidr:
58617
+ :param local_ipv4_network_cidr: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``0.0.0.0/0``
58618
+ :param local_ipv6_network_cidr: The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``::/0``
58619
+ :param outside_ip_address_type: The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` Default: ``PublicIpv4``
58620
+ :param remote_ipv4_network_cidr: The IPv4 CIDR on the AWS side of the VPN connection. Default: ``0.0.0.0/0``
58621
+ :param remote_ipv6_network_cidr: The IPv6 CIDR on the AWS side of the VPN connection. Default: ``::/0``
58622
58622
  :param static_routes_only: Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify ``true`` .
58623
58623
  :param tags: Any tags assigned to the VPN connection.
58624
58624
  :param transit_gateway_id: The ID of the transit gateway associated with the VPN connection. You must specify either ``TransitGatewayId`` or ``VpnGatewayId`` , but not both.
58625
- :param transport_transit_gateway_attachment_id:
58626
- :param tunnel_inside_ip_version:
58625
+ :param transport_transit_gateway_attachment_id: The transit gateway attachment ID to use for the VPN tunnel. Required if ``OutsideIpAddressType`` is set to ``PrivateIpv4`` .
58626
+ :param tunnel_inside_ip_version: Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: ``ipv4``
58627
58627
  :param vpn_gateway_id: The ID of the virtual private gateway at the AWS side of the VPN connection. You must specify either ``TransitGatewayId`` or ``VpnGatewayId`` , but not both.
58628
58628
  :param vpn_tunnel_options_specifications: The tunnel options for the VPN connection.
58629
58629
  '''
@@ -58748,6 +58748,7 @@ class CfnVPNConnection(
58748
58748
  @builtins.property
58749
58749
  @jsii.member(jsii_name="localIpv4NetworkCidr")
58750
58750
  def local_ipv4_network_cidr(self) -> typing.Optional[builtins.str]:
58751
+ '''The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.'''
58751
58752
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "localIpv4NetworkCidr"))
58752
58753
 
58753
58754
  @local_ipv4_network_cidr.setter
@@ -58760,6 +58761,7 @@ class CfnVPNConnection(
58760
58761
  @builtins.property
58761
58762
  @jsii.member(jsii_name="localIpv6NetworkCidr")
58762
58763
  def local_ipv6_network_cidr(self) -> typing.Optional[builtins.str]:
58764
+ '''The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.'''
58763
58765
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "localIpv6NetworkCidr"))
58764
58766
 
58765
58767
  @local_ipv6_network_cidr.setter
@@ -58772,6 +58774,7 @@ class CfnVPNConnection(
58772
58774
  @builtins.property
58773
58775
  @jsii.member(jsii_name="outsideIpAddressType")
58774
58776
  def outside_ip_address_type(self) -> typing.Optional[builtins.str]:
58777
+ '''The type of IPv4 address assigned to the outside interface of the customer gateway device.'''
58775
58778
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "outsideIpAddressType"))
58776
58779
 
58777
58780
  @outside_ip_address_type.setter
@@ -58784,6 +58787,7 @@ class CfnVPNConnection(
58784
58787
  @builtins.property
58785
58788
  @jsii.member(jsii_name="remoteIpv4NetworkCidr")
58786
58789
  def remote_ipv4_network_cidr(self) -> typing.Optional[builtins.str]:
58790
+ '''The IPv4 CIDR on the AWS side of the VPN connection.'''
58787
58791
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "remoteIpv4NetworkCidr"))
58788
58792
 
58789
58793
  @remote_ipv4_network_cidr.setter
@@ -58796,6 +58800,7 @@ class CfnVPNConnection(
58796
58800
  @builtins.property
58797
58801
  @jsii.member(jsii_name="remoteIpv6NetworkCidr")
58798
58802
  def remote_ipv6_network_cidr(self) -> typing.Optional[builtins.str]:
58803
+ '''The IPv6 CIDR on the AWS side of the VPN connection.'''
58799
58804
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "remoteIpv6NetworkCidr"))
58800
58805
 
58801
58806
  @remote_ipv6_network_cidr.setter
@@ -58852,6 +58857,7 @@ class CfnVPNConnection(
58852
58857
  @builtins.property
58853
58858
  @jsii.member(jsii_name="transportTransitGatewayAttachmentId")
58854
58859
  def transport_transit_gateway_attachment_id(self) -> typing.Optional[builtins.str]:
58860
+ '''The transit gateway attachment ID to use for the VPN tunnel.'''
58855
58861
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "transportTransitGatewayAttachmentId"))
58856
58862
 
58857
58863
  @transport_transit_gateway_attachment_id.setter
@@ -58867,6 +58873,7 @@ class CfnVPNConnection(
58867
58873
  @builtins.property
58868
58874
  @jsii.member(jsii_name="tunnelInsideIpVersion")
58869
58875
  def tunnel_inside_ip_version(self) -> typing.Optional[builtins.str]:
58876
+ '''Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.'''
58870
58877
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "tunnelInsideIpVersion"))
58871
58878
 
58872
58879
  @tunnel_inside_ip_version.setter
@@ -59041,16 +59048,16 @@ class CfnVPNConnectionProps:
59041
59048
  :param customer_gateway_id: The ID of the customer gateway at your end of the VPN connection.
59042
59049
  :param type: The type of VPN connection.
59043
59050
  :param enable_acceleration: Indicate whether to enable acceleration for the VPN connection. Default: ``false``
59044
- :param local_ipv4_network_cidr:
59045
- :param local_ipv6_network_cidr:
59046
- :param outside_ip_address_type:
59047
- :param remote_ipv4_network_cidr:
59048
- :param remote_ipv6_network_cidr:
59051
+ :param local_ipv4_network_cidr: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``0.0.0.0/0``
59052
+ :param local_ipv6_network_cidr: The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``::/0``
59053
+ :param outside_ip_address_type: The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` Default: ``PublicIpv4``
59054
+ :param remote_ipv4_network_cidr: The IPv4 CIDR on the AWS side of the VPN connection. Default: ``0.0.0.0/0``
59055
+ :param remote_ipv6_network_cidr: The IPv6 CIDR on the AWS side of the VPN connection. Default: ``::/0``
59049
59056
  :param static_routes_only: Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify ``true`` .
59050
59057
  :param tags: Any tags assigned to the VPN connection.
59051
59058
  :param transit_gateway_id: The ID of the transit gateway associated with the VPN connection. You must specify either ``TransitGatewayId`` or ``VpnGatewayId`` , but not both.
59052
- :param transport_transit_gateway_attachment_id:
59053
- :param tunnel_inside_ip_version:
59059
+ :param transport_transit_gateway_attachment_id: The transit gateway attachment ID to use for the VPN tunnel. Required if ``OutsideIpAddressType`` is set to ``PrivateIpv4`` .
59060
+ :param tunnel_inside_ip_version: Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: ``ipv4``
59054
59061
  :param vpn_gateway_id: The ID of the virtual private gateway at the AWS side of the VPN connection. You must specify either ``TransitGatewayId`` or ``VpnGatewayId`` , but not both.
59055
59062
  :param vpn_tunnel_options_specifications: The tunnel options for the VPN connection.
59056
59063
 
@@ -59172,7 +59179,10 @@ class CfnVPNConnectionProps:
59172
59179
 
59173
59180
  @builtins.property
59174
59181
  def local_ipv4_network_cidr(self) -> typing.Optional[builtins.str]:
59175
- '''
59182
+ '''The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
59183
+
59184
+ Default: ``0.0.0.0/0``
59185
+
59176
59186
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-localipv4networkcidr
59177
59187
  '''
59178
59188
  result = self._values.get("local_ipv4_network_cidr")
@@ -59180,7 +59190,10 @@ class CfnVPNConnectionProps:
59180
59190
 
59181
59191
  @builtins.property
59182
59192
  def local_ipv6_network_cidr(self) -> typing.Optional[builtins.str]:
59183
- '''
59193
+ '''The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
59194
+
59195
+ Default: ``::/0``
59196
+
59184
59197
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-localipv6networkcidr
59185
59198
  '''
59186
59199
  result = self._values.get("local_ipv6_network_cidr")
@@ -59188,7 +59201,12 @@ class CfnVPNConnectionProps:
59188
59201
 
59189
59202
  @builtins.property
59190
59203
  def outside_ip_address_type(self) -> typing.Optional[builtins.str]:
59191
- '''
59204
+ '''The type of IPv4 address assigned to the outside interface of the customer gateway device.
59205
+
59206
+ Valid values: ``PrivateIpv4`` | ``PublicIpv4``
59207
+
59208
+ Default: ``PublicIpv4``
59209
+
59192
59210
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-outsideipaddresstype
59193
59211
  '''
59194
59212
  result = self._values.get("outside_ip_address_type")
@@ -59196,7 +59214,10 @@ class CfnVPNConnectionProps:
59196
59214
 
59197
59215
  @builtins.property
59198
59216
  def remote_ipv4_network_cidr(self) -> typing.Optional[builtins.str]:
59199
- '''
59217
+ '''The IPv4 CIDR on the AWS side of the VPN connection.
59218
+
59219
+ Default: ``0.0.0.0/0``
59220
+
59200
59221
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-remoteipv4networkcidr
59201
59222
  '''
59202
59223
  result = self._values.get("remote_ipv4_network_cidr")
@@ -59204,7 +59225,10 @@ class CfnVPNConnectionProps:
59204
59225
 
59205
59226
  @builtins.property
59206
59227
  def remote_ipv6_network_cidr(self) -> typing.Optional[builtins.str]:
59207
- '''
59228
+ '''The IPv6 CIDR on the AWS side of the VPN connection.
59229
+
59230
+ Default: ``::/0``
59231
+
59208
59232
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-remoteipv6networkcidr
59209
59233
  '''
59210
59234
  result = self._values.get("remote_ipv6_network_cidr")
@@ -59247,7 +59271,10 @@ class CfnVPNConnectionProps:
59247
59271
 
59248
59272
  @builtins.property
59249
59273
  def transport_transit_gateway_attachment_id(self) -> typing.Optional[builtins.str]:
59250
- '''
59274
+ '''The transit gateway attachment ID to use for the VPN tunnel.
59275
+
59276
+ Required if ``OutsideIpAddressType`` is set to ``PrivateIpv4`` .
59277
+
59251
59278
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-transporttransitgatewayattachmentid
59252
59279
  '''
59253
59280
  result = self._values.get("transport_transit_gateway_attachment_id")
@@ -59255,7 +59282,10 @@ class CfnVPNConnectionProps:
59255
59282
 
59256
59283
  @builtins.property
59257
59284
  def tunnel_inside_ip_version(self) -> typing.Optional[builtins.str]:
59258
- '''
59285
+ '''Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
59286
+
59287
+ Default: ``ipv4``
59288
+
59259
59289
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-tunnelinsideipversion
59260
59290
  '''
59261
59291
  result = self._values.get("tunnel_inside_ip_version")
@@ -67758,15 +67788,16 @@ class GatewayVpcEndpointProps(GatewayVpcEndpointOptions):
67758
67788
 
67759
67789
  Example::
67760
67790
 
67761
- my_vpc = vpc_v2.VpcV2(self, "Vpc")
67762
- route_table = vpc_v2.RouteTable(self, "RouteTable",
67791
+ stack = Stack()
67792
+ my_vpc = VpcV2(self, "Vpc")
67793
+ route_table = RouteTable(self, "RouteTable",
67763
67794
  vpc=my_vpc
67764
67795
  )
67765
- subnet = vpc_v2.SubnetV2(self, "Subnet",
67796
+ subnet = SubnetV2(self, "Subnet",
67766
67797
  vpc=my_vpc,
67767
67798
  availability_zone="eu-west-2a",
67768
67799
  ipv4_cidr_block=IpCidr("10.0.0.0/24"),
67769
- subnet_type=ec2.SubnetType.PRIVATE
67800
+ subnet_type=SubnetType.PRIVATE
67770
67801
  )
67771
67802
 
67772
67803
  dynamo_endpoint = ec2.GatewayVpcEndpoint(self, "DynamoEndpoint",
@@ -67774,7 +67805,7 @@ class GatewayVpcEndpointProps(GatewayVpcEndpointOptions):
67774
67805
  vpc=my_vpc,
67775
67806
  subnets=[subnet]
67776
67807
  )
67777
- vpc_v2.Route(self, "DynamoDBRoute",
67808
+ Route(self, "DynamoDBRoute",
67778
67809
  route_table=route_table,
67779
67810
  destination="0.0.0.0/0",
67780
67811
  target={"endpoint": dynamo_endpoint}
@@ -75344,6 +75375,11 @@ class InterfaceVpcEndpointAwsService(
75344
75375
  def HEALTHLAKE(cls) -> "InterfaceVpcEndpointAwsService":
75345
75376
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "HEALTHLAKE"))
75346
75377
 
75378
+ @jsii.python.classproperty
75379
+ @jsii.member(jsii_name="IAM")
75380
+ def IAM(cls) -> "InterfaceVpcEndpointAwsService":
75381
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "IAM"))
75382
+
75347
75383
  @jsii.python.classproperty
75348
75384
  @jsii.member(jsii_name="IAM_IDENTITY_CENTER")
75349
75385
  def IAM_IDENTITY_CENTER(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75494,6 +75530,11 @@ class InterfaceVpcEndpointAwsService(
75494
75530
  def LAMBDA_(cls) -> "InterfaceVpcEndpointAwsService":
75495
75531
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LAMBDA"))
75496
75532
 
75533
+ @jsii.python.classproperty
75534
+ @jsii.member(jsii_name="LAUNCH_WIZARD")
75535
+ def LAUNCH_WIZARD(cls) -> "InterfaceVpcEndpointAwsService":
75536
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LAUNCH_WIZARD"))
75537
+
75497
75538
  @jsii.python.classproperty
75498
75539
  @jsii.member(jsii_name="LEX_MODELS")
75499
75540
  def LEX_MODELS(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75616,6 +75657,16 @@ class InterfaceVpcEndpointAwsService(
75616
75657
  def NEPTUNE_ANALYTICS(cls) -> "InterfaceVpcEndpointAwsService":
75617
75658
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "NEPTUNE_ANALYTICS"))
75618
75659
 
75660
+ @jsii.python.classproperty
75661
+ @jsii.member(jsii_name="NETWORK_FIREWALL")
75662
+ def NETWORK_FIREWALL(cls) -> "InterfaceVpcEndpointAwsService":
75663
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "NETWORK_FIREWALL"))
75664
+
75665
+ @jsii.python.classproperty
75666
+ @jsii.member(jsii_name="NETWORK_FIREWALL_FIPS")
75667
+ def NETWORK_FIREWALL_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
75668
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "NETWORK_FIREWALL_FIPS"))
75669
+
75619
75670
  @jsii.python.classproperty
75620
75671
  @jsii.member(jsii_name="NIMBLE_STUDIO")
75621
75672
  def NIMBLE_STUDIO(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75758,6 +75809,13 @@ class InterfaceVpcEndpointAwsService(
75758
75809
  ) -> "InterfaceVpcEndpointAwsService":
75759
75810
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD"))
75760
75811
 
75812
+ @jsii.python.classproperty
75813
+ @jsii.member(jsii_name="PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP")
75814
+ def PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP(
75815
+ cls,
75816
+ ) -> "InterfaceVpcEndpointAwsService":
75817
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP"))
75818
+
75761
75819
  @jsii.python.classproperty
75762
75820
  @jsii.member(jsii_name="PROMETHEUS")
75763
75821
  def PROMETHEUS(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75888,6 +75946,11 @@ class InterfaceVpcEndpointAwsService(
75888
75946
  def REPOST_SPACE(cls) -> "InterfaceVpcEndpointAwsService":
75889
75947
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "REPOST_SPACE"))
75890
75948
 
75949
+ @jsii.python.classproperty
75950
+ @jsii.member(jsii_name="RESOURCE_ACCESS_MANAGER")
75951
+ def RESOURCE_ACCESS_MANAGER(cls) -> "InterfaceVpcEndpointAwsService":
75952
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "RESOURCE_ACCESS_MANAGER"))
75953
+
75891
75954
  @jsii.python.classproperty
75892
75955
  @jsii.member(jsii_name="ROBOMAKER")
75893
75956
  def ROBOMAKER(cls) -> "InterfaceVpcEndpointAwsService":
@@ -89008,7 +89071,29 @@ class VpnConnectionProps(VpnConnectionOptions):
89008
89071
 
89009
89072
  @jsii.enum(jsii_type="aws-cdk-lib.aws_ec2.VpnConnectionType")
89010
89073
  class VpnConnectionType(enum.Enum):
89011
- '''The VPN connection type.'''
89074
+ '''The VPN connection type.
89075
+
89076
+ :exampleMetadata: infused
89077
+
89078
+ Example::
89079
+
89080
+ stack = Stack()
89081
+ my_vpc = VpcV2(self, "Vpc")
89082
+ vpn_gateway = my_vpc.enable_vpn_gateway_v2(
89083
+ vpn_route_propagation=[ec2.SubnetSelection(subnet_type=SubnetType.PUBLIC)],
89084
+ type=VpnConnectionType.IPSEC_1
89085
+ )
89086
+
89087
+ route_table = RouteTable(stack, "routeTable",
89088
+ vpc=my_vpc
89089
+ )
89090
+
89091
+ Route(stack, "route",
89092
+ destination="172.31.0.0/24",
89093
+ target={"gateway": vpn_gateway},
89094
+ route_table=route_table
89095
+ )
89096
+ '''
89012
89097
 
89013
89098
  IPSEC_1 = "IPSEC_1"
89014
89099
  '''The IPsec 1 VPN connection type.'''
@@ -1952,7 +1952,7 @@ class CfnRepository(
1952
1952
 
1953
1953
  For more control over the encryption of the contents of your repository, you can use server-side encryption with AWS Key Management Service key stored in AWS Key Management Service ( AWS KMS ) to encrypt your images. For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
1954
1954
 
1955
- :param encryption_type: The encryption type to use. If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see `Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* . If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
1955
+ :param encryption_type: The encryption type to use. If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. If you use the ``KMS_DSSE`` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the ``KMS`` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created. If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
1956
1956
  :param kms_key: If you use the ``KMS`` encryption type, specify the AWS KMS key to use for encryption. The alias, key ID, or full ARN of the AWS KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed AWS KMS key for Amazon ECR will be used.
1957
1957
 
1958
1958
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html
@@ -1985,9 +1985,13 @@ class CfnRepository(
1985
1985
  def encryption_type(self) -> builtins.str:
1986
1986
  '''The encryption type to use.
1987
1987
 
1988
- If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see `Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
1988
+ If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created.
1989
1989
 
1990
- If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
1990
+ If you use the ``KMS_DSSE`` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the ``KMS`` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created.
1991
+
1992
+ If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm.
1993
+
1994
+ For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
1991
1995
 
1992
1996
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html#cfn-ecr-repository-encryptionconfiguration-encryptiontype
1993
1997
  '''
@@ -2439,7 +2443,7 @@ class CfnRepositoryCreationTemplate(
2439
2443
 
2440
2444
  For more control over the encryption of the contents of your repository, you can use server-side encryption with AWS Key Management Service key stored in AWS Key Management Service ( AWS KMS ) to encrypt your images. For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
2441
2445
 
2442
- :param encryption_type: The encryption type to use. If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see `Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* . If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
2446
+ :param encryption_type: The encryption type to use. If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. If you use the ``KMS_DSSE`` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the ``KMS`` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created. If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
2443
2447
  :param kms_key: If you use the ``KMS`` encryption type, specify the AWS KMS key to use for encryption. The alias, key ID, or full ARN of the AWS KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed AWS KMS key for Amazon ECR will be used.
2444
2448
 
2445
2449
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptionconfiguration.html
@@ -2472,9 +2476,13 @@ class CfnRepositoryCreationTemplate(
2472
2476
  def encryption_type(self) -> builtins.str:
2473
2477
  '''The encryption type to use.
2474
2478
 
2475
- If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see `Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
2479
+ If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created.
2480
+
2481
+ If you use the ``KMS_DSSE`` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the ``KMS`` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created.
2482
+
2483
+ If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm.
2476
2484
 
2477
- If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see `Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html>`_ in the *Amazon Simple Storage Service Console Developer Guide* .
2485
+ For more information, see `Amazon ECR encryption at rest <https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html>`_ in the *Amazon Elastic Container Registry User Guide* .
2478
2486
 
2479
2487
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptionconfiguration.html#cfn-ecr-repositorycreationtemplate-encryptionconfiguration-encryptiontype
2480
2488
  '''