aws-cdk-lib 2.200.2__py3-none-any.whl → 2.202.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 +129 -37
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.202.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -3
- aws_cdk/aws_amplify/__init__.py +3 -3
- aws_cdk/aws_apigateway/__init__.py +21 -17
- aws_cdk/aws_apigatewayv2/__init__.py +87 -45
- aws_cdk/aws_appconfig/__init__.py +38 -1
- aws_cdk/aws_appsync/__init__.py +10 -10
- aws_cdk/aws_athena/__init__.py +227 -0
- aws_cdk/aws_autoscaling/__init__.py +38 -37
- aws_cdk/aws_bedrock/__init__.py +5108 -1571
- aws_cdk/aws_cloudfront/__init__.py +38 -38
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudtrail/__init__.py +178 -0
- aws_cdk/aws_cloudwatch/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +746 -0
- aws_cdk/aws_connect/__init__.py +5 -5
- aws_cdk/aws_customerprofiles/__init__.py +377 -8
- aws_cdk/aws_datasync/__init__.py +189 -160
- aws_cdk/aws_datazone/__init__.py +512 -170
- aws_cdk/aws_deadline/__init__.py +32 -4
- aws_cdk/aws_dsql/__init__.py +150 -10
- aws_cdk/aws_ec2/__init__.py +1191 -304
- aws_cdk/aws_ecs/__init__.py +94 -11
- aws_cdk/aws_efs/__init__.py +103 -12
- aws_cdk/aws_eks/__init__.py +337 -168
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +10 -4
- aws_cdk/aws_entityresolution/__init__.py +25 -10
- aws_cdk/aws_evs/__init__.py +2204 -0
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +58 -24
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_kms/__init__.py +10 -4
- aws_cdk/aws_lambda/__init__.py +1167 -55
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lightsail/__init__.py +17 -13
- aws_cdk/aws_logs/__init__.py +1 -0
- aws_cdk/aws_msk/__init__.py +21 -2
- aws_cdk/aws_mwaa/__init__.py +45 -2
- aws_cdk/aws_networkfirewall/__init__.py +562 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -3
- aws_cdk/aws_opsworkscm/__init__.py +9 -43
- aws_cdk/aws_rds/__init__.py +287 -87
- aws_cdk/aws_s3/__init__.py +39 -15
- aws_cdk/aws_sagemaker/__init__.py +223 -3
- aws_cdk/aws_securityhub/__init__.py +18 -34
- aws_cdk/aws_ssm/__init__.py +83 -1
- aws_cdk/aws_stepfunctions/__init__.py +235 -45
- aws_cdk/aws_synthetics/__init__.py +74 -0
- aws_cdk/aws_transfer/__init__.py +3 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +17 -6
- aws_cdk/aws_wafv2/__init__.py +770 -7
- aws_cdk/cx_api/__init__.py +14 -0
- aws_cdk/pipelines/__init__.py +147 -38
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/RECORD +62 -61
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.202.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -1175,7 +1175,7 @@ class CfnFileSystem(
|
|
|
1175
1175
|
:param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.
|
|
1176
1176
|
:param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
|
|
1177
1177
|
:param storage_capacity: Sets the storage capacity of the file system that you're creating. ``StorageCapacity`` is required if you are creating a new file system. It is not required if you are creating a file system by restoring a backup. *FSx for Lustre file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` and the Lustre ``DeploymentType`` , as follows: - For ``SCRATCH_2`` , ``PERSISTENT_2`` and ``PERSISTENT_1`` deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB. - For ``PERSISTENT_1`` HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems. - For ``SCRATCH_1`` deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB. *FSx for ONTAP file systems* - The amount of SSD storage capacity that you can configure depends on the value of the ``HAPairs`` property. The minimum value is calculated as 1,024 GiB * HAPairs and the maximum is calculated as 524,288 GiB * HAPairs, up to a maximum amount of SSD storage capacity of 1,048,576 GiB (1 pebibyte). *FSx for OpenZFS file systems* - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB). If you are creating a file system from a backup, you can specify a storage capacity equal to or greater than the original file system's storage capacity. *FSx for Windows File Server file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` as follows: - For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB). - For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).
|
|
1178
|
-
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `
|
|
1178
|
+
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type and for Lustre file systems with the Persistent_2 deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `FSx for Lustre storage classes <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html#lustre-storage-classes>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
|
1179
1179
|
:param tags: The tags to associate with the file system. For more information, see `Tagging your Amazon FSx resources <https://docs.aws.amazon.com/fsx/latest/LustreGuide/tag-resources.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
1180
1180
|
:param windows_configuration: The configuration object for the Microsoft Windows file system you are creating. This value is required if ``FileSystemType`` is set to ``WINDOWS`` .
|
|
1181
1181
|
'''
|
|
@@ -1867,7 +1867,7 @@ class CfnFileSystem(
|
|
|
1867
1867
|
:param daily_automatic_backup_start_time: A recurring daily time, in the format ``HH:MM`` . ``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour. For example, ``05:00`` specifies 5 AM daily.
|
|
1868
1868
|
:param data_compression_type: Sets the data compression configuration for the file system. ``DataCompressionType`` can have the following values:. - ``NONE`` - (Default) Data compression is turned off when the file system is created. - ``LZ4`` - Data compression is turned on with the LZ4 algorithm. For more information, see `Lustre data compression <https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
1869
1869
|
:param data_read_cache_configuration:
|
|
1870
|
-
:param deployment_type: (Optional) Choose ``SCRATCH_1`` and ``SCRATCH_2`` deployment types when you need temporary storage and shorter-term processing of data. The ``SCRATCH_2`` deployment type provides in-transit encryption of data and higher burst throughput capacity than ``SCRATCH_1`` . Choose ``PERSISTENT_1`` for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. ``PERSISTENT_1`` supports encryption of data in transit, and is available in all AWS Regions in which FSx for Lustre is available. Choose ``PERSISTENT_2`` for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. ``PERSISTENT_2`` supports SSD
|
|
1870
|
+
:param deployment_type: (Optional) Choose ``SCRATCH_1`` and ``SCRATCH_2`` deployment types when you need temporary storage and shorter-term processing of data. The ``SCRATCH_2`` deployment type provides in-transit encryption of data and higher burst throughput capacity than ``SCRATCH_1`` . Choose ``PERSISTENT_1`` for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. ``PERSISTENT_1`` supports encryption of data in transit, and is available in all AWS Regions in which FSx for Lustre is available. Choose ``PERSISTENT_2`` for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. ``PERSISTENT_2`` supports the SSD and Intelligent-Tiering storage classes. You can optionally specify a metadata configuration mode for ``PERSISTENT_2`` which supports increasing metadata performance. ``PERSISTENT_2`` is available in a limited number of AWS Regions . For more information, and an up-to-date list of AWS Regions in which ``PERSISTENT_2`` is available, see `Deployment and storage class options for FSx for Lustre file systems <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html>`_ in the *Amazon FSx for Lustre User Guide* . .. epigraph:: If you choose ``PERSISTENT_2`` , and you set ``FileSystemTypeVersion`` to ``2.10`` , the ``CreateFileSystem`` operation fails. Encryption of data in transit is automatically turned on when you access ``SCRATCH_2`` , ``PERSISTENT_1`` , and ``PERSISTENT_2`` file systems from Amazon EC2 instances that support automatic encryption in the AWS Regions where they are available. For more information about encryption in transit for FSx for Lustre file systems, see `Encrypting data in transit <https://docs.aws.amazon.com/fsx/latest/LustreGuide/encryption-in-transit-fsxl.html>`_ in the *Amazon FSx for Lustre User Guide* . (Default = ``SCRATCH_1`` )
|
|
1871
1871
|
:param drive_cache_type: The type of drive cache used by ``PERSISTENT_1`` file systems that are provisioned with HDD storage devices. This parameter is required when storage type is HDD. Set this property to ``READ`` to improve the performance for frequently accessed files by caching up to 20% of the total storage capacity of the file system. This parameter is required when ``StorageType`` is set to ``HDD`` and ``DeploymentType`` is ``PERSISTENT_1`` .
|
|
1872
1872
|
:param efa_enabled:
|
|
1873
1873
|
:param export_path: (Optional) Specifies the path in the Amazon S3 bucket where the root of your Amazon FSx file system is exported. The path must use the same Amazon S3 bucket as specified in ImportPath. You can provide an optional prefix to which new and changed data is to be exported from your Amazon FSx for Lustre file system. If an ``ExportPath`` value is not provided, Amazon FSx sets a default export path, ``s3://import-bucket/FSxLustre[creation-timestamp]`` . The timestamp is in UTC format, for example ``s3://import-bucket/FSxLustre20181105T222312Z`` . The Amazon S3 export bucket must be the same as the import bucket specified by ``ImportPath`` . If you specify only a bucket name, such as ``s3://import-bucket`` , you get a 1:1 mapping of file system objects to S3 bucket objects. This mapping means that the input data in S3 is overwritten on export. If you provide a custom prefix in the export path, such as ``s3://import-bucket/[custom-optional-prefix]`` , Amazon FSx exports the contents of your file system to that export prefix in the Amazon S3 bucket. .. epigraph:: This parameter is not supported for file systems with a data repository association.
|
|
@@ -2056,7 +2056,7 @@ class CfnFileSystem(
|
|
|
2056
2056
|
|
|
2057
2057
|
Choose ``PERSISTENT_1`` for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. ``PERSISTENT_1`` supports encryption of data in transit, and is available in all AWS Regions in which FSx for Lustre is available.
|
|
2058
2058
|
|
|
2059
|
-
Choose ``PERSISTENT_2`` for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. ``PERSISTENT_2`` supports SSD
|
|
2059
|
+
Choose ``PERSISTENT_2`` for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. ``PERSISTENT_2`` supports the SSD and Intelligent-Tiering storage classes. You can optionally specify a metadata configuration mode for ``PERSISTENT_2`` which supports increasing metadata performance. ``PERSISTENT_2`` is available in a limited number of AWS Regions . For more information, and an up-to-date list of AWS Regions in which ``PERSISTENT_2`` is available, see `Deployment and storage class options for FSx for Lustre file systems <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
2060
2060
|
.. epigraph::
|
|
2061
2061
|
|
|
2062
2062
|
If you choose ``PERSISTENT_2`` , and you set ``FileSystemTypeVersion`` to ``2.10`` , the ``CreateFileSystem`` operation fails.
|
|
@@ -2963,7 +2963,7 @@ class CfnFileSystem(
|
|
|
2963
2963
|
size_gib: typing.Optional[jsii.Number] = None,
|
|
2964
2964
|
sizing_mode: typing.Optional[builtins.str] = None,
|
|
2965
2965
|
) -> None:
|
|
2966
|
-
'''The configuration for the optional provisioned SSD read cache on file systems that use the Intelligent-Tiering storage class.
|
|
2966
|
+
'''The configuration for the optional provisioned SSD read cache on Amazon FSx for OpenZFS file systems that use the Intelligent-Tiering storage class.
|
|
2967
2967
|
|
|
2968
2968
|
:param size_gib: Required if ``SizingMode`` is set to ``USER_PROVISIONED`` . Specifies the size of the file system's SSD read cache, in gibibytes (GiB).
|
|
2969
2969
|
:param sizing_mode: Specifies how the provisioned SSD read cache is sized, as follows:. - Set to ``NO_CACHE`` if you do not want to use an SSD read cache with your Intelligent-Tiering file system. - Set to ``USER_PROVISIONED`` to specify the exact size of your SSD read cache. - Set to ``PROPORTIONAL_TO_THROUGHPUT_CAPACITY`` to have your SSD read cache automatically sized based on your throughput capacity.
|
|
@@ -3779,7 +3779,7 @@ class CfnFileSystemProps:
|
|
|
3779
3779
|
:param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.
|
|
3780
3780
|
:param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
|
|
3781
3781
|
:param storage_capacity: Sets the storage capacity of the file system that you're creating. ``StorageCapacity`` is required if you are creating a new file system. It is not required if you are creating a file system by restoring a backup. *FSx for Lustre file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` and the Lustre ``DeploymentType`` , as follows: - For ``SCRATCH_2`` , ``PERSISTENT_2`` and ``PERSISTENT_1`` deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB. - For ``PERSISTENT_1`` HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems. - For ``SCRATCH_1`` deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB. *FSx for ONTAP file systems* - The amount of SSD storage capacity that you can configure depends on the value of the ``HAPairs`` property. The minimum value is calculated as 1,024 GiB * HAPairs and the maximum is calculated as 524,288 GiB * HAPairs, up to a maximum amount of SSD storage capacity of 1,048,576 GiB (1 pebibyte). *FSx for OpenZFS file systems* - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB). If you are creating a file system from a backup, you can specify a storage capacity equal to or greater than the original file system's storage capacity. *FSx for Windows File Server file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` as follows: - For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB). - For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).
|
|
3782
|
-
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `
|
|
3782
|
+
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type and for Lustre file systems with the Persistent_2 deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `FSx for Lustre storage classes <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html#lustre-storage-classes>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
|
3783
3783
|
:param tags: The tags to associate with the file system. For more information, see `Tagging your Amazon FSx resources <https://docs.aws.amazon.com/fsx/latest/LustreGuide/tag-resources.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
3784
3784
|
:param windows_configuration: The configuration object for the Microsoft Windows file system you are creating. This value is required if ``FileSystemType`` is set to ``WINDOWS`` .
|
|
3785
3785
|
|
|
@@ -4130,9 +4130,9 @@ class CfnFileSystemProps:
|
|
|
4130
4130
|
|
|
4131
4131
|
- Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types.
|
|
4132
4132
|
- Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types.
|
|
4133
|
-
- Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type.
|
|
4133
|
+
- Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type and for Lustre file systems with the Persistent_2 deployment type.
|
|
4134
4134
|
|
|
4135
|
-
Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `
|
|
4135
|
+
Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `FSx for Lustre storage classes <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html#lustre-storage-classes>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
|
4136
4136
|
|
|
4137
4137
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-storagetype
|
|
4138
4138
|
'''
|
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -10946,24 +10946,41 @@ class CfnRegistry(
|
|
|
10946
10946
|
|
|
10947
10947
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html
|
|
10948
10948
|
:cloudformationResource: AWS::Glue::Registry
|
|
10949
|
-
:exampleMetadata:
|
|
10949
|
+
:exampleMetadata: infused
|
|
10950
10950
|
|
|
10951
10951
|
Example::
|
|
10952
10952
|
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
from aws_cdk import aws_glue as glue
|
|
10953
|
+
from aws_cdk.aws_glue import CfnRegistry
|
|
10954
|
+
from aws_cdk.aws_lambda_event_sources import ManagedKafkaEventSource, GlueSchemaRegistry
|
|
10956
10955
|
|
|
10957
|
-
|
|
10958
|
-
|
|
10956
|
+
# Your MSK cluster arn
|
|
10957
|
+
# cluster_arn: str
|
|
10959
10958
|
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10959
|
+
# my_function: lambda.Function
|
|
10960
|
+
|
|
10961
|
+
|
|
10962
|
+
# The Kafka topic you want to subscribe to
|
|
10963
|
+
topic = "some-cool-topic"
|
|
10964
|
+
|
|
10965
|
+
# Your Glue Schema Registry
|
|
10966
|
+
glue_registry = CfnRegistry(self, "Registry",
|
|
10967
|
+
name="schema-registry",
|
|
10968
|
+
description="Schema registry for event source"
|
|
10966
10969
|
)
|
|
10970
|
+
my_function.add_event_source(ManagedKafkaEventSource(
|
|
10971
|
+
cluster_arn=cluster_arn,
|
|
10972
|
+
topic=topic,
|
|
10973
|
+
starting_position=lambda_.StartingPosition.TRIM_HORIZON,
|
|
10974
|
+
provisioned_poller_config=ProvisionedPollerConfig(
|
|
10975
|
+
minimum_pollers=1,
|
|
10976
|
+
maximum_pollers=3
|
|
10977
|
+
),
|
|
10978
|
+
schema_registry_config=GlueSchemaRegistry(
|
|
10979
|
+
schema_registry=glue_registry,
|
|
10980
|
+
event_record_format=lambda_.EventRecordFormat.JSON,
|
|
10981
|
+
schema_validation_configs=[lambda.KafkaSchemaValidationConfig(attribute=lambda_.KafkaSchemaValidationAttribute.KEY)]
|
|
10982
|
+
)
|
|
10983
|
+
))
|
|
10967
10984
|
'''
|
|
10968
10985
|
|
|
10969
10986
|
def __init__(
|
|
@@ -11100,24 +11117,41 @@ class CfnRegistryProps:
|
|
|
11100
11117
|
:param tags: AWS tags that contain a key value pair and may be searched by console, command line, or API.
|
|
11101
11118
|
|
|
11102
11119
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html
|
|
11103
|
-
:exampleMetadata:
|
|
11120
|
+
:exampleMetadata: infused
|
|
11104
11121
|
|
|
11105
11122
|
Example::
|
|
11106
11123
|
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
from aws_cdk import aws_glue as glue
|
|
11124
|
+
from aws_cdk.aws_glue import CfnRegistry
|
|
11125
|
+
from aws_cdk.aws_lambda_event_sources import ManagedKafkaEventSource, GlueSchemaRegistry
|
|
11110
11126
|
|
|
11111
|
-
|
|
11112
|
-
|
|
11127
|
+
# Your MSK cluster arn
|
|
11128
|
+
# cluster_arn: str
|
|
11113
11129
|
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11130
|
+
# my_function: lambda.Function
|
|
11131
|
+
|
|
11132
|
+
|
|
11133
|
+
# The Kafka topic you want to subscribe to
|
|
11134
|
+
topic = "some-cool-topic"
|
|
11135
|
+
|
|
11136
|
+
# Your Glue Schema Registry
|
|
11137
|
+
glue_registry = CfnRegistry(self, "Registry",
|
|
11138
|
+
name="schema-registry",
|
|
11139
|
+
description="Schema registry for event source"
|
|
11120
11140
|
)
|
|
11141
|
+
my_function.add_event_source(ManagedKafkaEventSource(
|
|
11142
|
+
cluster_arn=cluster_arn,
|
|
11143
|
+
topic=topic,
|
|
11144
|
+
starting_position=lambda_.StartingPosition.TRIM_HORIZON,
|
|
11145
|
+
provisioned_poller_config=ProvisionedPollerConfig(
|
|
11146
|
+
minimum_pollers=1,
|
|
11147
|
+
maximum_pollers=3
|
|
11148
|
+
),
|
|
11149
|
+
schema_registry_config=GlueSchemaRegistry(
|
|
11150
|
+
schema_registry=glue_registry,
|
|
11151
|
+
event_record_format=lambda_.EventRecordFormat.JSON,
|
|
11152
|
+
schema_validation_configs=[lambda.KafkaSchemaValidationConfig(attribute=lambda_.KafkaSchemaValidationAttribute.KEY)]
|
|
11153
|
+
)
|
|
11154
|
+
))
|
|
11121
11155
|
'''
|
|
11122
11156
|
if __debug__:
|
|
11123
11157
|
type_hints = typing.get_type_hints(_typecheckingstub__a9d85e07a2dcc4ae5cd073c48fc5eb424c7446e4be042407f1f89c111ef9bba1)
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -14942,7 +14942,7 @@ class ArnPrincipal(
|
|
|
14942
14942
|
Example::
|
|
14943
14943
|
|
|
14944
14944
|
# Option 2: create your custom mastersRole with scoped assumeBy arn as the Cluster prop. Switch to this role from the AWS console.
|
|
14945
|
-
from aws_cdk.
|
|
14945
|
+
from aws_cdk.lambda_layer_kubectl_v33 import KubectlV33Layer
|
|
14946
14946
|
# vpc: ec2.Vpc
|
|
14947
14947
|
|
|
14948
14948
|
|
|
@@ -14952,8 +14952,8 @@ class ArnPrincipal(
|
|
|
14952
14952
|
|
|
14953
14953
|
cluster = eks.Cluster(self, "EksCluster",
|
|
14954
14954
|
vpc=vpc,
|
|
14955
|
-
version=eks.KubernetesVersion.
|
|
14956
|
-
kubectl_layer=
|
|
14955
|
+
version=eks.KubernetesVersion.V1_33,
|
|
14956
|
+
kubectl_layer=KubectlV33Layer(self, "KubectlLayer"),
|
|
14957
14957
|
masters_role=masters_role
|
|
14958
14958
|
)
|
|
14959
14959
|
|
aws_cdk/aws_kms/__init__.py
CHANGED
|
@@ -113,9 +113,10 @@ trail = cloudtrail.Trail(self, "myCloudTrail",
|
|
|
113
113
|
)
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
Note that calls to `addToResourcePolicy`
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
Note that calls to `addToResourcePolicy` method on `myKeyAlias` will be a no-op, `addAlias` and `aliasTargetKey` will fail.
|
|
117
|
+
The `grant*` methods will not modify the key policy, as the imported alias does not have a reference to the underlying KMS Key.
|
|
118
|
+
For the `grant*` methods to modify the principal's IAM policy, the feature flag `@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`
|
|
119
|
+
must be set to `true`. By default, this flag is `false` and `grant*` calls on an imported alias are a no-op.
|
|
119
120
|
|
|
120
121
|
### Lookup key by alias
|
|
121
122
|
|
|
@@ -3287,7 +3288,12 @@ class Alias(
|
|
|
3287
3288
|
|
|
3288
3289
|
This method should be used
|
|
3289
3290
|
instead of 'fromAliasAttributes' when the underlying KMS Key ARN is not available.
|
|
3290
|
-
This Alias will not have a direct reference to the KMS Key, so addAlias
|
|
3291
|
+
This Alias will not have a direct reference to the KMS Key, so addAlias method is not supported.
|
|
3292
|
+
|
|
3293
|
+
If the ``@aws-cdk/aws-kms:applyImportedAliasPermissionsToPrincipal`` feature flag is set to ``true``,
|
|
3294
|
+
the grant* methods will use the kms:ResourceAliases condition to grant permissions to the specific alias name.
|
|
3295
|
+
They will only modify the principal policy, not the key resource policy.
|
|
3296
|
+
Without the feature flag ``grant*`` methods will be a no-op.
|
|
3291
3297
|
|
|
3292
3298
|
:param scope: The parent creating construct (usually ``this``).
|
|
3293
3299
|
:param id: The construct's name.
|