aws-cdk-lib 2.146.0__py3-none-any.whl → 2.147.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 (67) hide show
  1. aws_cdk/__init__.py +10 -11
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.146.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +32 -12
  5. aws_cdk/aws_apigatewayv2/__init__.py +48 -2
  6. aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
  7. aws_cdk/aws_appconfig/__init__.py +8 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +1766 -0
  9. aws_cdk/aws_auditmanager/__init__.py +5 -1
  10. aws_cdk/aws_autoscaling/__init__.py +65 -20
  11. aws_cdk/aws_batch/__init__.py +215 -0
  12. aws_cdk/aws_bedrock/__init__.py +272 -103
  13. aws_cdk/aws_cloudformation/__init__.py +5 -11
  14. aws_cdk/aws_cloudfront/__init__.py +10 -3
  15. aws_cdk/aws_cloudtrail/__init__.py +56 -2
  16. aws_cdk/aws_codebuild/__init__.py +62 -29
  17. aws_cdk/aws_codepipeline/__init__.py +10 -5
  18. aws_cdk/aws_datazone/__init__.py +80 -68
  19. aws_cdk/aws_deadline/__init__.py +603 -17
  20. aws_cdk/aws_ec2/__init__.py +237 -112
  21. aws_cdk/aws_ecs/__init__.py +20 -18
  22. aws_cdk/aws_eks/__init__.py +15 -9
  23. aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
  24. aws_cdk/aws_emrserverless/__init__.py +5 -5
  25. aws_cdk/aws_events/__init__.py +36 -16
  26. aws_cdk/aws_fsx/__init__.py +126 -21
  27. aws_cdk/aws_globalaccelerator/__init__.py +2 -1
  28. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
  29. aws_cdk/aws_glue/__init__.py +26 -0
  30. aws_cdk/aws_grafana/__init__.py +4 -4
  31. aws_cdk/aws_groundstation/__init__.py +55 -35
  32. aws_cdk/aws_guardduty/__init__.py +826 -0
  33. aws_cdk/aws_iot/__init__.py +3 -3
  34. aws_cdk/aws_lambda/__init__.py +7 -5
  35. aws_cdk/aws_lightsail/__init__.py +1 -1
  36. aws_cdk/aws_location/__init__.py +10 -11
  37. aws_cdk/aws_mediapackagev2/__init__.py +38 -20
  38. aws_cdk/aws_mediatailor/__init__.py +2 -2
  39. aws_cdk/aws_msk/__init__.py +4 -4
  40. aws_cdk/aws_mwaa/__init__.py +16 -8
  41. aws_cdk/aws_nimblestudio/__init__.py +9 -9
  42. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  43. aws_cdk/aws_opsworks/__init__.py +3 -3
  44. aws_cdk/aws_osis/__init__.py +33 -4
  45. aws_cdk/aws_pipes/__init__.py +97 -45
  46. aws_cdk/aws_quicksight/__init__.py +23 -21
  47. aws_cdk/aws_rds/__init__.py +43 -11
  48. aws_cdk/aws_refactorspaces/__init__.py +3 -3
  49. aws_cdk/aws_rolesanywhere/__init__.py +21 -14
  50. aws_cdk/aws_sagemaker/__init__.py +5 -2
  51. aws_cdk/aws_securityhub/__init__.py +163 -78
  52. aws_cdk/aws_securitylake/__init__.py +7 -5
  53. aws_cdk/aws_ses/__init__.py +117 -0
  54. aws_cdk/aws_simspaceweaver/__init__.py +2 -2
  55. aws_cdk/aws_sns/__init__.py +6 -4
  56. aws_cdk/aws_sqs/__init__.py +3 -3
  57. aws_cdk/aws_stepfunctions/__init__.py +51 -28
  58. aws_cdk/aws_stepfunctions_tasks/__init__.py +56 -2
  59. aws_cdk/aws_transfer/__init__.py +8 -2
  60. aws_cdk/aws_wafv2/__init__.py +10 -10
  61. aws_cdk/aws_workspacesweb/__init__.py +8 -8
  62. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +1 -1
  63. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +67 -66
  64. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
  65. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -0
  66. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
  67. {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
@@ -930,6 +930,10 @@ class CfnFileSystem(
930
930
  export_path="exportPath",
931
931
  imported_file_chunk_size=123,
932
932
  import_path="importPath",
933
+ metadata_configuration=fsx.CfnFileSystem.MetadataConfigurationProperty(
934
+ iops=123,
935
+ mode="mode"
936
+ ),
933
937
  per_unit_storage_throughput=123,
934
938
  weekly_maintenance_start_time="weeklyMaintenanceStartTime"
935
939
  ),
@@ -1055,7 +1059,7 @@ class CfnFileSystem(
1055
1059
  :param file_system_type: The type of Amazon FSx file system, which can be ``LUSTRE`` , ``WINDOWS`` , ``ONTAP`` , or ``OPENZFS`` .
1056
1060
  :param subnet_ids: Specifies the IDs of the subnets that the file system will be accessible from. For Windows and ONTAP ``MULTI_AZ_1`` deployment types,provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using the ``WindowsConfiguration > PreferredSubnetID`` or ``OntapConfiguration > PreferredSubnetID`` properties. For more information about Multi-AZ file system configuration, see `Availability and durability: Single-AZ and Multi-AZ file systems <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html>`_ in the *Amazon FSx for Windows User Guide* and `Availability and durability <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-multiAZ.html>`_ in the *Amazon FSx for ONTAP User Guide* . For Windows ``SINGLE_AZ_1`` and ``SINGLE_AZ_2`` and all Lustre deployment types, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
1057
1061
  :param backup_id: The ID of the file system backup that you are using to create a file system. For more information, see `CreateFileSystemFromBackup <https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystemFromBackup.html>`_ .
1058
- :param file_system_type_version: (Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are ``2.10`` , ``2.12`` , and ``2.15`` : - 2.10 is supported by the Scratch and Persistent_1 Lustre deployment types. - 2.12 and 2.15 are supported by all Lustre deployment types. ``2.12`` or ``2.15`` is required when setting FSx for Lustre ``DeploymentType`` to ``PERSISTENT_2`` . Default value = ``2.10`` , except when ``DeploymentType`` is set to ``PERSISTENT_2`` , then the default is ``2.12`` . .. epigraph:: If you set ``FileSystemTypeVersion`` to ``2.10`` for a ``PERSISTENT_2`` Lustre deployment type, the ``CreateFileSystem`` operation fails.
1062
+ :param file_system_type_version: For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are ``2.10`` , ``2.12`` , and ``2.15`` : - ``2.10`` is supported by the Scratch and Persistent_1 Lustre deployment types. - ``2.12`` is supported by all Lustre deployment types, except for ``PERSISTENT_2`` with a metadata configuration mode. - ``2.15`` is supported by all Lustre deployment types and is recommended for all new file systems. Default value is ``2.10`` , except for the following deployments: - Default value is ``2.12`` when ``DeploymentType`` is set to ``PERSISTENT_2`` without a metadata configuration mode. - Default value is ``2.15`` when ``DeploymentType`` is set to ``PERSISTENT_2`` with a metadata configuration mode.
1059
1063
  :param kms_key_id: The ID of the AWS Key Management Service ( AWS KMS ) key used to encrypt Amazon FSx file system data. Used as follows with Amazon FSx file system types: - Amazon FSx for Lustre ``PERSISTENT_1`` and ``PERSISTENT_2`` deployment types only. ``SCRATCH_1`` and ``SCRATCH_2`` types are encrypted using the Amazon FSx service AWS KMS key for your account. - Amazon FSx for NetApp ONTAP - Amazon FSx for OpenZFS - Amazon FSx for Windows File Server
1060
1064
  :param lustre_configuration: The Lustre configuration for the file system being created. .. epigraph:: The following parameters are not supported when creating Lustre file systems with a data repository association. - ``AutoImportPolicy`` - ``ExportPath`` - ``ImportedChunkSize`` - ``ImportPath``
1061
1065
  :param ontap_configuration: The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.
@@ -1225,7 +1229,7 @@ class CfnFileSystem(
1225
1229
  @builtins.property
1226
1230
  @jsii.member(jsii_name="fileSystemTypeVersion")
1227
1231
  def file_system_type_version(self) -> typing.Optional[builtins.str]:
1228
- '''(Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.'''
1232
+ '''For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.'''
1229
1233
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fileSystemTypeVersion"))
1230
1234
 
1231
1235
  @file_system_type_version.setter
@@ -1653,6 +1657,7 @@ class CfnFileSystem(
1653
1657
  "export_path": "exportPath",
1654
1658
  "imported_file_chunk_size": "importedFileChunkSize",
1655
1659
  "import_path": "importPath",
1660
+ "metadata_configuration": "metadataConfiguration",
1656
1661
  "per_unit_storage_throughput": "perUnitStorageThroughput",
1657
1662
  "weekly_maintenance_start_time": "weeklyMaintenanceStartTime",
1658
1663
  },
@@ -1671,6 +1676,7 @@ class CfnFileSystem(
1671
1676
  export_path: typing.Optional[builtins.str] = None,
1672
1677
  imported_file_chunk_size: typing.Optional[jsii.Number] = None,
1673
1678
  import_path: typing.Optional[builtins.str] = None,
1679
+ metadata_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.MetadataConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1674
1680
  per_unit_storage_throughput: typing.Optional[jsii.Number] = None,
1675
1681
  weekly_maintenance_start_time: typing.Optional[builtins.str] = None,
1676
1682
  ) -> None:
@@ -1681,11 +1687,12 @@ class CfnFileSystem(
1681
1687
  :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* .
1682
1688
  :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.
1683
1689
  :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* .
1684
- :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). ``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`` )
1690
+ :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`` )
1685
1691
  :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`` .
1686
1692
  :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.
1687
1693
  :param imported_file_chunk_size: (Optional) For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB. .. epigraph:: This parameter is not supported for Lustre file systems with a data repository association.
1688
1694
  :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.
1695
+ :param metadata_configuration:
1689
1696
  :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.
1690
1697
  :param weekly_maintenance_start_time: A recurring weekly time, in the format ``D:HH:MM`` . ``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ . ``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
1691
1698
 
@@ -1709,6 +1716,10 @@ class CfnFileSystem(
1709
1716
  export_path="exportPath",
1710
1717
  imported_file_chunk_size=123,
1711
1718
  import_path="importPath",
1719
+ metadata_configuration=fsx.CfnFileSystem.MetadataConfigurationProperty(
1720
+ iops=123,
1721
+ mode="mode"
1722
+ ),
1712
1723
  per_unit_storage_throughput=123,
1713
1724
  weekly_maintenance_start_time="weeklyMaintenanceStartTime"
1714
1725
  )
@@ -1725,6 +1736,7 @@ class CfnFileSystem(
1725
1736
  check_type(argname="argument export_path", value=export_path, expected_type=type_hints["export_path"])
1726
1737
  check_type(argname="argument imported_file_chunk_size", value=imported_file_chunk_size, expected_type=type_hints["imported_file_chunk_size"])
1727
1738
  check_type(argname="argument import_path", value=import_path, expected_type=type_hints["import_path"])
1739
+ check_type(argname="argument metadata_configuration", value=metadata_configuration, expected_type=type_hints["metadata_configuration"])
1728
1740
  check_type(argname="argument per_unit_storage_throughput", value=per_unit_storage_throughput, expected_type=type_hints["per_unit_storage_throughput"])
1729
1741
  check_type(argname="argument weekly_maintenance_start_time", value=weekly_maintenance_start_time, expected_type=type_hints["weekly_maintenance_start_time"])
1730
1742
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -1748,6 +1760,8 @@ class CfnFileSystem(
1748
1760
  self._values["imported_file_chunk_size"] = imported_file_chunk_size
1749
1761
  if import_path is not None:
1750
1762
  self._values["import_path"] = import_path
1763
+ if metadata_configuration is not None:
1764
+ self._values["metadata_configuration"] = metadata_configuration
1751
1765
  if per_unit_storage_throughput is not None:
1752
1766
  self._values["per_unit_storage_throughput"] = per_unit_storage_throughput
1753
1767
  if weekly_maintenance_start_time is not None:
@@ -1835,12 +1849,12 @@ class CfnFileSystem(
1835
1849
 
1836
1850
  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.
1837
1851
 
1838
- 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). ``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* .
1852
+ 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* .
1839
1853
  .. epigraph::
1840
1854
 
1841
1855
  If you choose ``PERSISTENT_2`` , and you set ``FileSystemTypeVersion`` to ``2.10`` , the ``CreateFileSystem`` operation fails.
1842
1856
 
1843
- 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* .
1857
+ 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* .
1844
1858
 
1845
1859
  (Default = ``SCRATCH_1`` )
1846
1860
 
@@ -1908,6 +1922,16 @@ class CfnFileSystem(
1908
1922
  result = self._values.get("import_path")
1909
1923
  return typing.cast(typing.Optional[builtins.str], result)
1910
1924
 
1925
+ @builtins.property
1926
+ def metadata_configuration(
1927
+ self,
1928
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFileSystem.MetadataConfigurationProperty"]]:
1929
+ '''
1930
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-metadataconfiguration
1931
+ '''
1932
+ result = self._values.get("metadata_configuration")
1933
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFileSystem.MetadataConfigurationProperty"]], result)
1934
+
1911
1935
  @builtins.property
1912
1936
  def per_unit_storage_throughput(self) -> typing.Optional[jsii.Number]:
1913
1937
  '''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.
@@ -1951,6 +1975,73 @@ class CfnFileSystem(
1951
1975
  k + "=" + repr(v) for k, v in self._values.items()
1952
1976
  )
1953
1977
 
1978
+ @jsii.data_type(
1979
+ jsii_type="aws-cdk-lib.aws_fsx.CfnFileSystem.MetadataConfigurationProperty",
1980
+ jsii_struct_bases=[],
1981
+ name_mapping={"iops": "iops", "mode": "mode"},
1982
+ )
1983
+ class MetadataConfigurationProperty:
1984
+ def __init__(
1985
+ self,
1986
+ *,
1987
+ iops: typing.Optional[jsii.Number] = None,
1988
+ mode: typing.Optional[builtins.str] = None,
1989
+ ) -> None:
1990
+ '''
1991
+ :param iops:
1992
+ :param mode:
1993
+
1994
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-metadataconfiguration.html
1995
+ :exampleMetadata: fixture=_generated
1996
+
1997
+ Example::
1998
+
1999
+ # The code below shows an example of how to instantiate this type.
2000
+ # The values are placeholders you should change.
2001
+ from aws_cdk import aws_fsx as fsx
2002
+
2003
+ metadata_configuration_property = fsx.CfnFileSystem.MetadataConfigurationProperty(
2004
+ iops=123,
2005
+ mode="mode"
2006
+ )
2007
+ '''
2008
+ if __debug__:
2009
+ type_hints = typing.get_type_hints(_typecheckingstub__7aa9a7707baff419117abba7f05ab48bf7b1de77cbcd91feed4ec16f2cb54ffc)
2010
+ check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
2011
+ check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
2012
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2013
+ if iops is not None:
2014
+ self._values["iops"] = iops
2015
+ if mode is not None:
2016
+ self._values["mode"] = mode
2017
+
2018
+ @builtins.property
2019
+ def iops(self) -> typing.Optional[jsii.Number]:
2020
+ '''
2021
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-metadataconfiguration.html#cfn-fsx-filesystem-metadataconfiguration-iops
2022
+ '''
2023
+ result = self._values.get("iops")
2024
+ return typing.cast(typing.Optional[jsii.Number], result)
2025
+
2026
+ @builtins.property
2027
+ def mode(self) -> typing.Optional[builtins.str]:
2028
+ '''
2029
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-metadataconfiguration.html#cfn-fsx-filesystem-metadataconfiguration-mode
2030
+ '''
2031
+ result = self._values.get("mode")
2032
+ return typing.cast(typing.Optional[builtins.str], result)
2033
+
2034
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2035
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2036
+
2037
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2038
+ return not (rhs == self)
2039
+
2040
+ def __repr__(self) -> str:
2041
+ return "MetadataConfigurationProperty(%s)" % ", ".join(
2042
+ k + "=" + repr(v) for k, v in self._values.items()
2043
+ )
2044
+
1954
2045
  @jsii.data_type(
1955
2046
  jsii_type="aws-cdk-lib.aws_fsx.CfnFileSystem.NfsExportsProperty",
1956
2047
  jsii_struct_bases=[],
@@ -2054,7 +2145,7 @@ class CfnFileSystem(
2054
2145
  :param disk_iops_configuration: The SSD IOPS configuration for the FSx for ONTAP file system.
2055
2146
  :param endpoint_ip_address_range: (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables, as long as they don't overlap with any subnet.
2056
2147
  :param fsx_admin_password: The ONTAP administrative password for the ``fsxadmin`` user with which you administer your file system using the NetApp ONTAP CLI and REST API.
2057
- :param ha_pairs: Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/HA-pairs.html>`_ in the FSx for ONTAP user guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``HAPairs`` is less than 1 or greater than 12. - The value of ``HAPairs`` is greater than 1 and the value of ``DeploymentType`` is ``SINGLE_AZ_1`` or ``MULTI_AZ_1`` .
2148
+ :param ha_pairs: Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs>`_ in the FSx for ONTAP user guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``HAPairs`` is less than 1 or greater than 12. - The value of ``HAPairs`` is greater than 1 and the value of ``DeploymentType`` is ``SINGLE_AZ_1`` or ``MULTI_AZ_1`` .
2058
2149
  :param preferred_subnet_id: Required when ``DeploymentType`` is set to ``MULTI_AZ_1`` . This specifies the subnet in which you want the preferred file server to be located.
2059
2150
  :param route_table_ids: (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. .. epigraph:: Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication. These route tables are tagged with ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` . When creating FSx for ONTAP Multi-AZ file systems using AWS CloudFormation we recommend that you add the ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` tag manually.
2060
2151
  :param throughput_capacity: Sets the throughput capacity for the file system that you're creating in megabytes per second (MBps). For more information, see `Managing throughput capacity <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-throughput-capacity.html>`_ in the FSx for ONTAP User Guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value. - The value of ``ThroughputCapacity`` when divided by the value of ``HAPairs`` is outside of the valid range for ``ThroughputCapacity`` .
@@ -2203,7 +2294,7 @@ class CfnFileSystem(
2203
2294
  def ha_pairs(self) -> typing.Optional[jsii.Number]:
2204
2295
  '''Specifies how many high-availability (HA) pairs of file servers will power your file system.
2205
2296
 
2206
- Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/HA-pairs.html>`_ in the FSx for ONTAP user guide.
2297
+ Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs>`_ in the FSx for ONTAP user guide.
2207
2298
 
2208
2299
  Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
2209
2300
 
@@ -3375,7 +3466,7 @@ class CfnFileSystemProps:
3375
3466
  :param file_system_type: The type of Amazon FSx file system, which can be ``LUSTRE`` , ``WINDOWS`` , ``ONTAP`` , or ``OPENZFS`` .
3376
3467
  :param subnet_ids: Specifies the IDs of the subnets that the file system will be accessible from. For Windows and ONTAP ``MULTI_AZ_1`` deployment types,provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using the ``WindowsConfiguration > PreferredSubnetID`` or ``OntapConfiguration > PreferredSubnetID`` properties. For more information about Multi-AZ file system configuration, see `Availability and durability: Single-AZ and Multi-AZ file systems <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html>`_ in the *Amazon FSx for Windows User Guide* and `Availability and durability <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-multiAZ.html>`_ in the *Amazon FSx for ONTAP User Guide* . For Windows ``SINGLE_AZ_1`` and ``SINGLE_AZ_2`` and all Lustre deployment types, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
3377
3468
  :param backup_id: The ID of the file system backup that you are using to create a file system. For more information, see `CreateFileSystemFromBackup <https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystemFromBackup.html>`_ .
3378
- :param file_system_type_version: (Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are ``2.10`` , ``2.12`` , and ``2.15`` : - 2.10 is supported by the Scratch and Persistent_1 Lustre deployment types. - 2.12 and 2.15 are supported by all Lustre deployment types. ``2.12`` or ``2.15`` is required when setting FSx for Lustre ``DeploymentType`` to ``PERSISTENT_2`` . Default value = ``2.10`` , except when ``DeploymentType`` is set to ``PERSISTENT_2`` , then the default is ``2.12`` . .. epigraph:: If you set ``FileSystemTypeVersion`` to ``2.10`` for a ``PERSISTENT_2`` Lustre deployment type, the ``CreateFileSystem`` operation fails.
3469
+ :param file_system_type_version: For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are ``2.10`` , ``2.12`` , and ``2.15`` : - ``2.10`` is supported by the Scratch and Persistent_1 Lustre deployment types. - ``2.12`` is supported by all Lustre deployment types, except for ``PERSISTENT_2`` with a metadata configuration mode. - ``2.15`` is supported by all Lustre deployment types and is recommended for all new file systems. Default value is ``2.10`` , except for the following deployments: - Default value is ``2.12`` when ``DeploymentType`` is set to ``PERSISTENT_2`` without a metadata configuration mode. - Default value is ``2.15`` when ``DeploymentType`` is set to ``PERSISTENT_2`` with a metadata configuration mode.
3379
3470
  :param kms_key_id: The ID of the AWS Key Management Service ( AWS KMS ) key used to encrypt Amazon FSx file system data. Used as follows with Amazon FSx file system types: - Amazon FSx for Lustre ``PERSISTENT_1`` and ``PERSISTENT_2`` deployment types only. ``SCRATCH_1`` and ``SCRATCH_2`` types are encrypted using the Amazon FSx service AWS KMS key for your account. - Amazon FSx for NetApp ONTAP - Amazon FSx for OpenZFS - Amazon FSx for Windows File Server
3380
3471
  :param lustre_configuration: The Lustre configuration for the file system being created. .. epigraph:: The following parameters are not supported when creating Lustre file systems with a data repository association. - ``AutoImportPolicy`` - ``ExportPath`` - ``ImportedChunkSize`` - ``ImportPath``
3381
3472
  :param ontap_configuration: The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.
@@ -3414,6 +3505,10 @@ class CfnFileSystemProps:
3414
3505
  export_path="exportPath",
3415
3506
  imported_file_chunk_size=123,
3416
3507
  import_path="importPath",
3508
+ metadata_configuration=fsx.CfnFileSystem.MetadataConfigurationProperty(
3509
+ iops=123,
3510
+ mode="mode"
3511
+ ),
3417
3512
  per_unit_storage_throughput=123,
3418
3513
  weekly_maintenance_start_time="weeklyMaintenanceStartTime"
3419
3514
  ),
@@ -3592,17 +3687,18 @@ class CfnFileSystemProps:
3592
3687
 
3593
3688
  @builtins.property
3594
3689
  def file_system_type_version(self) -> typing.Optional[builtins.str]:
3595
- '''(Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.
3690
+ '''For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.
3596
3691
 
3597
3692
  Valid values are ``2.10`` , ``2.12`` , and ``2.15`` :
3598
3693
 
3599
- - 2.10 is supported by the Scratch and Persistent_1 Lustre deployment types.
3600
- - 2.12 and 2.15 are supported by all Lustre deployment types. ``2.12`` or ``2.15`` is required when setting FSx for Lustre ``DeploymentType`` to ``PERSISTENT_2`` .
3694
+ - ``2.10`` is supported by the Scratch and Persistent_1 Lustre deployment types.
3695
+ - ``2.12`` is supported by all Lustre deployment types, except for ``PERSISTENT_2`` with a metadata configuration mode.
3696
+ - ``2.15`` is supported by all Lustre deployment types and is recommended for all new file systems.
3601
3697
 
3602
- Default value = ``2.10`` , except when ``DeploymentType`` is set to ``PERSISTENT_2`` , then the default is ``2.12`` .
3603
- .. epigraph::
3698
+ Default value is ``2.10`` , except for the following deployments:
3604
3699
 
3605
- If you set ``FileSystemTypeVersion`` to ``2.10`` for a ``PERSISTENT_2`` Lustre deployment type, the ``CreateFileSystem`` operation fails.
3700
+ - Default value is ``2.12`` when ``DeploymentType`` is set to ``PERSISTENT_2`` without a metadata configuration mode.
3701
+ - Default value is ``2.15`` when ``DeploymentType`` is set to ``PERSISTENT_2`` with a metadata configuration mode.
3606
3702
 
3607
3703
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-filesystemtypeversion
3608
3704
  '''
@@ -5304,15 +5400,15 @@ class CfnVolume(
5304
5400
  :param aggregate_configuration: Used to specify the configuration options for an FSx for ONTAP volume's storage aggregate or aggregates.
5305
5401
  :param copy_tags_to_backups: A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more 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 volume, regardless of this value.
5306
5402
  :param junction_path: Specifies the location in the SVM's namespace where the volume is mounted. This parameter is required. The ``JunctionPath`` must have a leading forward slash, such as ``/vol3`` .
5307
- :param ontap_volume_type: Specifies the type of volume you are creating. Valid values are the following:. - ``RW`` specifies a read/write volume. ``RW`` is the default. - ``DP`` specifies a data-protection volume. A ``DP`` volume is read-only and can be used as the destination of a NetApp SnapMirror relationship. For more information, see `Volume types <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-types>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5308
- :param security_style: Specifies the security style for the volume. If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style>`_ in the *Amazon FSx for NetApp ONTAP User Guide* . Specify one of the following values: - ``UNIX`` if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account. - ``NTFS`` if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account. - ``MIXED`` This is an advanced setting. For more information, see the topic `What the security styles and their effects are <https://docs.aws.amazon.com/https://docs.netapp.com/us-en/ontap/nfs-admin/security-styles-their-effects-concept.html>`_ in the NetApp Documentation Center. For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html>`_ in the FSx for ONTAP User Guide.
5403
+ :param ontap_volume_type: Specifies the type of volume you are creating. Valid values are the following:. - ``RW`` specifies a read/write volume. ``RW`` is the default. - ``DP`` specifies a data-protection volume. A ``DP`` volume is read-only and can be used as the destination of a NetApp SnapMirror relationship. For more information, see `Volume types <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-types>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5404
+ :param security_style: Specifies the security style for the volume. If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. Specify one of the following values: - ``UNIX`` if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account. - ``NTFS`` if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account. - ``MIXED`` This is an advanced setting. For more information, see the topic `What the security styles and their effects are <https://docs.aws.amazon.com/https://docs.netapp.com/us-en/ontap/nfs-admin/security-styles-their-effects-concept.html>`_ in the NetApp Documentation Center. For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-security-style>`_ in the FSx for ONTAP User Guide.
5309
5405
  :param size_in_bytes: Specifies the configured size of the volume, in bytes.
5310
5406
  :param size_in_megabytes: Use ``SizeInBytes`` instead. Specifies the size of the volume, in megabytes (MB), that you are creating.
5311
5407
  :param snaplock_configuration: The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
5312
5408
  :param snapshot_policy: Specifies the snapshot policy for the volume. There are three built-in snapshot policies:. - ``default`` : This is the default policy. A maximum of six hourly snapshots taken five minutes past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight. - ``default-1weekly`` : This policy is the same as the ``default`` policy except that it only retains one snapshot from the weekly schedule. - ``none`` : This policy does not take any snapshots. This policy can be assigned to volumes to prevent automatic snapshots from being taken. You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API. For more information, see `Snapshot policies <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5313
5409
  :param storage_efficiency_enabled: Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume, or set to false to disable them. ``StorageEfficiencyEnabled`` is required when creating a ``RW`` volume ( ``OntapVolumeType`` set to ``RW`` ).
5314
5410
  :param tiering_policy: Describes the data tiering policy for an ONTAP volume. When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns. Valid tiering policies are the following: - ``SNAPSHOT_ONLY`` - (Default value) moves cold snapshots to the capacity pool storage tier. - ``AUTO`` - moves cold user data and snapshots to the capacity pool storage tier based on your access patterns. - ``ALL`` - moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier. - ``NONE`` - keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.
5315
- :param volume_style: Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see `Volume styles <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-styles.html>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5411
+ :param volume_style: Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see `Volume styles <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5316
5412
 
5317
5413
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration.html
5318
5414
  :exampleMetadata: fixture=_generated
@@ -5473,7 +5569,7 @@ class CfnVolume(
5473
5569
  - ``RW`` specifies a read/write volume. ``RW`` is the default.
5474
5570
  - ``DP`` specifies a data-protection volume. A ``DP`` volume is read-only and can be used as the destination of a NetApp SnapMirror relationship.
5475
5571
 
5476
- For more information, see `Volume types <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-types>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5572
+ For more information, see `Volume types <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-types>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5477
5573
 
5478
5574
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration.html#cfn-fsx-volume-ontapconfiguration-ontapvolumetype
5479
5575
  '''
@@ -5484,13 +5580,13 @@ class CfnVolume(
5484
5580
  def security_style(self) -> typing.Optional[builtins.str]:
5485
5581
  '''Specifies the security style for the volume.
5486
5582
 
5487
- If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style>`_ in the *Amazon FSx for NetApp ONTAP User Guide* . Specify one of the following values:
5583
+ If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. Specify one of the following values:
5488
5584
 
5489
5585
  - ``UNIX`` if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.
5490
5586
  - ``NTFS`` if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.
5491
5587
  - ``MIXED`` This is an advanced setting. For more information, see the topic `What the security styles and their effects are <https://docs.aws.amazon.com/https://docs.netapp.com/us-en/ontap/nfs-admin/security-styles-their-effects-concept.html>`_ in the NetApp Documentation Center.
5492
5588
 
5493
- For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html>`_ in the FSx for ONTAP User Guide.
5589
+ For more information, see `Volume security style <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-security-style>`_ in the FSx for ONTAP User Guide.
5494
5590
 
5495
5591
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration.html#cfn-fsx-volume-ontapconfiguration-securitystyle
5496
5592
  '''
@@ -5580,7 +5676,7 @@ class CfnVolume(
5580
5676
  def volume_style(self) -> typing.Optional[builtins.str]:
5581
5677
  '''Use to specify the style of an ONTAP volume.
5582
5678
 
5583
- FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see `Volume styles <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-styles.html>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5679
+ FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see `Volume styles <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles>`_ in the Amazon FSx for NetApp ONTAP User Guide.
5584
5680
 
5585
5681
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration.html#cfn-fsx-volume-ontapconfiguration-volumestyle
5586
5682
  '''
@@ -8172,12 +8268,21 @@ def _typecheckingstub__8e1fe808b96f0eb1b8b6ed8eb3d551c8d995fe2c98c9be554bed33160
8172
8268
  export_path: typing.Optional[builtins.str] = None,
8173
8269
  imported_file_chunk_size: typing.Optional[jsii.Number] = None,
8174
8270
  import_path: typing.Optional[builtins.str] = None,
8271
+ metadata_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.MetadataConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8175
8272
  per_unit_storage_throughput: typing.Optional[jsii.Number] = None,
8176
8273
  weekly_maintenance_start_time: typing.Optional[builtins.str] = None,
8177
8274
  ) -> None:
8178
8275
  """Type checking stubs"""
8179
8276
  pass
8180
8277
 
8278
+ def _typecheckingstub__7aa9a7707baff419117abba7f05ab48bf7b1de77cbcd91feed4ec16f2cb54ffc(
8279
+ *,
8280
+ iops: typing.Optional[jsii.Number] = None,
8281
+ mode: typing.Optional[builtins.str] = None,
8282
+ ) -> None:
8283
+ """Type checking stubs"""
8284
+ pass
8285
+
8181
8286
  def _typecheckingstub__cf7e8e549f94791653e718c0386fce4703f149298e88872cacd000f16d38ec9d(
8182
8287
  *,
8183
8288
  client_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.ClientConfigurationsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -113,7 +113,8 @@ listener.add_endpoint_group("Group",
113
113
  listener.add_endpoint_group("Group",
114
114
  endpoints=[
115
115
  ga_endpoints.NetworkLoadBalancerEndpoint(nlb,
116
- weight=128
116
+ weight=128,
117
+ preserve_client_ip=True
117
118
  )
118
119
  ]
119
120
  )
@@ -477,16 +477,20 @@ class NetworkLoadBalancerEndpoint(
477
477
  self,
478
478
  load_balancer: _INetworkLoadBalancer_96e17101,
479
479
  *,
480
+ preserve_client_ip: typing.Optional[builtins.bool] = None,
480
481
  weight: typing.Optional[jsii.Number] = None,
481
482
  ) -> None:
482
483
  '''
483
484
  :param load_balancer: -
485
+ :param preserve_client_ip: Forward the client IP address in an ``X-Forwarded-For`` header. GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address. Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list. Default: false
484
486
  :param weight: Endpoint weight across all endpoints in the group. Must be a value between 0 and 255. Default: 128
485
487
  '''
486
488
  if __debug__:
487
489
  type_hints = typing.get_type_hints(_typecheckingstub__edacbc82e43081f03b16a95735ec03233b002430b75f4210e6958b2ecdfcde4d)
488
490
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
489
- options = NetworkLoadBalancerEndpointProps(weight=weight)
491
+ options = NetworkLoadBalancerEndpointProps(
492
+ preserve_client_ip=preserve_client_ip, weight=weight
493
+ )
490
494
 
491
495
  jsii.create(self.__class__, self, [load_balancer, options])
492
496
 
@@ -508,12 +512,18 @@ class NetworkLoadBalancerEndpoint(
508
512
  @jsii.data_type(
509
513
  jsii_type="aws-cdk-lib.aws_globalaccelerator_endpoints.NetworkLoadBalancerEndpointProps",
510
514
  jsii_struct_bases=[],
511
- name_mapping={"weight": "weight"},
515
+ name_mapping={"preserve_client_ip": "preserveClientIp", "weight": "weight"},
512
516
  )
513
517
  class NetworkLoadBalancerEndpointProps:
514
- def __init__(self, *, weight: typing.Optional[jsii.Number] = None) -> None:
518
+ def __init__(
519
+ self,
520
+ *,
521
+ preserve_client_ip: typing.Optional[builtins.bool] = None,
522
+ weight: typing.Optional[jsii.Number] = None,
523
+ ) -> None:
515
524
  '''Properties for a NetworkLoadBalancerEndpoint.
516
525
 
526
+ :param preserve_client_ip: Forward the client IP address in an ``X-Forwarded-For`` header. GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address. Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list. Default: false
517
527
  :param weight: Endpoint weight across all endpoints in the group. Must be a value between 0 and 255. Default: 128
518
528
 
519
529
  :exampleMetadata: infused
@@ -527,18 +537,37 @@ class NetworkLoadBalancerEndpointProps:
527
537
  listener.add_endpoint_group("Group",
528
538
  endpoints=[
529
539
  ga_endpoints.NetworkLoadBalancerEndpoint(nlb,
530
- weight=128
540
+ weight=128,
541
+ preserve_client_ip=True
531
542
  )
532
543
  ]
533
544
  )
534
545
  '''
535
546
  if __debug__:
536
547
  type_hints = typing.get_type_hints(_typecheckingstub__a3059a828313b5b869d2a1ae70c7acf7cf9e4d48942d0394e47efafc648b331f)
548
+ check_type(argname="argument preserve_client_ip", value=preserve_client_ip, expected_type=type_hints["preserve_client_ip"])
537
549
  check_type(argname="argument weight", value=weight, expected_type=type_hints["weight"])
538
550
  self._values: typing.Dict[builtins.str, typing.Any] = {}
551
+ if preserve_client_ip is not None:
552
+ self._values["preserve_client_ip"] = preserve_client_ip
539
553
  if weight is not None:
540
554
  self._values["weight"] = weight
541
555
 
556
+ @builtins.property
557
+ def preserve_client_ip(self) -> typing.Optional[builtins.bool]:
558
+ '''Forward the client IP address in an ``X-Forwarded-For`` header.
559
+
560
+ GlobalAccelerator will create Network Interfaces in your VPC in order
561
+ to preserve the client IP address.
562
+
563
+ Client IP address preservation is supported only in specific AWS Regions.
564
+ See the GlobalAccelerator Developer Guide for a list.
565
+
566
+ :default: false
567
+ '''
568
+ result = self._values.get("preserve_client_ip")
569
+ return typing.cast(typing.Optional[builtins.bool], result)
570
+
542
571
  @builtins.property
543
572
  def weight(self) -> typing.Optional[jsii.Number]:
544
573
  '''Endpoint weight across all endpoints in the group.
@@ -627,6 +656,7 @@ def _typecheckingstub__234a90a888e0bfaab2b608e4e2c1e1a69a9e87121c40a35a442f70275
627
656
  def _typecheckingstub__edacbc82e43081f03b16a95735ec03233b002430b75f4210e6958b2ecdfcde4d(
628
657
  load_balancer: _INetworkLoadBalancer_96e17101,
629
658
  *,
659
+ preserve_client_ip: typing.Optional[builtins.bool] = None,
630
660
  weight: typing.Optional[jsii.Number] = None,
631
661
  ) -> None:
632
662
  """Type checking stubs"""
@@ -634,6 +664,7 @@ def _typecheckingstub__edacbc82e43081f03b16a95735ec03233b002430b75f4210e6958b2ec
634
664
 
635
665
  def _typecheckingstub__a3059a828313b5b869d2a1ae70c7acf7cf9e4d48942d0394e47efafc648b331f(
636
666
  *,
667
+ preserve_client_ip: typing.Optional[builtins.bool] = None,
637
668
  weight: typing.Optional[jsii.Number] = None,
638
669
  ) -> None:
639
670
  """Type checking stubs"""
@@ -1454,6 +1454,7 @@ class CfnCrawler(
1454
1454
  )],
1455
1455
  jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
1456
1456
  connection_name="connectionName",
1457
+ enable_additional_metadata=["enableAdditionalMetadata"],
1457
1458
  exclusions=["exclusions"],
1458
1459
  path="path"
1459
1460
  )],
@@ -2214,6 +2215,7 @@ class CfnCrawler(
2214
2215
  jsii_struct_bases=[],
2215
2216
  name_mapping={
2216
2217
  "connection_name": "connectionName",
2218
+ "enable_additional_metadata": "enableAdditionalMetadata",
2217
2219
  "exclusions": "exclusions",
2218
2220
  "path": "path",
2219
2221
  },
@@ -2223,12 +2225,14 @@ class CfnCrawler(
2223
2225
  self,
2224
2226
  *,
2225
2227
  connection_name: typing.Optional[builtins.str] = None,
2228
+ enable_additional_metadata: typing.Optional[typing.Sequence[builtins.str]] = None,
2226
2229
  exclusions: typing.Optional[typing.Sequence[builtins.str]] = None,
2227
2230
  path: typing.Optional[builtins.str] = None,
2228
2231
  ) -> None:
2229
2232
  '''Specifies a JDBC data store to crawl.
2230
2233
 
2231
2234
  :param connection_name: The name of the connection to use to connect to the JDBC target.
2235
+ :param enable_additional_metadata: Specify a value of ``RAWTYPES`` or ``COMMENTS`` to enable additional metadata in table responses. ``RAWTYPES`` provides the native-level datatype. ``COMMENTS`` provides comments associated with a column or table in the database. If you do not need additional metadata, keep the field empty.
2232
2236
  :param exclusions: A list of glob patterns used to exclude from the crawl. For more information, see `Catalog Tables with a Crawler <https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html>`_ .
2233
2237
  :param path: The path of the JDBC target.
2234
2238
 
@@ -2243,6 +2247,7 @@ class CfnCrawler(
2243
2247
 
2244
2248
  jdbc_target_property = glue.CfnCrawler.JdbcTargetProperty(
2245
2249
  connection_name="connectionName",
2250
+ enable_additional_metadata=["enableAdditionalMetadata"],
2246
2251
  exclusions=["exclusions"],
2247
2252
  path="path"
2248
2253
  )
@@ -2250,11 +2255,14 @@ class CfnCrawler(
2250
2255
  if __debug__:
2251
2256
  type_hints = typing.get_type_hints(_typecheckingstub__9cb27c7db73a5c6fa3740f2d4726f453641d40911229d3bb39f26c4402516cf6)
2252
2257
  check_type(argname="argument connection_name", value=connection_name, expected_type=type_hints["connection_name"])
2258
+ check_type(argname="argument enable_additional_metadata", value=enable_additional_metadata, expected_type=type_hints["enable_additional_metadata"])
2253
2259
  check_type(argname="argument exclusions", value=exclusions, expected_type=type_hints["exclusions"])
2254
2260
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
2255
2261
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2256
2262
  if connection_name is not None:
2257
2263
  self._values["connection_name"] = connection_name
2264
+ if enable_additional_metadata is not None:
2265
+ self._values["enable_additional_metadata"] = enable_additional_metadata
2258
2266
  if exclusions is not None:
2259
2267
  self._values["exclusions"] = exclusions
2260
2268
  if path is not None:
@@ -2269,6 +2277,21 @@ class CfnCrawler(
2269
2277
  result = self._values.get("connection_name")
2270
2278
  return typing.cast(typing.Optional[builtins.str], result)
2271
2279
 
2280
+ @builtins.property
2281
+ def enable_additional_metadata(
2282
+ self,
2283
+ ) -> typing.Optional[typing.List[builtins.str]]:
2284
+ '''Specify a value of ``RAWTYPES`` or ``COMMENTS`` to enable additional metadata in table responses.
2285
+
2286
+ ``RAWTYPES`` provides the native-level datatype. ``COMMENTS`` provides comments associated with a column or table in the database.
2287
+
2288
+ If you do not need additional metadata, keep the field empty.
2289
+
2290
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html#cfn-glue-crawler-jdbctarget-enableadditionalmetadata
2291
+ '''
2292
+ result = self._values.get("enable_additional_metadata")
2293
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
2294
+
2272
2295
  @builtins.property
2273
2296
  def exclusions(self) -> typing.Optional[typing.List[builtins.str]]:
2274
2297
  '''A list of glob patterns used to exclude from the crawl.
@@ -2868,6 +2891,7 @@ class CfnCrawler(
2868
2891
  )],
2869
2892
  jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
2870
2893
  connection_name="connectionName",
2894
+ enable_additional_metadata=["enableAdditionalMetadata"],
2871
2895
  exclusions=["exclusions"],
2872
2896
  path="path"
2873
2897
  )],
@@ -3093,6 +3117,7 @@ class CfnCrawlerProps:
3093
3117
  )],
3094
3118
  jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
3095
3119
  connection_name="connectionName",
3120
+ enable_additional_metadata=["enableAdditionalMetadata"],
3096
3121
  exclusions=["exclusions"],
3097
3122
  path="path"
3098
3123
  )],
@@ -15515,6 +15540,7 @@ def _typecheckingstub__fc4d48721f48f2b8be2bdcc36b62b7559b104ac87185a032281e5b09d
15515
15540
  def _typecheckingstub__9cb27c7db73a5c6fa3740f2d4726f453641d40911229d3bb39f26c4402516cf6(
15516
15541
  *,
15517
15542
  connection_name: typing.Optional[builtins.str] = None,
15543
+ enable_additional_metadata: typing.Optional[typing.Sequence[builtins.str]] = None,
15518
15544
  exclusions: typing.Optional[typing.Sequence[builtins.str]] = None,
15519
15545
  path: typing.Optional[builtins.str] = None,
15520
15546
  ) -> None:
@@ -158,7 +158,7 @@ class CfnWorkspace(
158
158
  :param network_access_control: The configuration settings for network access to your workspace.
159
159
  :param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
160
160
  :param organizational_units: Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
161
- :param organization_role_name: The name of the IAM role that is used to access resources through Organizations .
161
+ :param organization_role_name: The name of the IAM role that is used to access resources through Organizations.
162
162
  :param plugin_admin_enabled: Whether plugin administration is enabled in the workspace. Setting to ``true`` allows workspace admins to install, uninstall, and update plugins from within the Grafana workspace. .. epigraph:: This option is only valid for workspaces that support Grafana version 9 or newer.
163
163
  :param role_arn: The IAM role that grants permissions to the AWS resources that the workspace will view data from. This role must already exist.
164
164
  :param saml_configuration: If the workspace uses SAML, use this structure to map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the ``Admin`` and ``Editor`` roles in the workspace.
@@ -475,7 +475,7 @@ class CfnWorkspace(
475
475
  @builtins.property
476
476
  @jsii.member(jsii_name="organizationRoleName")
477
477
  def organization_role_name(self) -> typing.Optional[builtins.str]:
478
- '''The name of the IAM role that is used to access resources through Organizations .'''
478
+ '''The name of the IAM role that is used to access resources through Organizations.'''
479
479
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "organizationRoleName"))
480
480
 
481
481
  @organization_role_name.setter
@@ -1238,7 +1238,7 @@ class CfnWorkspaceProps:
1238
1238
  :param network_access_control: The configuration settings for network access to your workspace.
1239
1239
  :param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
1240
1240
  :param organizational_units: Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
1241
- :param organization_role_name: The name of the IAM role that is used to access resources through Organizations .
1241
+ :param organization_role_name: The name of the IAM role that is used to access resources through Organizations.
1242
1242
  :param plugin_admin_enabled: Whether plugin administration is enabled in the workspace. Setting to ``true`` allows workspace admins to install, uninstall, and update plugins from within the Grafana workspace. .. epigraph:: This option is only valid for workspaces that support Grafana version 9 or newer.
1243
1243
  :param role_arn: The IAM role that grants permissions to the AWS resources that the workspace will view data from. This role must already exist.
1244
1244
  :param saml_configuration: If the workspace uses SAML, use this structure to map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the ``Admin`` and ``Editor`` roles in the workspace.
@@ -1478,7 +1478,7 @@ class CfnWorkspaceProps:
1478
1478
 
1479
1479
  @builtins.property
1480
1480
  def organization_role_name(self) -> typing.Optional[builtins.str]:
1481
- '''The name of the IAM role that is used to access resources through Organizations .
1481
+ '''The name of the IAM role that is used to access resources through Organizations.
1482
1482
 
1483
1483
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-grafana-workspace.html#cfn-grafana-workspace-organizationrolename
1484
1484
  '''