aws-cdk-lib 2.114.0__py3-none-any.whl → 2.115.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +7 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.114.0.jsii.tgz → aws-cdk-lib@2.115.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +6 -0
- aws_cdk/aws_apigatewayv2/__init__.py +223 -574
- aws_cdk/aws_autoscaling/__init__.py +99 -86
- aws_cdk/aws_bedrock/__init__.py +355 -0
- aws_cdk/aws_billingconductor/__init__.py +41 -0
- aws_cdk/aws_cleanrooms/__init__.py +46 -20
- aws_cdk/aws_cloudformation/__init__.py +5 -1
- aws_cdk/aws_cloudtrail/__init__.py +89 -0
- aws_cdk/aws_codedeploy/__init__.py +233 -1
- aws_cdk/aws_connect/__init__.py +49 -2
- aws_cdk/aws_dlm/__init__.py +8 -11
- aws_cdk/aws_dms/__init__.py +3861 -1643
- aws_cdk/aws_ec2/__init__.py +91 -47
- aws_cdk/aws_ecs/__init__.py +18 -0
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +26 -13
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +110 -54
- aws_cdk/aws_emr/__init__.py +287 -18
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +466 -34
- aws_cdk/aws_iam/__init__.py +47 -35
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_lightsail/__init__.py +4 -2
- aws_cdk/aws_logs/__init__.py +5 -4
- aws_cdk/aws_opensearchservice/__init__.py +47 -0
- aws_cdk/aws_osis/__init__.py +272 -32
- aws_cdk/aws_rds/__init__.py +205 -87
- aws_cdk/aws_resiliencehub/__init__.py +9 -14
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +3 -3
- aws_cdk/aws_route53_targets/__init__.py +2 -2
- aws_cdk/aws_s3/__init__.py +2 -6
- aws_cdk/aws_s3express/__init__.py +3 -3
- aws_cdk/aws_sagemaker/__init__.py +82 -11
- aws_cdk/aws_sns/__init__.py +181 -0
- aws_cdk/aws_stepfunctions/__init__.py +16 -8
- aws_cdk/aws_stepfunctions_tasks/__init__.py +975 -139
- aws_cdk/aws_workspacesthinclient/__init__.py +44 -35
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/RECORD +47 -46
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -10996,8 +10996,8 @@ class CfnEC2Fleet(
|
|
|
10996
10996
|
For more information, see `Attribute-based instance type selection for EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html>`_ , `Attribute-based instance type selection for Spot Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html>`_ , and `Spot placement score <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html>`_ in the *Amazon EC2 User Guide* .
|
|
10997
10997
|
|
|
10998
10998
|
:param accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set ``Max`` to ``0`` . Default: No minimum or maximum limits
|
|
10999
|
-
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with
|
|
11000
|
-
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA
|
|
10999
|
+
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
11000
|
+
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
11001
11001
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
11002
11002
|
:param accelerator_types: The accelerator types that must be on the instance type. - To include instance types with GPU hardware, specify ``gpu`` . - To include instance types with FPGA hardware, specify ``fpga`` . - To include instance types with inference hardware, specify ``inference`` . Default: Any accelerator type
|
|
11003
11003
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
@@ -11175,9 +11175,10 @@ class CfnEC2Fleet(
|
|
|
11175
11175
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
11176
11176
|
'''Indicates whether instance types must have accelerators by specific manufacturers.
|
|
11177
11177
|
|
|
11178
|
-
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
11179
|
-
- For instance types with AMD devices, specify ``amd`` .
|
|
11180
11178
|
- For instance types with AWS devices, specify ``amazon-web-services`` .
|
|
11179
|
+
- For instance types with AMD devices, specify ``amd`` .
|
|
11180
|
+
- For instance types with Habana devices, specify ``habana`` .
|
|
11181
|
+
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
11181
11182
|
- For instance types with Xilinx devices, specify ``xilinx`` .
|
|
11182
11183
|
|
|
11183
11184
|
Default: Any manufacturer
|
|
@@ -11191,15 +11192,18 @@ class CfnEC2Fleet(
|
|
|
11191
11192
|
def accelerator_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11192
11193
|
'''The accelerators that must be on the instance type.
|
|
11193
11194
|
|
|
11195
|
+
- For instance types with NVIDIA A10G GPUs, specify ``a10g`` .
|
|
11194
11196
|
- For instance types with NVIDIA A100 GPUs, specify ``a100`` .
|
|
11195
|
-
- For instance types with NVIDIA
|
|
11197
|
+
- For instance types with NVIDIA H100 GPUs, specify ``h100`` .
|
|
11198
|
+
- For instance types with AWS Inferentia chips, specify ``inferentia`` .
|
|
11199
|
+
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
11196
11200
|
- For instance types with NVIDIA K80 GPUs, specify ``k80`` .
|
|
11197
|
-
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
11198
11201
|
- For instance types with NVIDIA M60 GPUs, specify ``m60`` .
|
|
11199
11202
|
- For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` .
|
|
11203
|
+
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
11204
|
+
- For instance types with NVIDIA T4G GPUs, specify ``t4g`` .
|
|
11200
11205
|
- For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` .
|
|
11201
|
-
- For instance types with
|
|
11202
|
-
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
11206
|
+
- For instance types with NVIDIA V100 GPUs, specify ``v100`` .
|
|
11203
11207
|
|
|
11204
11208
|
Default: Any accelerator
|
|
11205
11209
|
|
|
@@ -23559,11 +23563,13 @@ class CfnLaunchTemplate(
|
|
|
23559
23563
|
udp_stream_timeout: typing.Optional[jsii.Number] = None,
|
|
23560
23564
|
udp_timeout: typing.Optional[jsii.Number] = None,
|
|
23561
23565
|
) -> None:
|
|
23562
|
-
'''
|
|
23566
|
+
'''A security group connection tracking specification that enables you to set the idle timeout for connection tracking on an Elastic network interface.
|
|
23567
|
+
|
|
23568
|
+
For more information, see `Connection tracking timeouts <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts>`_ in the *Amazon Elastic Compute Cloud User Guide* .
|
|
23563
23569
|
|
|
23564
|
-
:param tcp_established_timeout:
|
|
23565
|
-
:param udp_stream_timeout:
|
|
23566
|
-
:param udp_timeout:
|
|
23570
|
+
:param tcp_established_timeout: Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
|
|
23571
|
+
:param udp_stream_timeout: Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
|
|
23572
|
+
:param udp_timeout: Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
|
|
23567
23573
|
|
|
23568
23574
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html
|
|
23569
23575
|
:exampleMetadata: fixture=_generated
|
|
@@ -23595,7 +23601,9 @@ class CfnLaunchTemplate(
|
|
|
23595
23601
|
|
|
23596
23602
|
@builtins.property
|
|
23597
23603
|
def tcp_established_timeout(self) -> typing.Optional[jsii.Number]:
|
|
23598
|
-
'''
|
|
23604
|
+
'''Timeout (in seconds) for idle TCP connections in an established state.
|
|
23605
|
+
|
|
23606
|
+
Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
|
|
23599
23607
|
|
|
23600
23608
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-tcpestablishedtimeout
|
|
23601
23609
|
'''
|
|
@@ -23604,7 +23612,9 @@ class CfnLaunchTemplate(
|
|
|
23604
23612
|
|
|
23605
23613
|
@builtins.property
|
|
23606
23614
|
def udp_stream_timeout(self) -> typing.Optional[jsii.Number]:
|
|
23607
|
-
'''
|
|
23615
|
+
'''Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction.
|
|
23616
|
+
|
|
23617
|
+
Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
|
|
23608
23618
|
|
|
23609
23619
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-udpstreamtimeout
|
|
23610
23620
|
'''
|
|
@@ -23613,7 +23623,9 @@ class CfnLaunchTemplate(
|
|
|
23613
23623
|
|
|
23614
23624
|
@builtins.property
|
|
23615
23625
|
def udp_timeout(self) -> typing.Optional[jsii.Number]:
|
|
23616
|
-
'''
|
|
23626
|
+
'''Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction.
|
|
23627
|
+
|
|
23628
|
+
Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
|
|
23617
23629
|
|
|
23618
23630
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-udptimeout
|
|
23619
23631
|
'''
|
|
@@ -24544,8 +24556,8 @@ class CfnLaunchTemplate(
|
|
|
24544
24556
|
For more information, see `Attribute-based instance type selection for EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html>`_ , `Attribute-based instance type selection for Spot Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html>`_ , and `Spot placement score <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html>`_ in the *Amazon EC2 User Guide* .
|
|
24545
24557
|
|
|
24546
24558
|
:param accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set ``Max`` to ``0`` . Default: No minimum or maximum limits
|
|
24547
|
-
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with
|
|
24548
|
-
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA
|
|
24559
|
+
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
24560
|
+
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
24549
24561
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
24550
24562
|
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with GPU accelerators, specify ``gpu`` . - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with inference accelerators, specify ``inference`` . Default: Any accelerator type
|
|
24551
24563
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
@@ -24723,9 +24735,10 @@ class CfnLaunchTemplate(
|
|
|
24723
24735
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
24724
24736
|
'''Indicates whether instance types must have accelerators by specific manufacturers.
|
|
24725
24737
|
|
|
24726
|
-
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
24727
|
-
- For instance types with AMD devices, specify ``amd`` .
|
|
24728
24738
|
- For instance types with AWS devices, specify ``amazon-web-services`` .
|
|
24739
|
+
- For instance types with AMD devices, specify ``amd`` .
|
|
24740
|
+
- For instance types with Habana devices, specify ``habana`` .
|
|
24741
|
+
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
24729
24742
|
- For instance types with Xilinx devices, specify ``xilinx`` .
|
|
24730
24743
|
|
|
24731
24744
|
Default: Any manufacturer
|
|
@@ -24739,15 +24752,18 @@ class CfnLaunchTemplate(
|
|
|
24739
24752
|
def accelerator_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
24740
24753
|
'''The accelerators that must be on the instance type.
|
|
24741
24754
|
|
|
24755
|
+
- For instance types with NVIDIA A10G GPUs, specify ``a10g`` .
|
|
24742
24756
|
- For instance types with NVIDIA A100 GPUs, specify ``a100`` .
|
|
24743
|
-
- For instance types with NVIDIA
|
|
24757
|
+
- For instance types with NVIDIA H100 GPUs, specify ``h100`` .
|
|
24758
|
+
- For instance types with AWS Inferentia chips, specify ``inferentia`` .
|
|
24759
|
+
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
24744
24760
|
- For instance types with NVIDIA K80 GPUs, specify ``k80`` .
|
|
24745
|
-
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
24746
24761
|
- For instance types with NVIDIA M60 GPUs, specify ``m60`` .
|
|
24747
24762
|
- For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` .
|
|
24763
|
+
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
24764
|
+
- For instance types with NVIDIA T4G GPUs, specify ``t4g`` .
|
|
24748
24765
|
- For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` .
|
|
24749
|
-
- For instance types with
|
|
24750
|
-
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
24766
|
+
- For instance types with NVIDIA V100 GPUs, specify ``v100`` .
|
|
24751
24767
|
|
|
24752
24768
|
Default: Any accelerator
|
|
24753
24769
|
|
|
@@ -26940,11 +26956,11 @@ class CfnLaunchTemplate(
|
|
|
26940
26956
|
|
|
26941
26957
|
:param associate_carrier_ip_address: Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see `Carrier IP addresses <https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip>`_ in the *AWS Wavelength Developer Guide* .
|
|
26942
26958
|
:param associate_public_ip_address: Associates a public IPv4 address with eth0 for a new network interface.
|
|
26943
|
-
:param connection_tracking_specification:
|
|
26959
|
+
:param connection_tracking_specification: A connection tracking specification for the network interface.
|
|
26944
26960
|
:param delete_on_termination: Indicates whether the network interface is deleted when the instance is terminated.
|
|
26945
26961
|
:param description: A description for the network interface.
|
|
26946
26962
|
:param device_index: The device index for the network interface attachment.
|
|
26947
|
-
:param ena_srd_specification:
|
|
26963
|
+
:param ena_srd_specification: The ENA Express configuration for the network interface.
|
|
26948
26964
|
:param groups: The IDs of one or more security groups.
|
|
26949
26965
|
:param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. Valid values: ``interface`` | ``efa``
|
|
26950
26966
|
:param ipv4_prefix_count: The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ``Ipv4Prefix`` option.
|
|
@@ -27111,7 +27127,7 @@ class CfnLaunchTemplate(
|
|
|
27111
27127
|
def connection_tracking_specification(
|
|
27112
27128
|
self,
|
|
27113
27129
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.ConnectionTrackingSpecificationProperty"]]:
|
|
27114
|
-
'''
|
|
27130
|
+
'''A connection tracking specification for the network interface.
|
|
27115
27131
|
|
|
27116
27132
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-connectiontrackingspecification
|
|
27117
27133
|
'''
|
|
@@ -27151,7 +27167,7 @@ class CfnLaunchTemplate(
|
|
|
27151
27167
|
def ena_srd_specification(
|
|
27152
27168
|
self,
|
|
27153
27169
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.EnaSrdSpecificationProperty"]]:
|
|
27154
|
-
'''
|
|
27170
|
+
'''The ENA Express configuration for the network interface.
|
|
27155
27171
|
|
|
27156
27172
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-enasrdspecification
|
|
27157
27173
|
'''
|
|
@@ -42777,8 +42793,8 @@ class CfnSpotFleet(
|
|
|
42777
42793
|
For more information, see `Attribute-based instance type selection for EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html>`_ , `Attribute-based instance type selection for Spot Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html>`_ , and `Spot placement score <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html>`_ in the *Amazon EC2 User Guide* .
|
|
42778
42794
|
|
|
42779
42795
|
:param accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set ``Max`` to ``0`` . Default: No minimum or maximum limits
|
|
42780
|
-
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with
|
|
42781
|
-
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA
|
|
42796
|
+
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
42797
|
+
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
42782
42798
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
42783
42799
|
:param accelerator_types: The accelerator types that must be on the instance type. - To include instance types with GPU hardware, specify ``gpu`` . - To include instance types with FPGA hardware, specify ``fpga`` . - To include instance types with inference hardware, specify ``inference`` . Default: Any accelerator type
|
|
42784
42800
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
@@ -42956,9 +42972,10 @@ class CfnSpotFleet(
|
|
|
42956
42972
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
42957
42973
|
'''Indicates whether instance types must have accelerators by specific manufacturers.
|
|
42958
42974
|
|
|
42959
|
-
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
42960
|
-
- For instance types with AMD devices, specify ``amd`` .
|
|
42961
42975
|
- For instance types with AWS devices, specify ``amazon-web-services`` .
|
|
42976
|
+
- For instance types with AMD devices, specify ``amd`` .
|
|
42977
|
+
- For instance types with Habana devices, specify ``habana`` .
|
|
42978
|
+
- For instance types with NVIDIA devices, specify ``nvidia`` .
|
|
42962
42979
|
- For instance types with Xilinx devices, specify ``xilinx`` .
|
|
42963
42980
|
|
|
42964
42981
|
Default: Any manufacturer
|
|
@@ -42972,15 +42989,18 @@ class CfnSpotFleet(
|
|
|
42972
42989
|
def accelerator_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
42973
42990
|
'''The accelerators that must be on the instance type.
|
|
42974
42991
|
|
|
42992
|
+
- For instance types with NVIDIA A10G GPUs, specify ``a10g`` .
|
|
42975
42993
|
- For instance types with NVIDIA A100 GPUs, specify ``a100`` .
|
|
42976
|
-
- For instance types with NVIDIA
|
|
42994
|
+
- For instance types with NVIDIA H100 GPUs, specify ``h100`` .
|
|
42995
|
+
- For instance types with AWS Inferentia chips, specify ``inferentia`` .
|
|
42996
|
+
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
42977
42997
|
- For instance types with NVIDIA K80 GPUs, specify ``k80`` .
|
|
42978
|
-
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
42979
42998
|
- For instance types with NVIDIA M60 GPUs, specify ``m60`` .
|
|
42980
42999
|
- For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` .
|
|
43000
|
+
- For instance types with NVIDIA T4 GPUs, specify ``t4`` .
|
|
43001
|
+
- For instance types with NVIDIA T4G GPUs, specify ``t4g`` .
|
|
42981
43002
|
- For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` .
|
|
42982
|
-
- For instance types with
|
|
42983
|
-
- For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` .
|
|
43003
|
+
- For instance types with NVIDIA V100 GPUs, specify ``v100`` .
|
|
42984
43004
|
|
|
42985
43005
|
Default: Any accelerator
|
|
42986
43006
|
|
|
@@ -46344,10 +46364,10 @@ class CfnSubnet(
|
|
|
46344
46364
|
:param availability_zone_id: The AZ ID of the subnet.
|
|
46345
46365
|
:param cidr_block: The IPv4 CIDR block assigned to the subnet. If you update this property, we create a new subnet, and then delete the existing one.
|
|
46346
46366
|
:param enable_dns64: Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. For more information, see `DNS64 and NAT64 <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-nat64-dns64>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
46347
|
-
:param ipv4_netmask_length:
|
|
46367
|
+
:param ipv4_netmask_length: An IPv4 netmask length for the subnet.
|
|
46348
46368
|
:param ipv6_cidr_block: The IPv6 CIDR block. If you specify ``AssignIpv6AddressOnCreation`` , you must also specify ``Ipv6CidrBlock`` .
|
|
46349
46369
|
:param ipv6_native: Indicates whether this is an IPv6 only subnet. For more information, see `Subnet basics <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#subnet-basics>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
46350
|
-
:param ipv6_netmask_length:
|
|
46370
|
+
:param ipv6_netmask_length: An IPv6 netmask length for the subnet.
|
|
46351
46371
|
:param map_public_ip_on_launch: Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false`` .
|
|
46352
46372
|
:param outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
46353
46373
|
:param private_dns_name_options_on_launch: The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled. For more information, see `Amazon EC2 instance hostname types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . Available options: - EnableResourceNameDnsAAAARecord (true | false) - EnableResourceNameDnsARecord (true | false) - HostnameType (ip-name | resource-name)
|
|
@@ -46587,7 +46607,7 @@ class CfnSubnet(
|
|
|
46587
46607
|
@builtins.property
|
|
46588
46608
|
@jsii.member(jsii_name="ipv4NetmaskLength")
|
|
46589
46609
|
def ipv4_netmask_length(self) -> typing.Optional[jsii.Number]:
|
|
46590
|
-
'''
|
|
46610
|
+
'''An IPv4 netmask length for the subnet.'''
|
|
46591
46611
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "ipv4NetmaskLength"))
|
|
46592
46612
|
|
|
46593
46613
|
@ipv4_netmask_length.setter
|
|
@@ -46631,7 +46651,7 @@ class CfnSubnet(
|
|
|
46631
46651
|
@builtins.property
|
|
46632
46652
|
@jsii.member(jsii_name="ipv6NetmaskLength")
|
|
46633
46653
|
def ipv6_netmask_length(self) -> typing.Optional[jsii.Number]:
|
|
46634
|
-
'''
|
|
46654
|
+
'''An IPv6 netmask length for the subnet.'''
|
|
46635
46655
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "ipv6NetmaskLength"))
|
|
46636
46656
|
|
|
46637
46657
|
@ipv6_netmask_length.setter
|
|
@@ -47229,10 +47249,10 @@ class CfnSubnetProps:
|
|
|
47229
47249
|
:param availability_zone_id: The AZ ID of the subnet.
|
|
47230
47250
|
:param cidr_block: The IPv4 CIDR block assigned to the subnet. If you update this property, we create a new subnet, and then delete the existing one.
|
|
47231
47251
|
:param enable_dns64: Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. For more information, see `DNS64 and NAT64 <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-nat64-dns64>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
47232
|
-
:param ipv4_netmask_length:
|
|
47252
|
+
:param ipv4_netmask_length: An IPv4 netmask length for the subnet.
|
|
47233
47253
|
:param ipv6_cidr_block: The IPv6 CIDR block. If you specify ``AssignIpv6AddressOnCreation`` , you must also specify ``Ipv6CidrBlock`` .
|
|
47234
47254
|
:param ipv6_native: Indicates whether this is an IPv6 only subnet. For more information, see `Subnet basics <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#subnet-basics>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
47235
|
-
:param ipv6_netmask_length:
|
|
47255
|
+
:param ipv6_netmask_length: An IPv6 netmask length for the subnet.
|
|
47236
47256
|
:param map_public_ip_on_launch: Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false`` .
|
|
47237
47257
|
:param outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
47238
47258
|
:param private_dns_name_options_on_launch: The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled. For more information, see `Amazon EC2 instance hostname types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . Available options: - EnableResourceNameDnsAAAARecord (true | false) - EnableResourceNameDnsARecord (true | false) - HostnameType (ip-name | resource-name)
|
|
@@ -47388,7 +47408,7 @@ class CfnSubnetProps:
|
|
|
47388
47408
|
|
|
47389
47409
|
@builtins.property
|
|
47390
47410
|
def ipv4_netmask_length(self) -> typing.Optional[jsii.Number]:
|
|
47391
|
-
'''
|
|
47411
|
+
'''An IPv4 netmask length for the subnet.
|
|
47392
47412
|
|
|
47393
47413
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv4netmasklength
|
|
47394
47414
|
'''
|
|
@@ -47421,7 +47441,7 @@ class CfnSubnetProps:
|
|
|
47421
47441
|
|
|
47422
47442
|
@builtins.property
|
|
47423
47443
|
def ipv6_netmask_length(self) -> typing.Optional[jsii.Number]:
|
|
47424
|
-
'''
|
|
47444
|
+
'''An IPv6 netmask length for the subnet.
|
|
47425
47445
|
|
|
47426
47446
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6netmasklength
|
|
47427
47447
|
'''
|
|
@@ -49375,8 +49395,7 @@ class CfnTransitGateway(
|
|
|
49375
49395
|
@builtins.property
|
|
49376
49396
|
@jsii.member(jsii_name="attrTransitGatewayArn")
|
|
49377
49397
|
def attr_transit_gateway_arn(self) -> builtins.str:
|
|
49378
|
-
'''
|
|
49379
|
-
|
|
49398
|
+
'''
|
|
49380
49399
|
:cloudformationAttribute: TransitGatewayArn
|
|
49381
49400
|
'''
|
|
49382
49401
|
return typing.cast(builtins.str, jsii.get(self, "attrTransitGatewayArn"))
|
|
@@ -60143,6 +60162,7 @@ class CfnVerifiedAccessTrustProvider(
|
|
|
60143
60162
|
# the properties below are optional
|
|
60144
60163
|
description="description",
|
|
60145
60164
|
device_options=ec2.CfnVerifiedAccessTrustProvider.DeviceOptionsProperty(
|
|
60165
|
+
public_signing_key_url="publicSigningKeyUrl",
|
|
60146
60166
|
tenant_id="tenantId"
|
|
60147
60167
|
),
|
|
60148
60168
|
device_trust_provider_type="deviceTrustProviderType",
|
|
@@ -60416,12 +60436,21 @@ class CfnVerifiedAccessTrustProvider(
|
|
|
60416
60436
|
@jsii.data_type(
|
|
60417
60437
|
jsii_type="aws-cdk-lib.aws_ec2.CfnVerifiedAccessTrustProvider.DeviceOptionsProperty",
|
|
60418
60438
|
jsii_struct_bases=[],
|
|
60419
|
-
name_mapping={
|
|
60439
|
+
name_mapping={
|
|
60440
|
+
"public_signing_key_url": "publicSigningKeyUrl",
|
|
60441
|
+
"tenant_id": "tenantId",
|
|
60442
|
+
},
|
|
60420
60443
|
)
|
|
60421
60444
|
class DeviceOptionsProperty:
|
|
60422
|
-
def __init__(
|
|
60445
|
+
def __init__(
|
|
60446
|
+
self,
|
|
60447
|
+
*,
|
|
60448
|
+
public_signing_key_url: typing.Optional[builtins.str] = None,
|
|
60449
|
+
tenant_id: typing.Optional[builtins.str] = None,
|
|
60450
|
+
) -> None:
|
|
60423
60451
|
'''Describes the options for an AWS Verified Access device-identity based trust provider.
|
|
60424
60452
|
|
|
60453
|
+
:param public_signing_key_url: The URL AWS Verified Access will use to verify the authenticity of the device tokens.
|
|
60425
60454
|
:param tenant_id: The ID of the tenant application with the device-identity provider.
|
|
60426
60455
|
|
|
60427
60456
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-deviceoptions.html
|
|
@@ -60434,16 +60463,29 @@ class CfnVerifiedAccessTrustProvider(
|
|
|
60434
60463
|
from aws_cdk import aws_ec2 as ec2
|
|
60435
60464
|
|
|
60436
60465
|
device_options_property = ec2.CfnVerifiedAccessTrustProvider.DeviceOptionsProperty(
|
|
60466
|
+
public_signing_key_url="publicSigningKeyUrl",
|
|
60437
60467
|
tenant_id="tenantId"
|
|
60438
60468
|
)
|
|
60439
60469
|
'''
|
|
60440
60470
|
if __debug__:
|
|
60441
60471
|
type_hints = typing.get_type_hints(_typecheckingstub__ff8d5f091c9e68a3470f9e83329b9ea9e8e9c3d69327e30f7c804de09801438f)
|
|
60472
|
+
check_type(argname="argument public_signing_key_url", value=public_signing_key_url, expected_type=type_hints["public_signing_key_url"])
|
|
60442
60473
|
check_type(argname="argument tenant_id", value=tenant_id, expected_type=type_hints["tenant_id"])
|
|
60443
60474
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
60475
|
+
if public_signing_key_url is not None:
|
|
60476
|
+
self._values["public_signing_key_url"] = public_signing_key_url
|
|
60444
60477
|
if tenant_id is not None:
|
|
60445
60478
|
self._values["tenant_id"] = tenant_id
|
|
60446
60479
|
|
|
60480
|
+
@builtins.property
|
|
60481
|
+
def public_signing_key_url(self) -> typing.Optional[builtins.str]:
|
|
60482
|
+
'''The URL AWS Verified Access will use to verify the authenticity of the device tokens.
|
|
60483
|
+
|
|
60484
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-deviceoptions.html#cfn-ec2-verifiedaccesstrustprovider-deviceoptions-publicsigningkeyurl
|
|
60485
|
+
'''
|
|
60486
|
+
result = self._values.get("public_signing_key_url")
|
|
60487
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
60488
|
+
|
|
60447
60489
|
@builtins.property
|
|
60448
60490
|
def tenant_id(self) -> typing.Optional[builtins.str]:
|
|
60449
60491
|
'''The ID of the tenant application with the device-identity provider.
|
|
@@ -60754,6 +60796,7 @@ class CfnVerifiedAccessTrustProviderProps:
|
|
|
60754
60796
|
# the properties below are optional
|
|
60755
60797
|
description="description",
|
|
60756
60798
|
device_options=ec2.CfnVerifiedAccessTrustProvider.DeviceOptionsProperty(
|
|
60799
|
+
public_signing_key_url="publicSigningKeyUrl",
|
|
60757
60800
|
tenant_id="tenantId"
|
|
60758
60801
|
),
|
|
60759
60802
|
device_trust_provider_type="deviceTrustProviderType",
|
|
@@ -98757,6 +98800,7 @@ def _typecheckingstub__4967d13842c9c8f34f254422ba9a304b8c052cdea0146ce880f1a5cc6
|
|
|
98757
98800
|
|
|
98758
98801
|
def _typecheckingstub__ff8d5f091c9e68a3470f9e83329b9ea9e8e9c3d69327e30f7c804de09801438f(
|
|
98759
98802
|
*,
|
|
98803
|
+
public_signing_key_url: typing.Optional[builtins.str] = None,
|
|
98760
98804
|
tenant_id: typing.Optional[builtins.str] = None,
|
|
98761
98805
|
) -> None:
|
|
98762
98806
|
"""Type checking stubs"""
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -5278,6 +5278,7 @@ class CfnCapacityProvider(
|
|
|
5278
5278
|
auto_scaling_group_arn="autoScalingGroupArn",
|
|
5279
5279
|
|
|
5280
5280
|
# the properties below are optional
|
|
5281
|
+
managed_draining="managedDraining",
|
|
5281
5282
|
managed_scaling=ecs.CfnCapacityProvider.ManagedScalingProperty(
|
|
5282
5283
|
instance_warmup_period=123,
|
|
5283
5284
|
maximum_scaling_step_size=123,
|
|
@@ -5415,6 +5416,7 @@ class CfnCapacityProvider(
|
|
|
5415
5416
|
jsii_struct_bases=[],
|
|
5416
5417
|
name_mapping={
|
|
5417
5418
|
"auto_scaling_group_arn": "autoScalingGroupArn",
|
|
5419
|
+
"managed_draining": "managedDraining",
|
|
5418
5420
|
"managed_scaling": "managedScaling",
|
|
5419
5421
|
"managed_termination_protection": "managedTerminationProtection",
|
|
5420
5422
|
},
|
|
@@ -5424,12 +5426,14 @@ class CfnCapacityProvider(
|
|
|
5424
5426
|
self,
|
|
5425
5427
|
*,
|
|
5426
5428
|
auto_scaling_group_arn: builtins.str,
|
|
5429
|
+
managed_draining: typing.Optional[builtins.str] = None,
|
|
5427
5430
|
managed_scaling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapacityProvider.ManagedScalingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5428
5431
|
managed_termination_protection: typing.Optional[builtins.str] = None,
|
|
5429
5432
|
) -> None:
|
|
5430
5433
|
'''The details of the Auto Scaling group for the capacity provider.
|
|
5431
5434
|
|
|
5432
5435
|
:param auto_scaling_group_arn: The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
|
|
5436
|
+
:param managed_draining:
|
|
5433
5437
|
:param managed_scaling: The managed scaling settings for the Auto Scaling group capacity provider.
|
|
5434
5438
|
:param managed_termination_protection: The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off. .. epigraph:: When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work. When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see `Instance Protection <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection>`_ in the *AWS Auto Scaling User Guide* . When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
|
|
5435
5439
|
|
|
@@ -5446,6 +5450,7 @@ class CfnCapacityProvider(
|
|
|
5446
5450
|
auto_scaling_group_arn="autoScalingGroupArn",
|
|
5447
5451
|
|
|
5448
5452
|
# the properties below are optional
|
|
5453
|
+
managed_draining="managedDraining",
|
|
5449
5454
|
managed_scaling=ecs.CfnCapacityProvider.ManagedScalingProperty(
|
|
5450
5455
|
instance_warmup_period=123,
|
|
5451
5456
|
maximum_scaling_step_size=123,
|
|
@@ -5459,11 +5464,14 @@ class CfnCapacityProvider(
|
|
|
5459
5464
|
if __debug__:
|
|
5460
5465
|
type_hints = typing.get_type_hints(_typecheckingstub__ca441075e92a847965e776db4f5ab9f545ce368b5efa4bc2476d58061dd0b742)
|
|
5461
5466
|
check_type(argname="argument auto_scaling_group_arn", value=auto_scaling_group_arn, expected_type=type_hints["auto_scaling_group_arn"])
|
|
5467
|
+
check_type(argname="argument managed_draining", value=managed_draining, expected_type=type_hints["managed_draining"])
|
|
5462
5468
|
check_type(argname="argument managed_scaling", value=managed_scaling, expected_type=type_hints["managed_scaling"])
|
|
5463
5469
|
check_type(argname="argument managed_termination_protection", value=managed_termination_protection, expected_type=type_hints["managed_termination_protection"])
|
|
5464
5470
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5465
5471
|
"auto_scaling_group_arn": auto_scaling_group_arn,
|
|
5466
5472
|
}
|
|
5473
|
+
if managed_draining is not None:
|
|
5474
|
+
self._values["managed_draining"] = managed_draining
|
|
5467
5475
|
if managed_scaling is not None:
|
|
5468
5476
|
self._values["managed_scaling"] = managed_scaling
|
|
5469
5477
|
if managed_termination_protection is not None:
|
|
@@ -5479,6 +5487,14 @@ class CfnCapacityProvider(
|
|
|
5479
5487
|
assert result is not None, "Required property 'auto_scaling_group_arn' is missing"
|
|
5480
5488
|
return typing.cast(builtins.str, result)
|
|
5481
5489
|
|
|
5490
|
+
@builtins.property
|
|
5491
|
+
def managed_draining(self) -> typing.Optional[builtins.str]:
|
|
5492
|
+
'''
|
|
5493
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider-manageddraining
|
|
5494
|
+
'''
|
|
5495
|
+
result = self._values.get("managed_draining")
|
|
5496
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5497
|
+
|
|
5482
5498
|
@builtins.property
|
|
5483
5499
|
def managed_scaling(
|
|
5484
5500
|
self,
|
|
@@ -5694,6 +5710,7 @@ class CfnCapacityProviderProps:
|
|
|
5694
5710
|
auto_scaling_group_arn="autoScalingGroupArn",
|
|
5695
5711
|
|
|
5696
5712
|
# the properties below are optional
|
|
5713
|
+
managed_draining="managedDraining",
|
|
5697
5714
|
managed_scaling=ecs.CfnCapacityProvider.ManagedScalingProperty(
|
|
5698
5715
|
instance_warmup_period=123,
|
|
5699
5716
|
maximum_scaling_step_size=123,
|
|
@@ -37481,6 +37498,7 @@ def _typecheckingstub__81c56757bceb2c5880b41cbaabe62c67844b248e61c810588b5c50b5f
|
|
|
37481
37498
|
def _typecheckingstub__ca441075e92a847965e776db4f5ab9f545ce368b5efa4bc2476d58061dd0b742(
|
|
37482
37499
|
*,
|
|
37483
37500
|
auto_scaling_group_arn: builtins.str,
|
|
37501
|
+
managed_draining: typing.Optional[builtins.str] = None,
|
|
37484
37502
|
managed_scaling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityProvider.ManagedScalingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
37485
37503
|
managed_termination_protection: typing.Optional[builtins.str] = None,
|
|
37486
37504
|
) -> None:
|
aws_cdk/aws_efs/__init__.py
CHANGED
|
@@ -1218,7 +1218,7 @@ class CfnAccessPoint(
|
|
|
1218
1218
|
) -> None:
|
|
1219
1219
|
'''Specifies the directory on the Amazon EFS file system that the access point provides access to.
|
|
1220
1220
|
|
|
1221
|
-
The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's ``RootDirectory`` and
|
|
1221
|
+
The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's ``RootDirectory`` and its subdirectories.
|
|
1222
1222
|
|
|
1223
1223
|
:param creation_info: (Optional) Specifies the POSIX IDs and permissions to apply to the access point's ``RootDirectory`` . If the ``RootDirectory`` > ``Path`` specified does not exist, EFS creates the root directory using the ``CreationInfo`` settings when a client connects to an access point. When specifying the ``CreationInfo`` , you must provide values for all properties. .. epigraph:: If you do not provide ``CreationInfo`` and the specified ``RootDirectory`` > ``Path`` does not exist, attempts to mount the file system using the access point will fail.
|
|
1224
1224
|
:param path: Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the ``CreationInfo`` .
|
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -575,6 +575,18 @@ For example, if the Amazon EKS cluster version is `1.17`, the Bottlerocket AMI v
|
|
|
575
575
|
|
|
576
576
|
Please note Bottlerocket does not allow to customize bootstrap options and `bootstrapOptions` properties is not supported when you create the `Bottlerocket` capacity.
|
|
577
577
|
|
|
578
|
+
To create a Bottlerocket managed nodegroup with Nvidia-based EC2 instance types use the `BOTTLEROCKET_X86_64_NVIDIA` or
|
|
579
|
+
`BOTTLEROCKET_ARM_64_NVIDIA` AMIs:
|
|
580
|
+
|
|
581
|
+
```python
|
|
582
|
+
# cluster: eks.Cluster
|
|
583
|
+
|
|
584
|
+
cluster.add_nodegroup_capacity("BottlerocketNvidiaNG",
|
|
585
|
+
ami_type=eks.NodegroupAmiType.BOTTLEROCKET_X86_64_NVIDIA,
|
|
586
|
+
instance_types=[ec2.InstanceType("g4dn.xlarge")]
|
|
587
|
+
)
|
|
588
|
+
```
|
|
589
|
+
|
|
578
590
|
For more details about Bottlerocket, see [Bottlerocket FAQs](https://aws.amazon.com/bottlerocket/faqs/) and [Bottlerocket Open Source Blog](https://aws.amazon.com/blogs/opensource/announcing-the-general-availability-of-bottlerocket-an-open-source-linux-distribution-purpose-built-to-run-containers/).
|
|
579
591
|
|
|
580
592
|
### Endpoint Access
|
|
@@ -12472,23 +12484,20 @@ class NodegroupAmiType(enum.Enum):
|
|
|
12472
12484
|
'''The AMI type for your node group.
|
|
12473
12485
|
|
|
12474
12486
|
GPU instance types should use the ``AL2_x86_64_GPU`` AMI type, which uses the
|
|
12475
|
-
Amazon EKS-optimized Linux AMI with GPU support
|
|
12476
|
-
uses the Amazon EKS-optimized Linux AMI.
|
|
12487
|
+
Amazon EKS-optimized Linux AMI with GPU support or the ``BOTTLEROCKET_ARM_64_NVIDIA`` or ``BOTTLEROCKET_X86_64_NVIDIA``
|
|
12488
|
+
AMI types, which uses the Amazon EKS-optimized Linux AMI with Nvidia-GPU support.
|
|
12489
|
+
|
|
12490
|
+
Non-GPU instances should use the ``AL2_x86_64`` AMI type, which uses the Amazon EKS-optimized Linux AMI.
|
|
12477
12491
|
|
|
12478
12492
|
:exampleMetadata: infused
|
|
12479
12493
|
|
|
12480
12494
|
Example::
|
|
12481
12495
|
|
|
12482
|
-
cluster
|
|
12483
|
-
version=eks.KubernetesVersion.V1_28,
|
|
12484
|
-
default_capacity=0
|
|
12485
|
-
)
|
|
12496
|
+
# cluster: eks.Cluster
|
|
12486
12497
|
|
|
12487
|
-
cluster.add_nodegroup_capacity("
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
disk_size=100,
|
|
12491
|
-
ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
|
|
12498
|
+
cluster.add_nodegroup_capacity("BottlerocketNvidiaNG",
|
|
12499
|
+
ami_type=eks.NodegroupAmiType.BOTTLEROCKET_X86_64_NVIDIA,
|
|
12500
|
+
instance_types=[ec2.InstanceType("g4dn.xlarge")]
|
|
12492
12501
|
)
|
|
12493
12502
|
'''
|
|
12494
12503
|
|
|
@@ -12499,9 +12508,13 @@ class NodegroupAmiType(enum.Enum):
|
|
|
12499
12508
|
AL2_ARM_64 = "AL2_ARM_64"
|
|
12500
12509
|
'''Amazon Linux 2 (ARM-64).'''
|
|
12501
12510
|
BOTTLEROCKET_ARM_64 = "BOTTLEROCKET_ARM_64"
|
|
12502
|
-
'''Bottlerocket Linux(ARM-64).'''
|
|
12511
|
+
'''Bottlerocket Linux (ARM-64).'''
|
|
12503
12512
|
BOTTLEROCKET_X86_64 = "BOTTLEROCKET_X86_64"
|
|
12504
|
-
'''Bottlerocket(x86-64).'''
|
|
12513
|
+
'''Bottlerocket (x86-64).'''
|
|
12514
|
+
BOTTLEROCKET_ARM_64_NVIDIA = "BOTTLEROCKET_ARM_64_NVIDIA"
|
|
12515
|
+
'''Bottlerocket Linux with Nvidia-GPU support (ARM-64).'''
|
|
12516
|
+
BOTTLEROCKET_X86_64_NVIDIA = "BOTTLEROCKET_X86_64_NVIDIA"
|
|
12517
|
+
'''Bottlerocket with Nvidia-GPU support (x86-64).'''
|
|
12505
12518
|
WINDOWS_CORE_2019_X86_64 = "WINDOWS_CORE_2019_X86_64"
|
|
12506
12519
|
'''Windows Core 2019 (x86-64).'''
|
|
12507
12520
|
WINDOWS_CORE_2022_X86_64 = "WINDOWS_CORE_2022_X86_64"
|