aws-cdk-lib 2.212.0__py3-none-any.whl → 2.214.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 (65) hide show
  1. aws_cdk/__init__.py +23 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.212.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appconfig/__init__.py +18 -6
  5. aws_cdk/aws_appintegrations/__init__.py +4 -4
  6. aws_cdk/aws_apprunner/__init__.py +5 -8
  7. aws_cdk/aws_aps/__init__.py +243 -10
  8. aws_cdk/aws_b2bi/__init__.py +1015 -128
  9. aws_cdk/aws_batch/__init__.py +33 -11
  10. aws_cdk/aws_bedrock/__init__.py +22 -216
  11. aws_cdk/aws_budgets/__init__.py +18 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +96 -15
  13. aws_cdk/aws_cloudformation/__init__.py +3 -3
  14. aws_cdk/aws_cloudwatch/__init__.py +80 -49
  15. aws_cdk/aws_cognito/__init__.py +76 -5
  16. aws_cdk/aws_connect/__init__.py +188 -2
  17. aws_cdk/aws_datazone/__init__.py +2267 -0
  18. aws_cdk/aws_deadline/__init__.py +6 -5
  19. aws_cdk/aws_dynamodb/__init__.py +418 -56
  20. aws_cdk/aws_ec2/__init__.py +51 -10
  21. aws_cdk/aws_ecs/__init__.py +288 -25
  22. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  23. aws_cdk/aws_eks/__init__.py +124 -0
  24. aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
  25. aws_cdk/aws_entityresolution/__init__.py +107 -0
  26. aws_cdk/aws_events/__init__.py +153 -55
  27. aws_cdk/aws_events_targets/__init__.py +87 -36
  28. aws_cdk/aws_fsx/__init__.py +62 -0
  29. aws_cdk/aws_gameliftstreams/__init__.py +1 -1
  30. aws_cdk/aws_glue/__init__.py +205 -23
  31. aws_cdk/aws_guardduty/__init__.py +205 -100
  32. aws_cdk/aws_iam/__init__.py +18 -0
  33. aws_cdk/aws_inspectorv2/__init__.py +125 -80
  34. aws_cdk/aws_iot/__init__.py +37 -19
  35. aws_cdk/aws_iotsitewise/__init__.py +111 -75
  36. aws_cdk/aws_ivs/__init__.py +17 -17
  37. aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
  39. aws_cdk/aws_lambda/__init__.py +23 -2
  40. aws_cdk/aws_logs/__init__.py +20 -15
  41. aws_cdk/aws_mediapackagev2/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -6
  43. aws_cdk/aws_omics/__init__.py +477 -2
  44. aws_cdk/aws_qbusiness/__init__.py +4 -2
  45. aws_cdk/aws_rds/__init__.py +132 -4
  46. aws_cdk/aws_route53/__init__.py +18 -11
  47. aws_cdk/aws_s3/__init__.py +4 -4
  48. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  49. aws_cdk/aws_sagemaker/__init__.py +653 -0
  50. aws_cdk/aws_servicediscovery/__init__.py +22 -37
  51. aws_cdk/aws_sns/__init__.py +12 -2
  52. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  53. aws_cdk/aws_sqs/__init__.py +5 -5
  54. aws_cdk/aws_ssm/__init__.py +8 -3
  55. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  56. aws_cdk/aws_synthetics/__init__.py +222 -12
  57. aws_cdk/aws_transfer/__init__.py +15 -2
  58. aws_cdk/aws_vpclattice/__init__.py +41 -0
  59. aws_cdk/aws_workspacesweb/__init__.py +71 -41
  60. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
@@ -17,6 +17,7 @@ Currently supported are:
17
17
  * [Start a StepFunctions state machine](#start-a-stepfunctions-state-machine)
18
18
  * [Queue a Batch job](#queue-a-batch-job)
19
19
  * [Invoke an API Gateway REST API](#invoke-an-api-gateway-rest-api)
20
+ * [Invoke an AWS API](#invoke-an-aws-api)
20
21
  * [Invoke an API Destination](#invoke-an-api-destination)
21
22
  * [Invoke an AppSync GraphQL API](#invoke-an-appsync-graphql-api)
22
23
  * [Put an event on an EventBridge bus](#put-an-event-on-an-eventbridge-bus)
@@ -339,6 +340,68 @@ import aws_cdk.aws_apigatewayv2 as apigwv2
339
340
  rule.add_target(targets.ApiGatewayV2(http_api))
340
341
  ```
341
342
 
343
+ ## Invoke an AWS API
344
+
345
+ Use the `AwsApi` target to make direct AWS API calls from EventBridge rules. This is useful for invoking AWS services that don't have a dedicated EventBridge target.
346
+
347
+ ### Basic Usage
348
+
349
+ The following example shows how to update an ECS service when a rule is triggered:
350
+
351
+ ```python
352
+ rule = events.Rule(self, "Rule",
353
+ schedule=events.Schedule.rate(Duration.hours(1))
354
+ )
355
+
356
+ rule.add_target(targets.AwsApi(
357
+ service="ECS",
358
+ action="updateService",
359
+ parameters={
360
+ "service": "my-service",
361
+ "force_new_deployment": True
362
+ }
363
+ ))
364
+ ```
365
+
366
+ ### IAM Permissions
367
+
368
+ By default, the AwsApi target automatically creates the necessary IAM permissions based on the service and action you specify. The permission format follows the pattern: `service:Action`.
369
+
370
+ For example:
371
+
372
+ * `ECS` service with `updateService` action → `ecs:UpdateService` permission
373
+ * `RDS` service with `createDBSnapshot` action → `rds:CreateDBSnapshot` permission
374
+
375
+ ### Custom IAM Policy
376
+
377
+ In some cases, you may need to provide a custom IAM policy statement, especially when:
378
+
379
+ * You need to restrict permissions to specific resources (instead of `*`)
380
+ * The service requires additional permissions beyond the main action
381
+ * You want more granular control over the permissions
382
+
383
+ ```python
384
+ import aws_cdk.aws_iam as iam
385
+ import aws_cdk.aws_s3 as s3
386
+
387
+ # rule: events.Rule
388
+ # bucket: s3.Bucket
389
+
390
+
391
+ rule.add_target(targets.AwsApi(
392
+ service="s3",
393
+ action="GetBucketEncryption",
394
+ parameters={
395
+ "Bucket": bucket.bucket_name
396
+ },
397
+ policy_statement=iam.PolicyStatement(
398
+ effect=iam.Effect.ALLOW,
399
+ actions=["s3:GetEncryptionConfiguration"],
400
+ resources=[bucket.bucket_arn]
401
+ )
402
+ ))
403
+ ```
404
+
342
405
  ## Invoke an API Destination
343
406
 
344
407
  Use the `targets.ApiDestination` target to trigger an external API. You need to
@@ -1143,28 +1206,22 @@ class AwsApi(
1143
1206
  ):
1144
1207
  '''Use an AWS Lambda function that makes API calls as an event rule target.
1145
1208
 
1146
- :exampleMetadata: fixture=_generated
1209
+ :exampleMetadata: infused
1147
1210
 
1148
1211
  Example::
1149
1212
 
1150
- # The code below shows an example of how to instantiate this type.
1151
- # The values are placeholders you should change.
1152
- from aws_cdk import aws_events_targets as events_targets
1153
- from aws_cdk import aws_iam as iam
1154
-
1155
- # parameters: Any
1156
- # policy_statement: iam.PolicyStatement
1157
-
1158
- aws_api = events_targets.AwsApi(
1159
- action="action",
1160
- service="service",
1161
-
1162
- # the properties below are optional
1163
- api_version="apiVersion",
1164
- catch_error_pattern="catchErrorPattern",
1165
- parameters=parameters,
1166
- policy_statement=policy_statement
1213
+ rule = events.Rule(self, "Rule",
1214
+ schedule=events.Schedule.rate(Duration.hours(1))
1167
1215
  )
1216
+
1217
+ rule.add_target(targets.AwsApi(
1218
+ service="ECS",
1219
+ action="updateService",
1220
+ parameters={
1221
+ "service": "my-service",
1222
+ "force_new_deployment": True
1223
+ }
1224
+ ))
1168
1225
  '''
1169
1226
 
1170
1227
  def __init__(
@@ -1380,28 +1437,22 @@ class AwsApiProps(AwsApiInput):
1380
1437
  :param parameters: The parameters for the service action. Default: - no parameters
1381
1438
  :param policy_statement: The IAM policy statement to allow the API call. Use only if resource restriction is needed. Default: - extract the permission from the API call
1382
1439
 
1383
- :exampleMetadata: fixture=_generated
1440
+ :exampleMetadata: infused
1384
1441
 
1385
1442
  Example::
1386
1443
 
1387
- # The code below shows an example of how to instantiate this type.
1388
- # The values are placeholders you should change.
1389
- from aws_cdk import aws_events_targets as events_targets
1390
- from aws_cdk import aws_iam as iam
1391
-
1392
- # parameters: Any
1393
- # policy_statement: iam.PolicyStatement
1394
-
1395
- aws_api_props = events_targets.AwsApiProps(
1396
- action="action",
1397
- service="service",
1398
-
1399
- # the properties below are optional
1400
- api_version="apiVersion",
1401
- catch_error_pattern="catchErrorPattern",
1402
- parameters=parameters,
1403
- policy_statement=policy_statement
1444
+ rule = events.Rule(self, "Rule",
1445
+ schedule=events.Schedule.rate(Duration.hours(1))
1404
1446
  )
1447
+
1448
+ rule.add_target(targets.AwsApi(
1449
+ service="ECS",
1450
+ action="updateService",
1451
+ parameters={
1452
+ "service": "my-service",
1453
+ "force_new_deployment": True
1454
+ }
1455
+ ))
1405
1456
  '''
1406
1457
  if __debug__:
1407
1458
  type_hints = typing.get_type_hints(_typecheckingstub__d0959cf5a09d52d03f2591de3b911528bd507126b7e2027cd7c4585de25301ad)
@@ -1042,6 +1042,7 @@ class CfnFileSystem(
1042
1042
  throughput_capacity=123,
1043
1043
  weekly_maintenance_start_time="weeklyMaintenanceStartTime"
1044
1044
  ),
1045
+ network_type="networkType",
1045
1046
  ontap_configuration=fsx.CfnFileSystem.OntapConfigurationProperty(
1046
1047
  deployment_type="deploymentType",
1047
1048
 
@@ -1074,6 +1075,7 @@ class CfnFileSystem(
1074
1075
  mode="mode"
1075
1076
  ),
1076
1077
  endpoint_ip_address_range="endpointIpAddressRange",
1078
+ endpoint_ipv6_address_range="endpointIpv6AddressRange",
1077
1079
  options=["options"],
1078
1080
  preferred_subnet_id="preferredSubnetId",
1079
1081
  read_cache_configuration=fsx.CfnFileSystem.ReadCacheConfigurationProperty(
@@ -1154,6 +1156,7 @@ class CfnFileSystem(
1154
1156
  file_system_type_version: typing.Optional[builtins.str] = None,
1155
1157
  kms_key_id: typing.Optional[builtins.str] = None,
1156
1158
  lustre_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.LustreConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1159
+ network_type: typing.Optional[builtins.str] = None,
1157
1160
  ontap_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.OntapConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1158
1161
  open_zfs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.OpenZFSConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1159
1162
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1171,6 +1174,7 @@ class CfnFileSystem(
1171
1174
  :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.
1172
1175
  :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 If this ID isn't specified, the Amazon FSx-managed key for your account is used. For more information, see `Encrypt <https://docs.aws.amazon.com//kms/latest/APIReference/API_Encrypt.html>`_ in the *AWS Key Management Service API Reference* .
1173
1176
  :param lustre_configuration: The Lustre configuration for the file system being created. This configuration is required if the ``FileSystemType`` is set to ``LUSTRE`` . .. epigraph:: The following parameters are not supported when creating Lustre file systems with a data repository association. - ``AutoImportPolicy`` - ``ExportPath`` - ``ImportedChunkSize`` - ``ImportPath``
1177
+ :param network_type: The network type of the file system.
1174
1178
  :param ontap_configuration: The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. This configuration is required if the ``FileSystemType`` is set to ``ONTAP`` .
1175
1179
  :param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating. This configuration is required if the ``FileSystemType`` is set to ``OPENZFS`` .
1176
1180
  :param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
@@ -1190,6 +1194,7 @@ class CfnFileSystem(
1190
1194
  file_system_type_version=file_system_type_version,
1191
1195
  kms_key_id=kms_key_id,
1192
1196
  lustre_configuration=lustre_configuration,
1197
+ network_type=network_type,
1193
1198
  ontap_configuration=ontap_configuration,
1194
1199
  open_zfs_configuration=open_zfs_configuration,
1195
1200
  security_group_ids=security_group_ids,
@@ -1379,6 +1384,19 @@ class CfnFileSystem(
1379
1384
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1380
1385
  jsii.set(self, "lustreConfiguration", value) # pyright: ignore[reportArgumentType]
1381
1386
 
1387
+ @builtins.property
1388
+ @jsii.member(jsii_name="networkType")
1389
+ def network_type(self) -> typing.Optional[builtins.str]:
1390
+ '''The network type of the file system.'''
1391
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkType"))
1392
+
1393
+ @network_type.setter
1394
+ def network_type(self, value: typing.Optional[builtins.str]) -> None:
1395
+ if __debug__:
1396
+ type_hints = typing.get_type_hints(_typecheckingstub__7799a7898c1d78dcdd2f9531854e7ff35a8f4a27f4de33e706134e2fa35387ac)
1397
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1398
+ jsii.set(self, "networkType", value) # pyright: ignore[reportArgumentType]
1399
+
1382
1400
  @builtins.property
1383
1401
  @jsii.member(jsii_name="ontapConfiguration")
1384
1402
  def ontap_configuration(
@@ -2647,6 +2665,7 @@ class CfnFileSystem(
2647
2665
  "daily_automatic_backup_start_time": "dailyAutomaticBackupStartTime",
2648
2666
  "disk_iops_configuration": "diskIopsConfiguration",
2649
2667
  "endpoint_ip_address_range": "endpointIpAddressRange",
2668
+ "endpoint_ipv6_address_range": "endpointIpv6AddressRange",
2650
2669
  "options": "options",
2651
2670
  "preferred_subnet_id": "preferredSubnetId",
2652
2671
  "read_cache_configuration": "readCacheConfiguration",
@@ -2667,6 +2686,7 @@ class CfnFileSystem(
2667
2686
  daily_automatic_backup_start_time: typing.Optional[builtins.str] = None,
2668
2687
  disk_iops_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.DiskIopsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2669
2688
  endpoint_ip_address_range: typing.Optional[builtins.str] = None,
2689
+ endpoint_ipv6_address_range: typing.Optional[builtins.str] = None,
2670
2690
  options: typing.Optional[typing.Sequence[builtins.str]] = None,
2671
2691
  preferred_subnet_id: typing.Optional[builtins.str] = None,
2672
2692
  read_cache_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFileSystem.ReadCacheConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -2684,6 +2704,7 @@ class CfnFileSystem(
2684
2704
  :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.
2685
2705
  :param disk_iops_configuration: The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
2686
2706
  :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 and Amazon FSx console, Amazon FSx selects an available /28 IP address range for you from one of the VPC's CIDR ranges. 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.
2707
+ :param endpoint_ipv6_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 and Amazon FSx console, Amazon FSx selects an available /118 IP address range for you from one of the VPC's CIDR ranges. 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.
2687
2708
  :param options: To delete a file system if there are child volumes present below the root volume, use the string ``DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`` . If your file system has child volumes and you don't use this option, the delete request will fail.
2688
2709
  :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.
2689
2710
  :param read_cache_configuration: Specifies the optional provisioned SSD read cache on file systems that use the Intelligent-Tiering storage class.
@@ -2714,6 +2735,7 @@ class CfnFileSystem(
2714
2735
  mode="mode"
2715
2736
  ),
2716
2737
  endpoint_ip_address_range="endpointIpAddressRange",
2738
+ endpoint_ipv6_address_range="endpointIpv6AddressRange",
2717
2739
  options=["options"],
2718
2740
  preferred_subnet_id="preferredSubnetId",
2719
2741
  read_cache_configuration=fsx.CfnFileSystem.ReadCacheConfigurationProperty(
@@ -2751,6 +2773,7 @@ class CfnFileSystem(
2751
2773
  check_type(argname="argument daily_automatic_backup_start_time", value=daily_automatic_backup_start_time, expected_type=type_hints["daily_automatic_backup_start_time"])
2752
2774
  check_type(argname="argument disk_iops_configuration", value=disk_iops_configuration, expected_type=type_hints["disk_iops_configuration"])
2753
2775
  check_type(argname="argument endpoint_ip_address_range", value=endpoint_ip_address_range, expected_type=type_hints["endpoint_ip_address_range"])
2776
+ check_type(argname="argument endpoint_ipv6_address_range", value=endpoint_ipv6_address_range, expected_type=type_hints["endpoint_ipv6_address_range"])
2754
2777
  check_type(argname="argument options", value=options, expected_type=type_hints["options"])
2755
2778
  check_type(argname="argument preferred_subnet_id", value=preferred_subnet_id, expected_type=type_hints["preferred_subnet_id"])
2756
2779
  check_type(argname="argument read_cache_configuration", value=read_cache_configuration, expected_type=type_hints["read_cache_configuration"])
@@ -2773,6 +2796,8 @@ class CfnFileSystem(
2773
2796
  self._values["disk_iops_configuration"] = disk_iops_configuration
2774
2797
  if endpoint_ip_address_range is not None:
2775
2798
  self._values["endpoint_ip_address_range"] = endpoint_ip_address_range
2799
+ if endpoint_ipv6_address_range is not None:
2800
+ self._values["endpoint_ipv6_address_range"] = endpoint_ipv6_address_range
2776
2801
  if options is not None:
2777
2802
  self._values["options"] = options
2778
2803
  if preferred_subnet_id is not None:
@@ -2878,6 +2903,17 @@ class CfnFileSystem(
2878
2903
  result = self._values.get("endpoint_ip_address_range")
2879
2904
  return typing.cast(typing.Optional[builtins.str], result)
2880
2905
 
2906
+ @builtins.property
2907
+ def endpoint_ipv6_address_range(self) -> typing.Optional[builtins.str]:
2908
+ '''(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.
2909
+
2910
+ By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /118 IP address range for you from one of the VPC's CIDR ranges. 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.
2911
+
2912
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-endpointipv6addressrange
2913
+ '''
2914
+ result = self._values.get("endpoint_ipv6_address_range")
2915
+ return typing.cast(typing.Optional[builtins.str], result)
2916
+
2881
2917
  @builtins.property
2882
2918
  def options(self) -> typing.Optional[typing.List[builtins.str]]:
2883
2919
  '''To delete a file system if there are child volumes present below the root volume, use the string ``DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`` .
@@ -3764,6 +3800,7 @@ class CfnFileSystem(
3764
3800
  "file_system_type_version": "fileSystemTypeVersion",
3765
3801
  "kms_key_id": "kmsKeyId",
3766
3802
  "lustre_configuration": "lustreConfiguration",
3803
+ "network_type": "networkType",
3767
3804
  "ontap_configuration": "ontapConfiguration",
3768
3805
  "open_zfs_configuration": "openZfsConfiguration",
3769
3806
  "security_group_ids": "securityGroupIds",
@@ -3783,6 +3820,7 @@ class CfnFileSystemProps:
3783
3820
  file_system_type_version: typing.Optional[builtins.str] = None,
3784
3821
  kms_key_id: typing.Optional[builtins.str] = None,
3785
3822
  lustre_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.LustreConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3823
+ network_type: typing.Optional[builtins.str] = None,
3786
3824
  ontap_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OntapConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3787
3825
  open_zfs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3788
3826
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -3799,6 +3837,7 @@ class CfnFileSystemProps:
3799
3837
  :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.
3800
3838
  :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 If this ID isn't specified, the Amazon FSx-managed key for your account is used. For more information, see `Encrypt <https://docs.aws.amazon.com//kms/latest/APIReference/API_Encrypt.html>`_ in the *AWS Key Management Service API Reference* .
3801
3839
  :param lustre_configuration: The Lustre configuration for the file system being created. This configuration is required if the ``FileSystemType`` is set to ``LUSTRE`` . .. epigraph:: The following parameters are not supported when creating Lustre file systems with a data repository association. - ``AutoImportPolicy`` - ``ExportPath`` - ``ImportedChunkSize`` - ``ImportPath``
3840
+ :param network_type: The network type of the file system.
3802
3841
  :param ontap_configuration: The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. This configuration is required if the ``FileSystemType`` is set to ``ONTAP`` .
3803
3842
  :param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating. This configuration is required if the ``FileSystemType`` is set to ``OPENZFS`` .
3804
3843
  :param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
@@ -3848,6 +3887,7 @@ class CfnFileSystemProps:
3848
3887
  throughput_capacity=123,
3849
3888
  weekly_maintenance_start_time="weeklyMaintenanceStartTime"
3850
3889
  ),
3890
+ network_type="networkType",
3851
3891
  ontap_configuration=fsx.CfnFileSystem.OntapConfigurationProperty(
3852
3892
  deployment_type="deploymentType",
3853
3893
 
@@ -3880,6 +3920,7 @@ class CfnFileSystemProps:
3880
3920
  mode="mode"
3881
3921
  ),
3882
3922
  endpoint_ip_address_range="endpointIpAddressRange",
3923
+ endpoint_ipv6_address_range="endpointIpv6AddressRange",
3883
3924
  options=["options"],
3884
3925
  preferred_subnet_id="preferredSubnetId",
3885
3926
  read_cache_configuration=fsx.CfnFileSystem.ReadCacheConfigurationProperty(
@@ -3956,6 +3997,7 @@ class CfnFileSystemProps:
3956
3997
  check_type(argname="argument file_system_type_version", value=file_system_type_version, expected_type=type_hints["file_system_type_version"])
3957
3998
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
3958
3999
  check_type(argname="argument lustre_configuration", value=lustre_configuration, expected_type=type_hints["lustre_configuration"])
4000
+ check_type(argname="argument network_type", value=network_type, expected_type=type_hints["network_type"])
3959
4001
  check_type(argname="argument ontap_configuration", value=ontap_configuration, expected_type=type_hints["ontap_configuration"])
3960
4002
  check_type(argname="argument open_zfs_configuration", value=open_zfs_configuration, expected_type=type_hints["open_zfs_configuration"])
3961
4003
  check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
@@ -3975,6 +4017,8 @@ class CfnFileSystemProps:
3975
4017
  self._values["kms_key_id"] = kms_key_id
3976
4018
  if lustre_configuration is not None:
3977
4019
  self._values["lustre_configuration"] = lustre_configuration
4020
+ if network_type is not None:
4021
+ self._values["network_type"] = network_type
3978
4022
  if ontap_configuration is not None:
3979
4023
  self._values["ontap_configuration"] = ontap_configuration
3980
4024
  if open_zfs_configuration is not None:
@@ -4087,6 +4131,15 @@ class CfnFileSystemProps:
4087
4131
  result = self._values.get("lustre_configuration")
4088
4132
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFileSystem.LustreConfigurationProperty]], result)
4089
4133
 
4134
+ @builtins.property
4135
+ def network_type(self) -> typing.Optional[builtins.str]:
4136
+ '''The network type of the file system.
4137
+
4138
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-networktype
4139
+ '''
4140
+ result = self._values.get("network_type")
4141
+ return typing.cast(typing.Optional[builtins.str], result)
4142
+
4090
4143
  @builtins.property
4091
4144
  def ontap_configuration(
4092
4145
  self,
@@ -9619,6 +9672,7 @@ def _typecheckingstub__2d13764c3dcb8d96799af4fa191d042ff4511c33cfd1aecbf235dded3
9619
9672
  file_system_type_version: typing.Optional[builtins.str] = None,
9620
9673
  kms_key_id: typing.Optional[builtins.str] = None,
9621
9674
  lustre_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.LustreConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9675
+ network_type: typing.Optional[builtins.str] = None,
9622
9676
  ontap_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OntapConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9623
9677
  open_zfs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9624
9678
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -9678,6 +9732,12 @@ def _typecheckingstub__8646d19693a6f9abdd169bfa6ea6d4e784eba3f5391bff175f38918b4
9678
9732
  """Type checking stubs"""
9679
9733
  pass
9680
9734
 
9735
+ def _typecheckingstub__7799a7898c1d78dcdd2f9531854e7ff35a8f4a27f4de33e706134e2fa35387ac(
9736
+ value: typing.Optional[builtins.str],
9737
+ ) -> None:
9738
+ """Type checking stubs"""
9739
+ pass
9740
+
9681
9741
  def _typecheckingstub__bc9b2f53e3a613c4a5e71936700bde6bac2b8c2691534dac7d5a5ce18f7e0687(
9682
9742
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFileSystem.OntapConfigurationProperty]],
9683
9743
  ) -> None:
@@ -9817,6 +9877,7 @@ def _typecheckingstub__5472f29690b088eacdf6c6853ffd8b23cd15c760dc30d812107be1280
9817
9877
  daily_automatic_backup_start_time: typing.Optional[builtins.str] = None,
9818
9878
  disk_iops_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.DiskIopsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9819
9879
  endpoint_ip_address_range: typing.Optional[builtins.str] = None,
9880
+ endpoint_ipv6_address_range: typing.Optional[builtins.str] = None,
9820
9881
  options: typing.Optional[typing.Sequence[builtins.str]] = None,
9821
9882
  preferred_subnet_id: typing.Optional[builtins.str] = None,
9822
9883
  read_cache_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.ReadCacheConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -9895,6 +9956,7 @@ def _typecheckingstub__cc6cf655096c0830614c2b73c7ebf907b07fc70f50859b1aa0f76bbf6
9895
9956
  file_system_type_version: typing.Optional[builtins.str] = None,
9896
9957
  kms_key_id: typing.Optional[builtins.str] = None,
9897
9958
  lustre_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.LustreConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9959
+ network_type: typing.Optional[builtins.str] = None,
9898
9960
  ontap_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OntapConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9899
9961
  open_zfs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFileSystem.OpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9900
9962
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -88,7 +88,7 @@ class CfnApplication(
88
88
 
89
89
  An application specifies the content that you want to stream, such as a game or other software, and its runtime environment (Microsoft Windows, Ubuntu, or Proton).
90
90
 
91
- Before you create an Amazon GameLift Streams application, upload your *uncompressed* game files to an Amazon Simple Storage Service (Amazon S3) bucket.
91
+ Before you create an Amazon GameLift Streams application, upload your *uncompressed* game files (do not upload a .zip file) to an Amazon Simple Storage Service (Amazon S3) standard bucket.
92
92
 
93
93
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html
94
94
  :cloudformationResource: AWS::GameLiftStreams::Application