aws-cdk-lib 2.199.0__py3-none-any.whl → 2.200.1__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 +22 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.199.0.jsii.tgz → aws-cdk-lib@2.200.1.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +38 -30
- aws_cdk/aws_autoscaling/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +73 -48
- aws_cdk/aws_cloudformation/__init__.py +17 -23
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +50 -1
- aws_cdk/aws_codebuild/__init__.py +116 -0
- aws_cdk/aws_datazone/__init__.py +699 -9
- aws_cdk/aws_deadline/__init__.py +38 -10
- aws_cdk/aws_ec2/__init__.py +78 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +7 -7
- aws_cdk/aws_emr/__init__.py +36 -2
- aws_cdk/aws_fsx/__init__.py +122 -0
- aws_cdk/aws_glue/__init__.py +55 -26
- aws_cdk/aws_iam/__init__.py +376 -2
- aws_cdk/aws_iot/__init__.py +57 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +5 -1
- aws_cdk/aws_lambda/__init__.py +65 -45
- aws_cdk/aws_lex/__init__.py +27 -13
- aws_cdk/aws_lightsail/__init__.py +452 -0
- aws_cdk/aws_medialive/__init__.py +699 -497
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_networkfirewall/__init__.py +9 -5
- aws_cdk/aws_nimblestudio/__init__.py +208 -400
- aws_cdk/aws_panorama/__init__.py +30 -3
- aws_cdk/aws_pcs/__init__.py +12 -5
- aws_cdk/aws_rds/__init__.py +22 -10
- aws_cdk/aws_s3/__init__.py +367 -6
- aws_cdk/aws_s3express/__init__.py +789 -0
- aws_cdk/aws_ses/__init__.py +300 -32
- aws_cdk/aws_sns_subscriptions/__init__.py +256 -1
- aws_cdk/aws_stepfunctions/__init__.py +55 -17
- aws_cdk/aws_synthetics/__init__.py +26 -16
- aws_cdk/aws_voiceid/__init__.py +13 -3
- aws_cdk/cloud_assembly_schema/__init__.py +137 -42
- aws_cdk/cx_api/__init__.py +7 -7
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -1024,6 +1024,10 @@ class CfnFileSystem(
|
|
|
1024
1024
|
copy_tags_to_backups=False,
|
|
1025
1025
|
daily_automatic_backup_start_time="dailyAutomaticBackupStartTime",
|
|
1026
1026
|
data_compression_type="dataCompressionType",
|
|
1027
|
+
data_read_cache_configuration=fsx.CfnFileSystem.DataReadCacheConfigurationProperty(
|
|
1028
|
+
size_gi_b=123,
|
|
1029
|
+
sizing_mode="sizingMode"
|
|
1030
|
+
),
|
|
1027
1031
|
deployment_type="deploymentType",
|
|
1028
1032
|
drive_cache_type="driveCacheType",
|
|
1029
1033
|
efa_enabled=False,
|
|
@@ -1035,6 +1039,7 @@ class CfnFileSystem(
|
|
|
1035
1039
|
mode="mode"
|
|
1036
1040
|
),
|
|
1037
1041
|
per_unit_storage_throughput=123,
|
|
1042
|
+
throughput_capacity=123,
|
|
1038
1043
|
weekly_maintenance_start_time="weeklyMaintenanceStartTime"
|
|
1039
1044
|
),
|
|
1040
1045
|
ontap_configuration=fsx.CfnFileSystem.OntapConfigurationProperty(
|
|
@@ -1668,6 +1673,73 @@ class CfnFileSystem(
|
|
|
1668
1673
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1669
1674
|
)
|
|
1670
1675
|
|
|
1676
|
+
@jsii.data_type(
|
|
1677
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnFileSystem.DataReadCacheConfigurationProperty",
|
|
1678
|
+
jsii_struct_bases=[],
|
|
1679
|
+
name_mapping={"size_gib": "sizeGiB", "sizing_mode": "sizingMode"},
|
|
1680
|
+
)
|
|
1681
|
+
class DataReadCacheConfigurationProperty:
|
|
1682
|
+
def __init__(
|
|
1683
|
+
self,
|
|
1684
|
+
*,
|
|
1685
|
+
size_gib: typing.Optional[jsii.Number] = None,
|
|
1686
|
+
sizing_mode: typing.Optional[builtins.str] = None,
|
|
1687
|
+
) -> None:
|
|
1688
|
+
'''
|
|
1689
|
+
:param size_gib:
|
|
1690
|
+
:param sizing_mode:
|
|
1691
|
+
|
|
1692
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-datareadcacheconfiguration.html
|
|
1693
|
+
:exampleMetadata: fixture=_generated
|
|
1694
|
+
|
|
1695
|
+
Example::
|
|
1696
|
+
|
|
1697
|
+
# The code below shows an example of how to instantiate this type.
|
|
1698
|
+
# The values are placeholders you should change.
|
|
1699
|
+
from aws_cdk import aws_fsx as fsx
|
|
1700
|
+
|
|
1701
|
+
data_read_cache_configuration_property = fsx.CfnFileSystem.DataReadCacheConfigurationProperty(
|
|
1702
|
+
size_gi_b=123,
|
|
1703
|
+
sizing_mode="sizingMode"
|
|
1704
|
+
)
|
|
1705
|
+
'''
|
|
1706
|
+
if __debug__:
|
|
1707
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3cb2d4a98bff48f203d8eaee325b8f6c388372cb868c4fa792f5c5693518337f)
|
|
1708
|
+
check_type(argname="argument size_gib", value=size_gib, expected_type=type_hints["size_gib"])
|
|
1709
|
+
check_type(argname="argument sizing_mode", value=sizing_mode, expected_type=type_hints["sizing_mode"])
|
|
1710
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1711
|
+
if size_gib is not None:
|
|
1712
|
+
self._values["size_gib"] = size_gib
|
|
1713
|
+
if sizing_mode is not None:
|
|
1714
|
+
self._values["sizing_mode"] = sizing_mode
|
|
1715
|
+
|
|
1716
|
+
@builtins.property
|
|
1717
|
+
def size_gib(self) -> typing.Optional[jsii.Number]:
|
|
1718
|
+
'''
|
|
1719
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-datareadcacheconfiguration.html#cfn-fsx-filesystem-datareadcacheconfiguration-sizegib
|
|
1720
|
+
'''
|
|
1721
|
+
result = self._values.get("size_gib")
|
|
1722
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1723
|
+
|
|
1724
|
+
@builtins.property
|
|
1725
|
+
def sizing_mode(self) -> typing.Optional[builtins.str]:
|
|
1726
|
+
'''
|
|
1727
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-datareadcacheconfiguration.html#cfn-fsx-filesystem-datareadcacheconfiguration-sizingmode
|
|
1728
|
+
'''
|
|
1729
|
+
result = self._values.get("sizing_mode")
|
|
1730
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1731
|
+
|
|
1732
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1733
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1734
|
+
|
|
1735
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1736
|
+
return not (rhs == self)
|
|
1737
|
+
|
|
1738
|
+
def __repr__(self) -> str:
|
|
1739
|
+
return "DataReadCacheConfigurationProperty(%s)" % ", ".join(
|
|
1740
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1741
|
+
)
|
|
1742
|
+
|
|
1671
1743
|
@jsii.data_type(
|
|
1672
1744
|
jsii_type="aws-cdk-lib.aws_fsx.CfnFileSystem.DiskIopsConfigurationProperty",
|
|
1673
1745
|
jsii_struct_bases=[],
|
|
@@ -1753,6 +1825,7 @@ class CfnFileSystem(
|
|
|
1753
1825
|
"copy_tags_to_backups": "copyTagsToBackups",
|
|
1754
1826
|
"daily_automatic_backup_start_time": "dailyAutomaticBackupStartTime",
|
|
1755
1827
|
"data_compression_type": "dataCompressionType",
|
|
1828
|
+
"data_read_cache_configuration": "dataReadCacheConfiguration",
|
|
1756
1829
|
"deployment_type": "deploymentType",
|
|
1757
1830
|
"drive_cache_type": "driveCacheType",
|
|
1758
1831
|
"efa_enabled": "efaEnabled",
|
|
@@ -1761,6 +1834,7 @@ class CfnFileSystem(
|
|
|
1761
1834
|
"import_path": "importPath",
|
|
1762
1835
|
"metadata_configuration": "metadataConfiguration",
|
|
1763
1836
|
"per_unit_storage_throughput": "perUnitStorageThroughput",
|
|
1837
|
+
"throughput_capacity": "throughputCapacity",
|
|
1764
1838
|
"weekly_maintenance_start_time": "weeklyMaintenanceStartTime",
|
|
1765
1839
|
},
|
|
1766
1840
|
)
|
|
@@ -1773,6 +1847,7 @@ class CfnFileSystem(
|
|
|
1773
1847
|
copy_tags_to_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1774
1848
|
daily_automatic_backup_start_time: typing.Optional[builtins.str] = None,
|
|
1775
1849
|
data_compression_type: typing.Optional[builtins.str] = None,
|
|
1850
|
+
data_read_cache_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.DataReadCacheConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1776
1851
|
deployment_type: typing.Optional[builtins.str] = None,
|
|
1777
1852
|
drive_cache_type: typing.Optional[builtins.str] = None,
|
|
1778
1853
|
efa_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -1781,6 +1856,7 @@ class CfnFileSystem(
|
|
|
1781
1856
|
import_path: typing.Optional[builtins.str] = None,
|
|
1782
1857
|
metadata_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.MetadataConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1783
1858
|
per_unit_storage_throughput: typing.Optional[jsii.Number] = None,
|
|
1859
|
+
throughput_capacity: typing.Optional[jsii.Number] = None,
|
|
1784
1860
|
weekly_maintenance_start_time: typing.Optional[builtins.str] = None,
|
|
1785
1861
|
) -> None:
|
|
1786
1862
|
'''The configuration for the Amazon FSx for Lustre file system.
|
|
@@ -1790,6 +1866,7 @@ class CfnFileSystem(
|
|
|
1790
1866
|
:param copy_tags_to_backups: (Optional) Not available for use with file systems that are linked to a data repository. A boolean flag indicating whether tags for the file system should be copied to backups. The default value is false. If ``CopyTagsToBackups`` is set to true, all file system tags are copied to all automatic and user-initiated backups when the user doesn't specify any backup-specific tags. If ``CopyTagsToBackups`` is set to true and you specify one or more backup tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value. (Default = ``false`` ) For more information, see `Working with backups <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
1791
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.
|
|
1792
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
|
+
:param data_read_cache_configuration:
|
|
1793
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 storage, and offers higher ``PerUnitStorageThroughput`` (up to 1000 MB/s/TiB). 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 `File system deployment options for FSx for Lustre <https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html#lustre-deployment-types>`_ 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`` )
|
|
1794
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`` .
|
|
1795
1872
|
:param efa_enabled:
|
|
@@ -1798,6 +1875,7 @@ class CfnFileSystem(
|
|
|
1798
1875
|
:param import_path: (Optional) The path to the Amazon S3 bucket (including the optional prefix) that you're using as the data repository for your Amazon FSx for Lustre file system. The root of your FSx for Lustre file system will be mapped to the root of the Amazon S3 bucket you select. An example is ``s3://import-bucket/optional-prefix`` . If you specify a prefix after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system. .. epigraph:: This parameter is not supported for Lustre file systems with a data repository association.
|
|
1799
1876
|
:param metadata_configuration:
|
|
1800
1877
|
:param per_unit_storage_throughput: Required with ``PERSISTENT_1`` and ``PERSISTENT_2`` deployment types, provisions the amount of read and write throughput for each 1 tebibyte (TiB) of file system storage capacity, in MB/s/TiB. File system throughput capacity is calculated by multiplying file system storage capacity (TiB) by the ``PerUnitStorageThroughput`` (MB/s/TiB). For a 2.4-TiB file system, provisioning 50 MB/s/TiB of ``PerUnitStorageThroughput`` yields 120 MB/s of file system throughput. You pay for the amount of throughput that you provision. Valid values: - For ``PERSISTENT_1`` SSD storage: 50, 100, 200 MB/s/TiB. - For ``PERSISTENT_1`` HDD storage: 12, 40 MB/s/TiB. - For ``PERSISTENT_2`` SSD storage: 125, 250, 500, 1000 MB/s/TiB.
|
|
1878
|
+
:param throughput_capacity:
|
|
1801
1879
|
:param weekly_maintenance_start_time: The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
1802
1880
|
|
|
1803
1881
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html
|
|
@@ -1815,6 +1893,10 @@ class CfnFileSystem(
|
|
|
1815
1893
|
copy_tags_to_backups=False,
|
|
1816
1894
|
daily_automatic_backup_start_time="dailyAutomaticBackupStartTime",
|
|
1817
1895
|
data_compression_type="dataCompressionType",
|
|
1896
|
+
data_read_cache_configuration=fsx.CfnFileSystem.DataReadCacheConfigurationProperty(
|
|
1897
|
+
size_gi_b=123,
|
|
1898
|
+
sizing_mode="sizingMode"
|
|
1899
|
+
),
|
|
1818
1900
|
deployment_type="deploymentType",
|
|
1819
1901
|
drive_cache_type="driveCacheType",
|
|
1820
1902
|
efa_enabled=False,
|
|
@@ -1826,6 +1908,7 @@ class CfnFileSystem(
|
|
|
1826
1908
|
mode="mode"
|
|
1827
1909
|
),
|
|
1828
1910
|
per_unit_storage_throughput=123,
|
|
1911
|
+
throughput_capacity=123,
|
|
1829
1912
|
weekly_maintenance_start_time="weeklyMaintenanceStartTime"
|
|
1830
1913
|
)
|
|
1831
1914
|
'''
|
|
@@ -1836,6 +1919,7 @@ class CfnFileSystem(
|
|
|
1836
1919
|
check_type(argname="argument copy_tags_to_backups", value=copy_tags_to_backups, expected_type=type_hints["copy_tags_to_backups"])
|
|
1837
1920
|
check_type(argname="argument daily_automatic_backup_start_time", value=daily_automatic_backup_start_time, expected_type=type_hints["daily_automatic_backup_start_time"])
|
|
1838
1921
|
check_type(argname="argument data_compression_type", value=data_compression_type, expected_type=type_hints["data_compression_type"])
|
|
1922
|
+
check_type(argname="argument data_read_cache_configuration", value=data_read_cache_configuration, expected_type=type_hints["data_read_cache_configuration"])
|
|
1839
1923
|
check_type(argname="argument deployment_type", value=deployment_type, expected_type=type_hints["deployment_type"])
|
|
1840
1924
|
check_type(argname="argument drive_cache_type", value=drive_cache_type, expected_type=type_hints["drive_cache_type"])
|
|
1841
1925
|
check_type(argname="argument efa_enabled", value=efa_enabled, expected_type=type_hints["efa_enabled"])
|
|
@@ -1844,6 +1928,7 @@ class CfnFileSystem(
|
|
|
1844
1928
|
check_type(argname="argument import_path", value=import_path, expected_type=type_hints["import_path"])
|
|
1845
1929
|
check_type(argname="argument metadata_configuration", value=metadata_configuration, expected_type=type_hints["metadata_configuration"])
|
|
1846
1930
|
check_type(argname="argument per_unit_storage_throughput", value=per_unit_storage_throughput, expected_type=type_hints["per_unit_storage_throughput"])
|
|
1931
|
+
check_type(argname="argument throughput_capacity", value=throughput_capacity, expected_type=type_hints["throughput_capacity"])
|
|
1847
1932
|
check_type(argname="argument weekly_maintenance_start_time", value=weekly_maintenance_start_time, expected_type=type_hints["weekly_maintenance_start_time"])
|
|
1848
1933
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1849
1934
|
if auto_import_policy is not None:
|
|
@@ -1856,6 +1941,8 @@ class CfnFileSystem(
|
|
|
1856
1941
|
self._values["daily_automatic_backup_start_time"] = daily_automatic_backup_start_time
|
|
1857
1942
|
if data_compression_type is not None:
|
|
1858
1943
|
self._values["data_compression_type"] = data_compression_type
|
|
1944
|
+
if data_read_cache_configuration is not None:
|
|
1945
|
+
self._values["data_read_cache_configuration"] = data_read_cache_configuration
|
|
1859
1946
|
if deployment_type is not None:
|
|
1860
1947
|
self._values["deployment_type"] = deployment_type
|
|
1861
1948
|
if drive_cache_type is not None:
|
|
@@ -1872,6 +1959,8 @@ class CfnFileSystem(
|
|
|
1872
1959
|
self._values["metadata_configuration"] = metadata_configuration
|
|
1873
1960
|
if per_unit_storage_throughput is not None:
|
|
1874
1961
|
self._values["per_unit_storage_throughput"] = per_unit_storage_throughput
|
|
1962
|
+
if throughput_capacity is not None:
|
|
1963
|
+
self._values["throughput_capacity"] = throughput_capacity
|
|
1875
1964
|
if weekly_maintenance_start_time is not None:
|
|
1876
1965
|
self._values["weekly_maintenance_start_time"] = weekly_maintenance_start_time
|
|
1877
1966
|
|
|
@@ -1949,6 +2038,16 @@ class CfnFileSystem(
|
|
|
1949
2038
|
result = self._values.get("data_compression_type")
|
|
1950
2039
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1951
2040
|
|
|
2041
|
+
@builtins.property
|
|
2042
|
+
def data_read_cache_configuration(
|
|
2043
|
+
self,
|
|
2044
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFileSystem.DataReadCacheConfigurationProperty"]]:
|
|
2045
|
+
'''
|
|
2046
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-datareadcacheconfiguration
|
|
2047
|
+
'''
|
|
2048
|
+
result = self._values.get("data_read_cache_configuration")
|
|
2049
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFileSystem.DataReadCacheConfigurationProperty"]], result)
|
|
2050
|
+
|
|
1952
2051
|
@builtins.property
|
|
1953
2052
|
def deployment_type(self) -> typing.Optional[builtins.str]:
|
|
1954
2053
|
'''(Optional) Choose ``SCRATCH_1`` and ``SCRATCH_2`` deployment types when you need temporary storage and shorter-term processing of data.
|
|
@@ -2067,6 +2166,14 @@ class CfnFileSystem(
|
|
|
2067
2166
|
result = self._values.get("per_unit_storage_throughput")
|
|
2068
2167
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2069
2168
|
|
|
2169
|
+
@builtins.property
|
|
2170
|
+
def throughput_capacity(self) -> typing.Optional[jsii.Number]:
|
|
2171
|
+
'''
|
|
2172
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-throughputcapacity
|
|
2173
|
+
'''
|
|
2174
|
+
result = self._values.get("throughput_capacity")
|
|
2175
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2176
|
+
|
|
2070
2177
|
@builtins.property
|
|
2071
2178
|
def weekly_maintenance_start_time(self) -> typing.Optional[builtins.str]:
|
|
2072
2179
|
'''The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
@@ -3699,6 +3806,10 @@ class CfnFileSystemProps:
|
|
|
3699
3806
|
copy_tags_to_backups=False,
|
|
3700
3807
|
daily_automatic_backup_start_time="dailyAutomaticBackupStartTime",
|
|
3701
3808
|
data_compression_type="dataCompressionType",
|
|
3809
|
+
data_read_cache_configuration=fsx.CfnFileSystem.DataReadCacheConfigurationProperty(
|
|
3810
|
+
size_gi_b=123,
|
|
3811
|
+
sizing_mode="sizingMode"
|
|
3812
|
+
),
|
|
3702
3813
|
deployment_type="deploymentType",
|
|
3703
3814
|
drive_cache_type="driveCacheType",
|
|
3704
3815
|
efa_enabled=False,
|
|
@@ -3710,6 +3821,7 @@ class CfnFileSystemProps:
|
|
|
3710
3821
|
mode="mode"
|
|
3711
3822
|
),
|
|
3712
3823
|
per_unit_storage_throughput=123,
|
|
3824
|
+
throughput_capacity=123,
|
|
3713
3825
|
weekly_maintenance_start_time="weeklyMaintenanceStartTime"
|
|
3714
3826
|
),
|
|
3715
3827
|
ontap_configuration=fsx.CfnFileSystem.OntapConfigurationProperty(
|
|
@@ -8781,6 +8893,14 @@ def _typecheckingstub__57b05166432d66017c1f4937608bf668fb87a580b457f8d7fc86cb698
|
|
|
8781
8893
|
"""Type checking stubs"""
|
|
8782
8894
|
pass
|
|
8783
8895
|
|
|
8896
|
+
def _typecheckingstub__3cb2d4a98bff48f203d8eaee325b8f6c388372cb868c4fa792f5c5693518337f(
|
|
8897
|
+
*,
|
|
8898
|
+
size_gib: typing.Optional[jsii.Number] = None,
|
|
8899
|
+
sizing_mode: typing.Optional[builtins.str] = None,
|
|
8900
|
+
) -> None:
|
|
8901
|
+
"""Type checking stubs"""
|
|
8902
|
+
pass
|
|
8903
|
+
|
|
8784
8904
|
def _typecheckingstub__ae47548d0ff6b28a7e7311347d5b08153a4d8130c5f4cd5b7ebd258836f4c7e0(
|
|
8785
8905
|
*,
|
|
8786
8906
|
iops: typing.Optional[jsii.Number] = None,
|
|
@@ -8796,6 +8916,7 @@ def _typecheckingstub__8e1fe808b96f0eb1b8b6ed8eb3d551c8d995fe2c98c9be554bed33160
|
|
|
8796
8916
|
copy_tags_to_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8797
8917
|
daily_automatic_backup_start_time: typing.Optional[builtins.str] = None,
|
|
8798
8918
|
data_compression_type: typing.Optional[builtins.str] = None,
|
|
8919
|
+
data_read_cache_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.DataReadCacheConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8799
8920
|
deployment_type: typing.Optional[builtins.str] = None,
|
|
8800
8921
|
drive_cache_type: typing.Optional[builtins.str] = None,
|
|
8801
8922
|
efa_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -8804,6 +8925,7 @@ def _typecheckingstub__8e1fe808b96f0eb1b8b6ed8eb3d551c8d995fe2c98c9be554bed33160
|
|
|
8804
8925
|
import_path: typing.Optional[builtins.str] = None,
|
|
8805
8926
|
metadata_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.MetadataConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8806
8927
|
per_unit_storage_throughput: typing.Optional[jsii.Number] = None,
|
|
8928
|
+
throughput_capacity: typing.Optional[jsii.Number] = None,
|
|
8807
8929
|
weekly_maintenance_start_time: typing.Optional[builtins.str] = None,
|
|
8808
8930
|
) -> None:
|
|
8809
8931
|
"""Type checking stubs"""
|
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -14442,7 +14442,7 @@ class CfnTableOptimizer(
|
|
|
14442
14442
|
metaclass=jsii.JSIIMeta,
|
|
14443
14443
|
jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizer",
|
|
14444
14444
|
):
|
|
14445
|
-
'''
|
|
14445
|
+
'''An AWS Glue resource for enabling table optimizers to improve read performance for open table formats.
|
|
14446
14446
|
|
|
14447
14447
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
14448
14448
|
:cloudformationResource: AWS::Glue::TableOptimizer
|
|
@@ -14501,7 +14501,7 @@ class CfnTableOptimizer(
|
|
|
14501
14501
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
14502
14502
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
14503
14503
|
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
14504
|
-
:param type: The type of table optimizer.
|
|
14504
|
+
:param type: The type of table optimizer. The valid values are:. - compaction - for managing compaction with a table optimizer. - retention - for managing the retention of snapshot with a table optimizer. - orphan_file_deletion - for managing the deletion of orphan files with a table optimizer.
|
|
14505
14505
|
'''
|
|
14506
14506
|
if __debug__:
|
|
14507
14507
|
type_hints = typing.get_type_hints(_typecheckingstub__b4e894dd19e24d3b1945f7e3626cca9af994eb9445db78ad5465965094995567)
|
|
@@ -14620,7 +14620,10 @@ class CfnTableOptimizer(
|
|
|
14620
14620
|
@builtins.property
|
|
14621
14621
|
@jsii.member(jsii_name="type")
|
|
14622
14622
|
def type(self) -> builtins.str:
|
|
14623
|
-
'''The type of table optimizer.
|
|
14623
|
+
'''The type of table optimizer.
|
|
14624
|
+
|
|
14625
|
+
The valid values are:.
|
|
14626
|
+
'''
|
|
14624
14627
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
14625
14628
|
|
|
14626
14629
|
@type.setter
|
|
@@ -14645,9 +14648,12 @@ class CfnTableOptimizer(
|
|
|
14645
14648
|
location: typing.Optional[builtins.str] = None,
|
|
14646
14649
|
orphan_file_retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
14647
14650
|
) -> None:
|
|
14648
|
-
'''
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
+
'''IcebergConfiguration is a property type within the ``AWS::Glue::TableOptimizer`` resource in AWS CloudFormation.
|
|
14652
|
+
|
|
14653
|
+
This configuration is used when setting up table optimization for Iceberg tables in AWS Glue .
|
|
14654
|
+
|
|
14655
|
+
:param location: Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
|
|
14656
|
+
:param orphan_file_retention_period_in_days: The specific number of days you want to keep the orphan files.
|
|
14651
14657
|
|
|
14652
14658
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergconfiguration.html
|
|
14653
14659
|
:exampleMetadata: fixture=_generated
|
|
@@ -14675,7 +14681,10 @@ class CfnTableOptimizer(
|
|
|
14675
14681
|
|
|
14676
14682
|
@builtins.property
|
|
14677
14683
|
def location(self) -> typing.Optional[builtins.str]:
|
|
14678
|
-
'''
|
|
14684
|
+
'''Specifies a directory in which to look for orphan files (defaults to the table's location).
|
|
14685
|
+
|
|
14686
|
+
You may choose a sub-directory rather than the top-level table location.
|
|
14687
|
+
|
|
14679
14688
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergconfiguration.html#cfn-glue-tableoptimizer-icebergconfiguration-location
|
|
14680
14689
|
'''
|
|
14681
14690
|
result = self._values.get("location")
|
|
@@ -14683,7 +14692,8 @@ class CfnTableOptimizer(
|
|
|
14683
14692
|
|
|
14684
14693
|
@builtins.property
|
|
14685
14694
|
def orphan_file_retention_period_in_days(self) -> typing.Optional[jsii.Number]:
|
|
14686
|
-
'''
|
|
14695
|
+
'''The specific number of days you want to keep the orphan files.
|
|
14696
|
+
|
|
14687
14697
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergconfiguration.html#cfn-glue-tableoptimizer-icebergconfiguration-orphanfileretentionperiodindays
|
|
14688
14698
|
'''
|
|
14689
14699
|
result = self._values.get("orphan_file_retention_period_in_days")
|
|
@@ -14711,8 +14721,11 @@ class CfnTableOptimizer(
|
|
|
14711
14721
|
*,
|
|
14712
14722
|
iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableOptimizer.IcebergConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14713
14723
|
) -> None:
|
|
14714
|
-
'''
|
|
14715
|
-
|
|
14724
|
+
'''Configuration for removing files that are are not tracked by the Iceberg table metadata, and are older than your configured age limit.
|
|
14725
|
+
|
|
14726
|
+
This configuration helps optimize storage usage and costs by automatically cleaning up files that are no longer needed by the table.
|
|
14727
|
+
|
|
14728
|
+
:param iceberg_configuration: The ``IcebergConfiguration`` property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
|
|
14716
14729
|
|
|
14717
14730
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-orphanfiledeletionconfiguration.html
|
|
14718
14731
|
:exampleMetadata: fixture=_generated
|
|
@@ -14741,7 +14754,8 @@ class CfnTableOptimizer(
|
|
|
14741
14754
|
def iceberg_configuration(
|
|
14742
14755
|
self,
|
|
14743
14756
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergConfigurationProperty"]]:
|
|
14744
|
-
'''
|
|
14757
|
+
'''The ``IcebergConfiguration`` property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
|
|
14758
|
+
|
|
14745
14759
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-orphanfiledeletionconfiguration.html#cfn-glue-tableoptimizer-orphanfiledeletionconfiguration-icebergconfiguration
|
|
14746
14760
|
'''
|
|
14747
14761
|
result = self._values.get("iceberg_configuration")
|
|
@@ -14769,8 +14783,9 @@ class CfnTableOptimizer(
|
|
|
14769
14783
|
*,
|
|
14770
14784
|
iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableOptimizer.IcebergConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14771
14785
|
) -> None:
|
|
14772
|
-
'''
|
|
14773
|
-
|
|
14786
|
+
'''The configuration for a snapshot retention optimizer for Apache Iceberg tables.
|
|
14787
|
+
|
|
14788
|
+
:param iceberg_configuration: The configuration for an Iceberg snapshot retention optimizer.
|
|
14774
14789
|
|
|
14775
14790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-retentionconfiguration.html
|
|
14776
14791
|
:exampleMetadata: fixture=_generated
|
|
@@ -14799,7 +14814,8 @@ class CfnTableOptimizer(
|
|
|
14799
14814
|
def iceberg_configuration(
|
|
14800
14815
|
self,
|
|
14801
14816
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergConfigurationProperty"]]:
|
|
14802
|
-
'''
|
|
14817
|
+
'''The configuration for an Iceberg snapshot retention optimizer.
|
|
14818
|
+
|
|
14803
14819
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-retentionconfiguration.html#cfn-glue-tableoptimizer-retentionconfiguration-icebergconfiguration
|
|
14804
14820
|
'''
|
|
14805
14821
|
result = self._values.get("iceberg_configuration")
|
|
@@ -14841,9 +14857,9 @@ class CfnTableOptimizer(
|
|
|
14841
14857
|
|
|
14842
14858
|
:param enabled: Whether the table optimization is enabled.
|
|
14843
14859
|
:param role_arn: A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
|
|
14844
|
-
:param orphan_file_deletion_configuration:
|
|
14845
|
-
:param retention_configuration:
|
|
14846
|
-
:param vpc_configuration:
|
|
14860
|
+
:param orphan_file_deletion_configuration: ``OrphanFileDeletionConfiguration`` is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
|
|
14861
|
+
:param retention_configuration: The configuration for a snapshot retention optimizer for Apache Iceberg tables.
|
|
14862
|
+
:param vpc_configuration: An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
|
|
14847
14863
|
|
|
14848
14864
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html
|
|
14849
14865
|
:exampleMetadata: fixture=_generated
|
|
@@ -14918,7 +14934,10 @@ class CfnTableOptimizer(
|
|
|
14918
14934
|
def orphan_file_deletion_configuration(
|
|
14919
14935
|
self,
|
|
14920
14936
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.OrphanFileDeletionConfigurationProperty"]]:
|
|
14921
|
-
'''
|
|
14937
|
+
'''``OrphanFileDeletionConfiguration`` is a property that can be included within the TableOptimizer resource.
|
|
14938
|
+
|
|
14939
|
+
It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
|
|
14940
|
+
|
|
14922
14941
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration-orphanfiledeletionconfiguration
|
|
14923
14942
|
'''
|
|
14924
14943
|
result = self._values.get("orphan_file_deletion_configuration")
|
|
@@ -14928,7 +14947,8 @@ class CfnTableOptimizer(
|
|
|
14928
14947
|
def retention_configuration(
|
|
14929
14948
|
self,
|
|
14930
14949
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.RetentionConfigurationProperty"]]:
|
|
14931
|
-
'''
|
|
14950
|
+
'''The configuration for a snapshot retention optimizer for Apache Iceberg tables.
|
|
14951
|
+
|
|
14932
14952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration-retentionconfiguration
|
|
14933
14953
|
'''
|
|
14934
14954
|
result = self._values.get("retention_configuration")
|
|
@@ -14938,7 +14958,10 @@ class CfnTableOptimizer(
|
|
|
14938
14958
|
def vpc_configuration(
|
|
14939
14959
|
self,
|
|
14940
14960
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.VpcConfigurationProperty"]]:
|
|
14941
|
-
'''
|
|
14961
|
+
'''An object that describes the VPC configuration for a table optimizer.
|
|
14962
|
+
|
|
14963
|
+
This configuration is necessary to perform optimization on tables that are in a customer VPC.
|
|
14964
|
+
|
|
14942
14965
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration-vpcconfiguration
|
|
14943
14966
|
'''
|
|
14944
14967
|
result = self._values.get("vpc_configuration")
|
|
@@ -14966,8 +14989,11 @@ class CfnTableOptimizer(
|
|
|
14966
14989
|
*,
|
|
14967
14990
|
glue_connection_name: typing.Optional[builtins.str] = None,
|
|
14968
14991
|
) -> None:
|
|
14969
|
-
'''
|
|
14970
|
-
|
|
14992
|
+
'''An object that describes the VPC configuration for a table optimizer.
|
|
14993
|
+
|
|
14994
|
+
This configuration is necessary to perform optimization on tables that are in a customer VPC.
|
|
14995
|
+
|
|
14996
|
+
:param glue_connection_name: The name of the AWS Glue connection used for the VPC for the table optimizer.
|
|
14971
14997
|
|
|
14972
14998
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-vpcconfiguration.html
|
|
14973
14999
|
:exampleMetadata: fixture=_generated
|
|
@@ -14991,7 +15017,8 @@ class CfnTableOptimizer(
|
|
|
14991
15017
|
|
|
14992
15018
|
@builtins.property
|
|
14993
15019
|
def glue_connection_name(self) -> typing.Optional[builtins.str]:
|
|
14994
|
-
'''
|
|
15020
|
+
'''The name of the AWS Glue connection used for the VPC for the table optimizer.
|
|
15021
|
+
|
|
14995
15022
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-vpcconfiguration.html#cfn-glue-tableoptimizer-vpcconfiguration-glueconnectionname
|
|
14996
15023
|
'''
|
|
14997
15024
|
result = self._values.get("glue_connection_name")
|
|
@@ -15036,7 +15063,7 @@ class CfnTableOptimizerProps:
|
|
|
15036
15063
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
15037
15064
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
15038
15065
|
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
15039
|
-
:param type: The type of table optimizer.
|
|
15066
|
+
:param type: The type of table optimizer. The valid values are:. - compaction - for managing compaction with a table optimizer. - retention - for managing the retention of snapshot with a table optimizer. - orphan_file_deletion - for managing the deletion of orphan files with a table optimizer.
|
|
15040
15067
|
|
|
15041
15068
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
15042
15069
|
:exampleMetadata: fixture=_generated
|
|
@@ -15138,9 +15165,11 @@ class CfnTableOptimizerProps:
|
|
|
15138
15165
|
|
|
15139
15166
|
@builtins.property
|
|
15140
15167
|
def type(self) -> builtins.str:
|
|
15141
|
-
'''The type of table optimizer.
|
|
15168
|
+
'''The type of table optimizer. The valid values are:.
|
|
15142
15169
|
|
|
15143
|
-
|
|
15170
|
+
- compaction - for managing compaction with a table optimizer.
|
|
15171
|
+
- retention - for managing the retention of snapshot with a table optimizer.
|
|
15172
|
+
- orphan_file_deletion - for managing the deletion of orphan files with a table optimizer.
|
|
15144
15173
|
|
|
15145
15174
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-type
|
|
15146
15175
|
'''
|