aws-cdk-lib 2.154.0__py3-none-any.whl → 2.155.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.155.0.jsii.tgz} +0 -0
- aws_cdk/assertions/__init__.py +17 -17
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_bedrock/__init__.py +2672 -306
- aws_cdk/aws_cloudfront/__init__.py +20 -5
- aws_cdk/aws_codebuild/__init__.py +384 -4
- aws_cdk/aws_ec2/__init__.py +246 -47
- aws_cdk/aws_ecs/__init__.py +5 -3
- aws_cdk/aws_eks/__init__.py +34 -4
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_glue/__init__.py +55 -4
- aws_cdk/aws_imagebuilder/__init__.py +6 -6
- aws_cdk/aws_ivs/__init__.py +460 -2
- aws_cdk/aws_kms/__init__.py +36 -0
- aws_cdk/aws_lambda/__init__.py +38 -23
- aws_cdk/aws_lambda_event_sources/__init__.py +27 -0
- aws_cdk/aws_medialive/__init__.py +41 -0
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_secretsmanager/__init__.py +3 -2
- aws_cdk/aws_ses/__init__.py +7 -7
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_ssmcontacts/__init__.py +12 -0
- aws_cdk/aws_stepfunctions/__init__.py +12 -14
- aws_cdk/aws_stepfunctions_tasks/__init__.py +76 -0
- aws_cdk/aws_synthetics/__init__.py +13 -0
- aws_cdk/custom_resources/__init__.py +113 -2
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/RECORD +35 -35
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -1721,6 +1721,32 @@ ec2.Instance(self, "Instance",
|
|
|
1721
1721
|
)
|
|
1722
1722
|
```
|
|
1723
1723
|
|
|
1724
|
+
To specify the throughput value for `gp3` volumes, use the `throughput` property:
|
|
1725
|
+
|
|
1726
|
+
```python
|
|
1727
|
+
# vpc: ec2.Vpc
|
|
1728
|
+
# instance_type: ec2.InstanceType
|
|
1729
|
+
# machine_image: ec2.IMachineImage
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
ec2.Instance(self, "Instance",
|
|
1733
|
+
vpc=vpc,
|
|
1734
|
+
instance_type=instance_type,
|
|
1735
|
+
machine_image=machine_image,
|
|
1736
|
+
|
|
1737
|
+
# ...
|
|
1738
|
+
|
|
1739
|
+
block_devices=[ec2.BlockDevice(
|
|
1740
|
+
device_name="/dev/sda1",
|
|
1741
|
+
volume=ec2.BlockDeviceVolume.ebs(100,
|
|
1742
|
+
volume_type=ec2.EbsDeviceVolumeType.GP3,
|
|
1743
|
+
throughput=250
|
|
1744
|
+
)
|
|
1745
|
+
)
|
|
1746
|
+
]
|
|
1747
|
+
)
|
|
1748
|
+
```
|
|
1749
|
+
|
|
1724
1750
|
#### EBS Optimized Instances
|
|
1725
1751
|
|
|
1726
1752
|
An Amazon EBS–optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O. This optimization provides the best performance for your EBS volumes by minimizing contention between Amazon EBS I/O and other traffic from your instance.
|
|
@@ -1992,6 +2018,25 @@ Note to set `mapPublicIpOnLaunch` to true in the `subnetConfiguration`.
|
|
|
1992
2018
|
|
|
1993
2019
|
Additionally, IPv6 support varies by instance type. Most instance types have IPv6 support with exception of m1-m3, c1, g2, and t1.micro. A full list can be found here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI.
|
|
1994
2020
|
|
|
2021
|
+
#### Specifying the IPv6 Address
|
|
2022
|
+
|
|
2023
|
+
If you want to specify [the number of IPv6 addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/MultipleIP.html#assign-multiple-ipv6) to assign to the instance, you can use the `ipv6AddresseCount` property:
|
|
2024
|
+
|
|
2025
|
+
```python
|
|
2026
|
+
# dual stack VPC
|
|
2027
|
+
# vpc: ec2.Vpc
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
instance = ec2.Instance(self, "MyInstance",
|
|
2031
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.M5, ec2.InstanceSize.LARGE),
|
|
2032
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2(),
|
|
2033
|
+
vpc=vpc,
|
|
2034
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC),
|
|
2035
|
+
# Assign 2 IPv6 addresses to the instance
|
|
2036
|
+
ipv6_address_count=2
|
|
2037
|
+
)
|
|
2038
|
+
```
|
|
2039
|
+
|
|
1995
2040
|
### Credit configuration modes for burstable instances
|
|
1996
2041
|
|
|
1997
2042
|
You can set the [credit configuration mode](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html) for burstable instances (T2, T3, T3a and T4g instance types):
|
|
@@ -5343,10 +5388,10 @@ class BlockDeviceVolume(
|
|
|
5343
5388
|
|
|
5344
5389
|
block_devices=[ec2.BlockDevice(
|
|
5345
5390
|
device_name="/dev/sda1",
|
|
5346
|
-
volume=ec2.BlockDeviceVolume.ebs(
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5391
|
+
volume=ec2.BlockDeviceVolume.ebs(100,
|
|
5392
|
+
volume_type=ec2.EbsDeviceVolumeType.GP3,
|
|
5393
|
+
throughput=250
|
|
5394
|
+
)
|
|
5350
5395
|
)
|
|
5351
5396
|
]
|
|
5352
5397
|
)
|
|
@@ -5377,6 +5422,7 @@ class BlockDeviceVolume(
|
|
|
5377
5422
|
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5378
5423
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
5379
5424
|
iops: typing.Optional[jsii.Number] = None,
|
|
5425
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
5380
5426
|
volume_type: typing.Optional["EbsDeviceVolumeType"] = None,
|
|
5381
5427
|
) -> "BlockDeviceVolume":
|
|
5382
5428
|
'''Creates a new Elastic Block Storage device.
|
|
@@ -5386,6 +5432,7 @@ class BlockDeviceVolume(
|
|
|
5386
5432
|
:param kms_key: The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. You have to ensure that the KMS CMK has the correct permissions to be used by the service launching the ec2 instances. Default: - If encrypted is true, the default aws/ebs KMS key will be used.
|
|
5387
5433
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
5388
5434
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
5435
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
5389
5436
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
5390
5437
|
'''
|
|
5391
5438
|
if __debug__:
|
|
@@ -5396,6 +5443,7 @@ class BlockDeviceVolume(
|
|
|
5396
5443
|
kms_key=kms_key,
|
|
5397
5444
|
delete_on_termination=delete_on_termination,
|
|
5398
5445
|
iops=iops,
|
|
5446
|
+
throughput=throughput,
|
|
5399
5447
|
volume_type=volume_type,
|
|
5400
5448
|
)
|
|
5401
5449
|
|
|
@@ -5410,6 +5458,7 @@ class BlockDeviceVolume(
|
|
|
5410
5458
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
5411
5459
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
5412
5460
|
iops: typing.Optional[jsii.Number] = None,
|
|
5461
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
5413
5462
|
volume_type: typing.Optional["EbsDeviceVolumeType"] = None,
|
|
5414
5463
|
) -> "BlockDeviceVolume":
|
|
5415
5464
|
'''Creates a new Elastic Block Storage device from an existing snapshot.
|
|
@@ -5418,6 +5467,7 @@ class BlockDeviceVolume(
|
|
|
5418
5467
|
:param volume_size: The volume size, in Gibibytes (GiB). If you specify volumeSize, it must be equal or greater than the size of the snapshot. Default: - The snapshot size
|
|
5419
5468
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
5420
5469
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
5470
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
5421
5471
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
5422
5472
|
'''
|
|
5423
5473
|
if __debug__:
|
|
@@ -5427,6 +5477,7 @@ class BlockDeviceVolume(
|
|
|
5427
5477
|
volume_size=volume_size,
|
|
5428
5478
|
delete_on_termination=delete_on_termination,
|
|
5429
5479
|
iops=iops,
|
|
5480
|
+
throughput=throughput,
|
|
5430
5481
|
volume_type=volume_type,
|
|
5431
5482
|
)
|
|
5432
5483
|
|
|
@@ -16312,7 +16363,7 @@ class CfnIPAM(
|
|
|
16312
16363
|
:param scope: Scope in which this resource is defined.
|
|
16313
16364
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
16314
16365
|
:param description: The description for the IPAM.
|
|
16315
|
-
:param enable_private_gua: Enable
|
|
16366
|
+
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
16316
16367
|
:param operating_regions: The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions. For more information about operating Regions, see `Create an IPAM <https://docs.aws.amazon.com//vpc/latest/ipam/create-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
16317
16368
|
:param tags: The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key ``Owner`` and the value ``TeamA`` , specify ``tag:Owner`` for the filter name and ``TeamA`` for the filter value.
|
|
16318
16369
|
:param tier: IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see the `VPC IPAM product pricing page <https://docs.aws.amazon.com//vpc/pricing/>`_ .
|
|
@@ -16462,7 +16513,7 @@ class CfnIPAM(
|
|
|
16462
16513
|
def enable_private_gua(
|
|
16463
16514
|
self,
|
|
16464
16515
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
16465
|
-
'''Enable
|
|
16516
|
+
'''Enable this option to use your own GUA ranges as private IPv6 addresses.'''
|
|
16466
16517
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enablePrivateGua"))
|
|
16467
16518
|
|
|
16468
16519
|
@enable_private_gua.setter
|
|
@@ -18122,7 +18173,7 @@ class CfnIPAMProps:
|
|
|
18122
18173
|
'''Properties for defining a ``CfnIPAM``.
|
|
18123
18174
|
|
|
18124
18175
|
:param description: The description for the IPAM.
|
|
18125
|
-
:param enable_private_gua: Enable
|
|
18176
|
+
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
18126
18177
|
:param operating_regions: The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions. For more information about operating Regions, see `Create an IPAM <https://docs.aws.amazon.com//vpc/latest/ipam/create-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
18127
18178
|
:param tags: The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key ``Owner`` and the value ``TeamA`` , specify ``tag:Owner`` for the filter name and ``TeamA`` for the filter value.
|
|
18128
18179
|
:param tier: IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see the `VPC IPAM product pricing page <https://docs.aws.amazon.com//vpc/pricing/>`_ .
|
|
@@ -18181,7 +18232,9 @@ class CfnIPAMProps:
|
|
|
18181
18232
|
def enable_private_gua(
|
|
18182
18233
|
self,
|
|
18183
18234
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
18184
|
-
'''Enable
|
|
18235
|
+
'''Enable this option to use your own GUA ranges as private IPv6 addresses.
|
|
18236
|
+
|
|
18237
|
+
This option is disabled by default.
|
|
18185
18238
|
|
|
18186
18239
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-enableprivategua
|
|
18187
18240
|
'''
|
|
@@ -20271,7 +20324,7 @@ class CfnInstance(
|
|
|
20271
20324
|
) -> None:
|
|
20272
20325
|
'''Specifies input parameter values for an SSM document in AWS Systems Manager .
|
|
20273
20326
|
|
|
20274
|
-
``AssociationParameter`` is a property of the `
|
|
20327
|
+
``AssociationParameter`` is a property of the `SsmAssociation <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html>`_ property type.
|
|
20275
20328
|
|
|
20276
20329
|
:param key: The name of an input parameter that is in the associated SSM document.
|
|
20277
20330
|
:param value: The value of an input parameter.
|
|
@@ -20644,7 +20697,7 @@ class CfnInstance(
|
|
|
20644
20697
|
) -> None:
|
|
20645
20698
|
'''Specifies a block device for an EBS volume.
|
|
20646
20699
|
|
|
20647
|
-
``Ebs`` is a property of the `
|
|
20700
|
+
``Ebs`` is a property of the `BlockDeviceMapping <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html>`_ property type.
|
|
20648
20701
|
.. epigraph::
|
|
20649
20702
|
|
|
20650
20703
|
After the instance is running, you can modify only the ``DeleteOnTermination`` parameters for the attached volumes without interrupting the instance. Modifying any other parameter results in instance `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
@@ -21914,9 +21967,9 @@ class CfnInstance(
|
|
|
21914
21967
|
code: typing.Optional[builtins.str] = None,
|
|
21915
21968
|
name: typing.Optional[builtins.str] = None,
|
|
21916
21969
|
) -> None:
|
|
21917
|
-
'''
|
|
21970
|
+
'''Describes the current state of an instance.
|
|
21918
21971
|
|
|
21919
|
-
:param code: The state of the instance as a 16-bit unsigned integer.
|
|
21972
|
+
:param code: The state of the instance as a 16-bit unsigned integer. The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values between 256 and 65,535. These numerical values are used for internal purposes and should be ignored. The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values between 0 and 255. The valid values for instance-state-code will all be in the range of the low byte and they are: - ``0`` : ``pending`` - ``16`` : ``running`` - ``32`` : ``shutting-down`` - ``48`` : ``terminated`` - ``64`` : ``stopping`` - ``80`` : ``stopped`` You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in decimal.
|
|
21920
21973
|
:param name: The current state of the instance.
|
|
21921
21974
|
|
|
21922
21975
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html
|
|
@@ -21947,6 +22000,21 @@ class CfnInstance(
|
|
|
21947
22000
|
def code(self) -> typing.Optional[builtins.str]:
|
|
21948
22001
|
'''The state of the instance as a 16-bit unsigned integer.
|
|
21949
22002
|
|
|
22003
|
+
The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values between 256 and 65,535. These numerical values are used for internal purposes and should be ignored.
|
|
22004
|
+
|
|
22005
|
+
The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values between 0 and 255.
|
|
22006
|
+
|
|
22007
|
+
The valid values for instance-state-code will all be in the range of the low byte and they are:
|
|
22008
|
+
|
|
22009
|
+
- ``0`` : ``pending``
|
|
22010
|
+
- ``16`` : ``running``
|
|
22011
|
+
- ``32`` : ``shutting-down``
|
|
22012
|
+
- ``48`` : ``terminated``
|
|
22013
|
+
- ``64`` : ``stopping``
|
|
22014
|
+
- ``80`` : ``stopped``
|
|
22015
|
+
|
|
22016
|
+
You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in decimal.
|
|
22017
|
+
|
|
21950
22018
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-code
|
|
21951
22019
|
'''
|
|
21952
22020
|
result = self._values.get("code")
|
|
@@ -39461,8 +39529,8 @@ class CfnPrefixList(
|
|
|
39461
39529
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
39462
39530
|
:param address_family: The IP address type. Valid Values: ``IPv4`` | ``IPv6``
|
|
39463
39531
|
:param prefix_list_name: A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with ``com.amazonaws`` .
|
|
39464
|
-
:param entries:
|
|
39465
|
-
:param max_entries: The maximum number of entries for the prefix list.
|
|
39532
|
+
:param entries: The entries for the prefix list.
|
|
39533
|
+
:param max_entries: The maximum number of entries for the prefix list. This property is required when you create a prefix list.
|
|
39466
39534
|
:param tags: The tags for the prefix list.
|
|
39467
39535
|
'''
|
|
39468
39536
|
if __debug__:
|
|
@@ -39595,7 +39663,7 @@ class CfnPrefixList(
|
|
|
39595
39663
|
def entries(
|
|
39596
39664
|
self,
|
|
39597
39665
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPrefixList.EntryProperty"]]]]:
|
|
39598
|
-
'''
|
|
39666
|
+
'''The entries for the prefix list.'''
|
|
39599
39667
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPrefixList.EntryProperty"]]]], jsii.get(self, "entries"))
|
|
39600
39668
|
|
|
39601
39669
|
@entries.setter
|
|
@@ -39735,8 +39803,8 @@ class CfnPrefixListProps:
|
|
|
39735
39803
|
|
|
39736
39804
|
:param address_family: The IP address type. Valid Values: ``IPv4`` | ``IPv6``
|
|
39737
39805
|
:param prefix_list_name: A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with ``com.amazonaws`` .
|
|
39738
|
-
:param entries:
|
|
39739
|
-
:param max_entries: The maximum number of entries for the prefix list.
|
|
39806
|
+
:param entries: The entries for the prefix list.
|
|
39807
|
+
:param max_entries: The maximum number of entries for the prefix list. This property is required when you create a prefix list.
|
|
39740
39808
|
:param tags: The tags for the prefix list.
|
|
39741
39809
|
|
|
39742
39810
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html
|
|
@@ -39812,7 +39880,7 @@ class CfnPrefixListProps:
|
|
|
39812
39880
|
def entries(
|
|
39813
39881
|
self,
|
|
39814
39882
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPrefixList.EntryProperty]]]]:
|
|
39815
|
-
'''
|
|
39883
|
+
'''The entries for the prefix list.
|
|
39816
39884
|
|
|
39817
39885
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-entries
|
|
39818
39886
|
'''
|
|
@@ -39823,6 +39891,8 @@ class CfnPrefixListProps:
|
|
|
39823
39891
|
def max_entries(self) -> typing.Optional[jsii.Number]:
|
|
39824
39892
|
'''The maximum number of entries for the prefix list.
|
|
39825
39893
|
|
|
39894
|
+
This property is required when you create a prefix list.
|
|
39895
|
+
|
|
39826
39896
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries
|
|
39827
39897
|
'''
|
|
39828
39898
|
result = self._values.get("max_entries")
|
|
@@ -55894,7 +55964,9 @@ class CfnVPCCidrBlock(
|
|
|
55894
55964
|
@builtins.property
|
|
55895
55965
|
@jsii.member(jsii_name="attrIpSource")
|
|
55896
55966
|
def attr_ip_source(self) -> builtins.str:
|
|
55897
|
-
'''The
|
|
55967
|
+
'''The source that allocated the IP address space.
|
|
55968
|
+
|
|
55969
|
+
``byoip`` or ``amazon`` indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP). ``none`` indicates private space.
|
|
55898
55970
|
|
|
55899
55971
|
:cloudformationAttribute: IpSource
|
|
55900
55972
|
'''
|
|
@@ -55903,7 +55975,9 @@ class CfnVPCCidrBlock(
|
|
|
55903
55975
|
@builtins.property
|
|
55904
55976
|
@jsii.member(jsii_name="attrIpv6AddressAttribute")
|
|
55905
55977
|
def attr_ipv6_address_attribute(self) -> builtins.str:
|
|
55906
|
-
'''
|
|
55978
|
+
'''Public IPv6 addresses are those advertised on the internet from AWS .
|
|
55979
|
+
|
|
55980
|
+
Private IP addresses are not and cannot be advertised on the internet from AWS .
|
|
55907
55981
|
|
|
55908
55982
|
:cloudformationAttribute: Ipv6AddressAttribute
|
|
55909
55983
|
'''
|
|
@@ -66120,6 +66194,7 @@ class DefaultInstanceTenancy(enum.Enum):
|
|
|
66120
66194
|
name_mapping={
|
|
66121
66195
|
"delete_on_termination": "deleteOnTermination",
|
|
66122
66196
|
"iops": "iops",
|
|
66197
|
+
"throughput": "throughput",
|
|
66123
66198
|
"volume_type": "volumeType",
|
|
66124
66199
|
},
|
|
66125
66200
|
)
|
|
@@ -66129,12 +66204,14 @@ class EbsDeviceOptionsBase:
|
|
|
66129
66204
|
*,
|
|
66130
66205
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
66131
66206
|
iops: typing.Optional[jsii.Number] = None,
|
|
66207
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
66132
66208
|
volume_type: typing.Optional["EbsDeviceVolumeType"] = None,
|
|
66133
66209
|
) -> None:
|
|
66134
66210
|
'''Base block device options for an EBS volume.
|
|
66135
66211
|
|
|
66136
66212
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
66137
66213
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
66214
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
66138
66215
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
66139
66216
|
|
|
66140
66217
|
:exampleMetadata: fixture=_generated
|
|
@@ -66148,6 +66225,7 @@ class EbsDeviceOptionsBase:
|
|
|
66148
66225
|
ebs_device_options_base = ec2.EbsDeviceOptionsBase(
|
|
66149
66226
|
delete_on_termination=False,
|
|
66150
66227
|
iops=123,
|
|
66228
|
+
throughput=123,
|
|
66151
66229
|
volume_type=ec2.EbsDeviceVolumeType.STANDARD
|
|
66152
66230
|
)
|
|
66153
66231
|
'''
|
|
@@ -66155,12 +66233,15 @@ class EbsDeviceOptionsBase:
|
|
|
66155
66233
|
type_hints = typing.get_type_hints(_typecheckingstub__0d06a3c480f0a868f3c69b22935c359322b1d9337591dc27bb141d518434f062)
|
|
66156
66234
|
check_type(argname="argument delete_on_termination", value=delete_on_termination, expected_type=type_hints["delete_on_termination"])
|
|
66157
66235
|
check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
|
|
66236
|
+
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
66158
66237
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
66159
66238
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
66160
66239
|
if delete_on_termination is not None:
|
|
66161
66240
|
self._values["delete_on_termination"] = delete_on_termination
|
|
66162
66241
|
if iops is not None:
|
|
66163
66242
|
self._values["iops"] = iops
|
|
66243
|
+
if throughput is not None:
|
|
66244
|
+
self._values["throughput"] = throughput
|
|
66164
66245
|
if volume_type is not None:
|
|
66165
66246
|
self._values["volume_type"] = volume_type
|
|
66166
66247
|
|
|
@@ -66189,6 +66270,22 @@ class EbsDeviceOptionsBase:
|
|
|
66189
66270
|
result = self._values.get("iops")
|
|
66190
66271
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
66191
66272
|
|
|
66273
|
+
@builtins.property
|
|
66274
|
+
def throughput(self) -> typing.Optional[jsii.Number]:
|
|
66275
|
+
'''The throughput to provision for a ``gp3`` volume.
|
|
66276
|
+
|
|
66277
|
+
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
66278
|
+
|
|
66279
|
+
``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s.
|
|
66280
|
+
You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS.
|
|
66281
|
+
|
|
66282
|
+
:default: - 125 MiB/s.
|
|
66283
|
+
|
|
66284
|
+
:see: https://docs.aws.amazon.com/ebs/latest/userguide/general-purpose.html#gp3-performance
|
|
66285
|
+
'''
|
|
66286
|
+
result = self._values.get("throughput")
|
|
66287
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
66288
|
+
|
|
66192
66289
|
@builtins.property
|
|
66193
66290
|
def volume_type(self) -> typing.Optional["EbsDeviceVolumeType"]:
|
|
66194
66291
|
'''The EBS volume type.
|
|
@@ -66221,6 +66318,7 @@ class EbsDeviceOptionsBase:
|
|
|
66221
66318
|
name_mapping={
|
|
66222
66319
|
"delete_on_termination": "deleteOnTermination",
|
|
66223
66320
|
"iops": "iops",
|
|
66321
|
+
"throughput": "throughput",
|
|
66224
66322
|
"volume_type": "volumeType",
|
|
66225
66323
|
"volume_size": "volumeSize",
|
|
66226
66324
|
},
|
|
@@ -66231,6 +66329,7 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66231
66329
|
*,
|
|
66232
66330
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
66233
66331
|
iops: typing.Optional[jsii.Number] = None,
|
|
66332
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
66234
66333
|
volume_type: typing.Optional["EbsDeviceVolumeType"] = None,
|
|
66235
66334
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
66236
66335
|
) -> None:
|
|
@@ -66238,6 +66337,7 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66238
66337
|
|
|
66239
66338
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
66240
66339
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
66340
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
66241
66341
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
66242
66342
|
:param volume_size: The volume size, in Gibibytes (GiB). If you specify volumeSize, it must be equal or greater than the size of the snapshot. Default: - The snapshot size
|
|
66243
66343
|
|
|
@@ -66252,6 +66352,7 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66252
66352
|
ebs_device_snapshot_options = ec2.EbsDeviceSnapshotOptions(
|
|
66253
66353
|
delete_on_termination=False,
|
|
66254
66354
|
iops=123,
|
|
66355
|
+
throughput=123,
|
|
66255
66356
|
volume_size=123,
|
|
66256
66357
|
volume_type=ec2.EbsDeviceVolumeType.STANDARD
|
|
66257
66358
|
)
|
|
@@ -66260,6 +66361,7 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66260
66361
|
type_hints = typing.get_type_hints(_typecheckingstub__4602c5be3c93ca5d255adf8aa3a652b8c7898310f96514ecd6fc09f7d5935370)
|
|
66261
66362
|
check_type(argname="argument delete_on_termination", value=delete_on_termination, expected_type=type_hints["delete_on_termination"])
|
|
66262
66363
|
check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
|
|
66364
|
+
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
66263
66365
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
66264
66366
|
check_type(argname="argument volume_size", value=volume_size, expected_type=type_hints["volume_size"])
|
|
66265
66367
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -66267,6 +66369,8 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66267
66369
|
self._values["delete_on_termination"] = delete_on_termination
|
|
66268
66370
|
if iops is not None:
|
|
66269
66371
|
self._values["iops"] = iops
|
|
66372
|
+
if throughput is not None:
|
|
66373
|
+
self._values["throughput"] = throughput
|
|
66270
66374
|
if volume_type is not None:
|
|
66271
66375
|
self._values["volume_type"] = volume_type
|
|
66272
66376
|
if volume_size is not None:
|
|
@@ -66297,6 +66401,22 @@ class EbsDeviceSnapshotOptions(EbsDeviceOptionsBase):
|
|
|
66297
66401
|
result = self._values.get("iops")
|
|
66298
66402
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
66299
66403
|
|
|
66404
|
+
@builtins.property
|
|
66405
|
+
def throughput(self) -> typing.Optional[jsii.Number]:
|
|
66406
|
+
'''The throughput to provision for a ``gp3`` volume.
|
|
66407
|
+
|
|
66408
|
+
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
66409
|
+
|
|
66410
|
+
``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s.
|
|
66411
|
+
You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS.
|
|
66412
|
+
|
|
66413
|
+
:default: - 125 MiB/s.
|
|
66414
|
+
|
|
66415
|
+
:see: https://docs.aws.amazon.com/ebs/latest/userguide/general-purpose.html#gp3-performance
|
|
66416
|
+
'''
|
|
66417
|
+
result = self._values.get("throughput")
|
|
66418
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
66419
|
+
|
|
66300
66420
|
@builtins.property
|
|
66301
66421
|
def volume_type(self) -> typing.Optional["EbsDeviceVolumeType"]:
|
|
66302
66422
|
'''The EBS volume type.
|
|
@@ -66343,21 +66463,25 @@ class EbsDeviceVolumeType(enum.Enum):
|
|
|
66343
66463
|
Example::
|
|
66344
66464
|
|
|
66345
66465
|
# vpc: ec2.Vpc
|
|
66466
|
+
# instance_type: ec2.InstanceType
|
|
66467
|
+
# machine_image: ec2.IMachineImage
|
|
66346
66468
|
|
|
66347
66469
|
|
|
66348
|
-
|
|
66349
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.M5, ec2.InstanceSize.XLARGE),
|
|
66350
|
-
machine_image=ec2.AmazonLinuxImage(),
|
|
66470
|
+
ec2.Instance(self, "Instance",
|
|
66351
66471
|
vpc=vpc,
|
|
66352
|
-
|
|
66472
|
+
instance_type=instance_type,
|
|
66473
|
+
machine_image=machine_image,
|
|
66474
|
+
|
|
66475
|
+
# ...
|
|
66476
|
+
|
|
66353
66477
|
block_devices=[ec2.BlockDevice(
|
|
66354
|
-
device_name="/dev/
|
|
66355
|
-
volume=ec2.BlockDeviceVolume.ebs(
|
|
66478
|
+
device_name="/dev/sda1",
|
|
66479
|
+
volume=ec2.BlockDeviceVolume.ebs(100,
|
|
66356
66480
|
volume_type=ec2.EbsDeviceVolumeType.GP3,
|
|
66357
|
-
|
|
66358
|
-
delete_on_termination=True
|
|
66481
|
+
throughput=250
|
|
66359
66482
|
)
|
|
66360
|
-
)
|
|
66483
|
+
)
|
|
66484
|
+
]
|
|
66361
66485
|
)
|
|
66362
66486
|
'''
|
|
66363
66487
|
|
|
@@ -72311,6 +72435,7 @@ class Instance(
|
|
|
72311
72435
|
init_options: typing.Optional[typing.Union[ApplyCloudFormationInitOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
72312
72436
|
instance_initiated_shutdown_behavior: typing.Optional["InstanceInitiatedShutdownBehavior"] = None,
|
|
72313
72437
|
instance_name: typing.Optional[builtins.str] = None,
|
|
72438
|
+
ipv6_address_count: typing.Optional[jsii.Number] = None,
|
|
72314
72439
|
key_name: typing.Optional[builtins.str] = None,
|
|
72315
72440
|
key_pair: typing.Optional[IKeyPair] = None,
|
|
72316
72441
|
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
@@ -72334,7 +72459,7 @@ class Instance(
|
|
|
72334
72459
|
:param vpc: VPC to launch the instance in.
|
|
72335
72460
|
:param allow_all_ipv6_outbound: Whether the instance could initiate IPv6 connections to anywhere by default. This property is only used when you do not provide a security group. Default: false
|
|
72336
72461
|
:param allow_all_outbound: Whether the instance could initiate connections to anywhere by default. This property is only used when you do not provide a security group. Default: true
|
|
72337
|
-
:param associate_public_ip_address: Whether to associate a public IP address to the primary network interface attached to this instance. Default: - public IP address is automatically assigned based on default behavior
|
|
72462
|
+
:param associate_public_ip_address: Whether to associate a public IP address to the primary network interface attached to this instance. You cannot specify this property and ``ipv6AddressCount`` at the same time. Default: - public IP address is automatically assigned based on default behavior
|
|
72338
72463
|
:param availability_zone: In which AZ to place the instance within the VPC. Default: - Random zone.
|
|
72339
72464
|
:param block_devices: Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes. Each instance that is launched has an associated root device volume, either an Amazon EBS volume or an instance store volume. You can use block device mappings to specify additional EBS volumes or instance store volumes to attach to an instance when it is launched. Default: - Uses the block device mapping of the AMI
|
|
72340
72465
|
:param credit_specification: Specifying the CPU credit type for burstable EC2 instance types (T2, T3, T3a, etc). The unlimited CPU credit option is not supported for T3 instances with a dedicated host. Default: - T2 instances are standard, while T3, T4g, and T3a instances are unlimited.
|
|
@@ -72346,6 +72471,7 @@ class Instance(
|
|
|
72346
72471
|
:param init_options: Use the given options for applying CloudFormation Init. Describes the configsets to use and the timeout to wait Default: - default options
|
|
72347
72472
|
:param instance_initiated_shutdown_behavior: Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). Default: InstanceInitiatedShutdownBehavior.STOP
|
|
72348
72473
|
:param instance_name: The name of the instance. Default: - CDK generated name
|
|
72474
|
+
:param ipv6_address_count: The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this property and ``associatePublicIpAddress`` at the same time. Default: - For instances associated with an IPv6 subnet, use 1; otherwise, use 0.
|
|
72349
72475
|
:param key_name: (deprecated) Name of SSH keypair to grant access to instance. Default: - No SSH access will be possible.
|
|
72350
72476
|
:param key_pair: The SSH keypair to grant access to the instance. Default: - No SSH access will be possible.
|
|
72351
72477
|
:param placement_group: The placement group that you want to launch the instance into. Default: - no placement group will be used for this instance.
|
|
@@ -72383,6 +72509,7 @@ class Instance(
|
|
|
72383
72509
|
init_options=init_options,
|
|
72384
72510
|
instance_initiated_shutdown_behavior=instance_initiated_shutdown_behavior,
|
|
72385
72511
|
instance_name=instance_name,
|
|
72512
|
+
ipv6_address_count=ipv6_address_count,
|
|
72386
72513
|
key_name=key_name,
|
|
72387
72514
|
key_pair=key_pair,
|
|
72388
72515
|
placement_group=placement_group,
|
|
@@ -73189,6 +73316,7 @@ class InstanceInitiatedShutdownBehavior(enum.Enum):
|
|
|
73189
73316
|
"init_options": "initOptions",
|
|
73190
73317
|
"instance_initiated_shutdown_behavior": "instanceInitiatedShutdownBehavior",
|
|
73191
73318
|
"instance_name": "instanceName",
|
|
73319
|
+
"ipv6_address_count": "ipv6AddressCount",
|
|
73192
73320
|
"key_name": "keyName",
|
|
73193
73321
|
"key_pair": "keyPair",
|
|
73194
73322
|
"placement_group": "placementGroup",
|
|
@@ -73226,6 +73354,7 @@ class InstanceProps:
|
|
|
73226
73354
|
init_options: typing.Optional[typing.Union[ApplyCloudFormationInitOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
73227
73355
|
instance_initiated_shutdown_behavior: typing.Optional[InstanceInitiatedShutdownBehavior] = None,
|
|
73228
73356
|
instance_name: typing.Optional[builtins.str] = None,
|
|
73357
|
+
ipv6_address_count: typing.Optional[jsii.Number] = None,
|
|
73229
73358
|
key_name: typing.Optional[builtins.str] = None,
|
|
73230
73359
|
key_pair: typing.Optional[IKeyPair] = None,
|
|
73231
73360
|
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
@@ -73248,7 +73377,7 @@ class InstanceProps:
|
|
|
73248
73377
|
:param vpc: VPC to launch the instance in.
|
|
73249
73378
|
:param allow_all_ipv6_outbound: Whether the instance could initiate IPv6 connections to anywhere by default. This property is only used when you do not provide a security group. Default: false
|
|
73250
73379
|
:param allow_all_outbound: Whether the instance could initiate connections to anywhere by default. This property is only used when you do not provide a security group. Default: true
|
|
73251
|
-
:param associate_public_ip_address: Whether to associate a public IP address to the primary network interface attached to this instance. Default: - public IP address is automatically assigned based on default behavior
|
|
73380
|
+
:param associate_public_ip_address: Whether to associate a public IP address to the primary network interface attached to this instance. You cannot specify this property and ``ipv6AddressCount`` at the same time. Default: - public IP address is automatically assigned based on default behavior
|
|
73252
73381
|
:param availability_zone: In which AZ to place the instance within the VPC. Default: - Random zone.
|
|
73253
73382
|
:param block_devices: Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes. Each instance that is launched has an associated root device volume, either an Amazon EBS volume or an instance store volume. You can use block device mappings to specify additional EBS volumes or instance store volumes to attach to an instance when it is launched. Default: - Uses the block device mapping of the AMI
|
|
73254
73383
|
:param credit_specification: Specifying the CPU credit type for burstable EC2 instance types (T2, T3, T3a, etc). The unlimited CPU credit option is not supported for T3 instances with a dedicated host. Default: - T2 instances are standard, while T3, T4g, and T3a instances are unlimited.
|
|
@@ -73260,6 +73389,7 @@ class InstanceProps:
|
|
|
73260
73389
|
:param init_options: Use the given options for applying CloudFormation Init. Describes the configsets to use and the timeout to wait Default: - default options
|
|
73261
73390
|
:param instance_initiated_shutdown_behavior: Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). Default: InstanceInitiatedShutdownBehavior.STOP
|
|
73262
73391
|
:param instance_name: The name of the instance. Default: - CDK generated name
|
|
73392
|
+
:param ipv6_address_count: The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this property and ``associatePublicIpAddress`` at the same time. Default: - For instances associated with an IPv6 subnet, use 1; otherwise, use 0.
|
|
73263
73393
|
:param key_name: (deprecated) Name of SSH keypair to grant access to instance. Default: - No SSH access will be possible.
|
|
73264
73394
|
:param key_pair: The SSH keypair to grant access to the instance. Default: - No SSH access will be possible.
|
|
73265
73395
|
:param placement_group: The placement group that you want to launch the instance into. Default: - no placement group will be used for this instance.
|
|
@@ -73317,6 +73447,7 @@ class InstanceProps:
|
|
|
73317
73447
|
check_type(argname="argument init_options", value=init_options, expected_type=type_hints["init_options"])
|
|
73318
73448
|
check_type(argname="argument instance_initiated_shutdown_behavior", value=instance_initiated_shutdown_behavior, expected_type=type_hints["instance_initiated_shutdown_behavior"])
|
|
73319
73449
|
check_type(argname="argument instance_name", value=instance_name, expected_type=type_hints["instance_name"])
|
|
73450
|
+
check_type(argname="argument ipv6_address_count", value=ipv6_address_count, expected_type=type_hints["ipv6_address_count"])
|
|
73320
73451
|
check_type(argname="argument key_name", value=key_name, expected_type=type_hints["key_name"])
|
|
73321
73452
|
check_type(argname="argument key_pair", value=key_pair, expected_type=type_hints["key_pair"])
|
|
73322
73453
|
check_type(argname="argument placement_group", value=placement_group, expected_type=type_hints["placement_group"])
|
|
@@ -73364,6 +73495,8 @@ class InstanceProps:
|
|
|
73364
73495
|
self._values["instance_initiated_shutdown_behavior"] = instance_initiated_shutdown_behavior
|
|
73365
73496
|
if instance_name is not None:
|
|
73366
73497
|
self._values["instance_name"] = instance_name
|
|
73498
|
+
if ipv6_address_count is not None:
|
|
73499
|
+
self._values["ipv6_address_count"] = ipv6_address_count
|
|
73367
73500
|
if key_name is not None:
|
|
73368
73501
|
self._values["key_name"] = key_name
|
|
73369
73502
|
if key_pair is not None:
|
|
@@ -73440,6 +73573,8 @@ class InstanceProps:
|
|
|
73440
73573
|
def associate_public_ip_address(self) -> typing.Optional[builtins.bool]:
|
|
73441
73574
|
'''Whether to associate a public IP address to the primary network interface attached to this instance.
|
|
73442
73575
|
|
|
73576
|
+
You cannot specify this property and ``ipv6AddressCount`` at the same time.
|
|
73577
|
+
|
|
73443
73578
|
:default: - public IP address is automatically assigned based on default behavior
|
|
73444
73579
|
'''
|
|
73445
73580
|
result = self._values.get("associate_public_ip_address")
|
|
@@ -73577,6 +73712,19 @@ class InstanceProps:
|
|
|
73577
73712
|
result = self._values.get("instance_name")
|
|
73578
73713
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
73579
73714
|
|
|
73715
|
+
@builtins.property
|
|
73716
|
+
def ipv6_address_count(self) -> typing.Optional[jsii.Number]:
|
|
73717
|
+
'''The number of IPv6 addresses to associate with the primary network interface.
|
|
73718
|
+
|
|
73719
|
+
Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
|
|
73720
|
+
|
|
73721
|
+
You cannot specify this property and ``associatePublicIpAddress`` at the same time.
|
|
73722
|
+
|
|
73723
|
+
:default: - For instances associated with an IPv6 subnet, use 1; otherwise, use 0.
|
|
73724
|
+
'''
|
|
73725
|
+
result = self._values.get("ipv6_address_count")
|
|
73726
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
73727
|
+
|
|
73580
73728
|
@builtins.property
|
|
73581
73729
|
def key_name(self) -> typing.Optional[builtins.str]:
|
|
73582
73730
|
'''(deprecated) Name of SSH keypair to grant access to instance.
|
|
@@ -84656,16 +84804,18 @@ class SubnetType(enum.Enum):
|
|
|
84656
84804
|
|
|
84657
84805
|
# vpc: ec2.Vpc
|
|
84658
84806
|
|
|
84659
|
-
|
|
84660
|
-
|
|
84661
|
-
|
|
84807
|
+
|
|
84808
|
+
cluster = docdb.DatabaseCluster(self, "Database",
|
|
84809
|
+
master_user=docdb.Login(
|
|
84810
|
+
username="myuser"
|
|
84662
84811
|
),
|
|
84663
|
-
|
|
84664
|
-
|
|
84665
|
-
|
|
84666
|
-
|
|
84667
|
-
|
|
84668
|
-
|
|
84812
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.MEMORY5, ec2.InstanceSize.LARGE),
|
|
84813
|
+
vpc_subnets=ec2.SubnetSelection(
|
|
84814
|
+
subnet_type=ec2.SubnetType.PUBLIC
|
|
84815
|
+
),
|
|
84816
|
+
vpc=vpc,
|
|
84817
|
+
removal_policy=RemovalPolicy.SNAPSHOT,
|
|
84818
|
+
instance_removal_policy=RemovalPolicy.RETAIN
|
|
84669
84819
|
)
|
|
84670
84820
|
'''
|
|
84671
84821
|
|
|
@@ -90380,6 +90530,7 @@ class DestinationOptions(S3DestinationOptions):
|
|
|
90380
90530
|
name_mapping={
|
|
90381
90531
|
"delete_on_termination": "deleteOnTermination",
|
|
90382
90532
|
"iops": "iops",
|
|
90533
|
+
"throughput": "throughput",
|
|
90383
90534
|
"volume_type": "volumeType",
|
|
90384
90535
|
"encrypted": "encrypted",
|
|
90385
90536
|
"kms_key": "kmsKey",
|
|
@@ -90391,6 +90542,7 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90391
90542
|
*,
|
|
90392
90543
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
90393
90544
|
iops: typing.Optional[jsii.Number] = None,
|
|
90545
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
90394
90546
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
90395
90547
|
encrypted: typing.Optional[builtins.bool] = None,
|
|
90396
90548
|
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
@@ -90399,6 +90551,7 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90399
90551
|
|
|
90400
90552
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
90401
90553
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
90554
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
90402
90555
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
90403
90556
|
:param encrypted: Specifies whether the EBS volume is encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption Default: false
|
|
90404
90557
|
:param kms_key: The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. You have to ensure that the KMS CMK has the correct permissions to be used by the service launching the ec2 instances. Default: - If encrypted is true, the default aws/ebs KMS key will be used.
|
|
@@ -90407,15 +90560,11 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90407
90560
|
|
|
90408
90561
|
Example::
|
|
90409
90562
|
|
|
90410
|
-
from aws_cdk.aws_kms import Key
|
|
90411
|
-
|
|
90412
90563
|
# vpc: ec2.Vpc
|
|
90413
90564
|
# instance_type: ec2.InstanceType
|
|
90414
90565
|
# machine_image: ec2.IMachineImage
|
|
90415
90566
|
|
|
90416
90567
|
|
|
90417
|
-
kms_key = Key(self, "KmsKey")
|
|
90418
|
-
|
|
90419
90568
|
ec2.Instance(self, "Instance",
|
|
90420
90569
|
vpc=vpc,
|
|
90421
90570
|
instance_type=instance_type,
|
|
@@ -90425,9 +90574,9 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90425
90574
|
|
|
90426
90575
|
block_devices=[ec2.BlockDevice(
|
|
90427
90576
|
device_name="/dev/sda1",
|
|
90428
|
-
volume=ec2.BlockDeviceVolume.ebs(
|
|
90429
|
-
|
|
90430
|
-
|
|
90577
|
+
volume=ec2.BlockDeviceVolume.ebs(100,
|
|
90578
|
+
volume_type=ec2.EbsDeviceVolumeType.GP3,
|
|
90579
|
+
throughput=250
|
|
90431
90580
|
)
|
|
90432
90581
|
)
|
|
90433
90582
|
]
|
|
@@ -90437,6 +90586,7 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90437
90586
|
type_hints = typing.get_type_hints(_typecheckingstub__9009756b359157c5d2b270f95428640becaa73def15e04ee91f0eceba0702608)
|
|
90438
90587
|
check_type(argname="argument delete_on_termination", value=delete_on_termination, expected_type=type_hints["delete_on_termination"])
|
|
90439
90588
|
check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
|
|
90589
|
+
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
90440
90590
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
90441
90591
|
check_type(argname="argument encrypted", value=encrypted, expected_type=type_hints["encrypted"])
|
|
90442
90592
|
check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
|
|
@@ -90445,6 +90595,8 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90445
90595
|
self._values["delete_on_termination"] = delete_on_termination
|
|
90446
90596
|
if iops is not None:
|
|
90447
90597
|
self._values["iops"] = iops
|
|
90598
|
+
if throughput is not None:
|
|
90599
|
+
self._values["throughput"] = throughput
|
|
90448
90600
|
if volume_type is not None:
|
|
90449
90601
|
self._values["volume_type"] = volume_type
|
|
90450
90602
|
if encrypted is not None:
|
|
@@ -90477,6 +90629,22 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90477
90629
|
result = self._values.get("iops")
|
|
90478
90630
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
90479
90631
|
|
|
90632
|
+
@builtins.property
|
|
90633
|
+
def throughput(self) -> typing.Optional[jsii.Number]:
|
|
90634
|
+
'''The throughput to provision for a ``gp3`` volume.
|
|
90635
|
+
|
|
90636
|
+
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
90637
|
+
|
|
90638
|
+
``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s.
|
|
90639
|
+
You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS.
|
|
90640
|
+
|
|
90641
|
+
:default: - 125 MiB/s.
|
|
90642
|
+
|
|
90643
|
+
:see: https://docs.aws.amazon.com/ebs/latest/userguide/general-purpose.html#gp3-performance
|
|
90644
|
+
'''
|
|
90645
|
+
result = self._values.get("throughput")
|
|
90646
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
90647
|
+
|
|
90480
90648
|
@builtins.property
|
|
90481
90649
|
def volume_type(self) -> typing.Optional[EbsDeviceVolumeType]:
|
|
90482
90650
|
'''The EBS volume type.
|
|
@@ -90535,6 +90703,7 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
90535
90703
|
name_mapping={
|
|
90536
90704
|
"delete_on_termination": "deleteOnTermination",
|
|
90537
90705
|
"iops": "iops",
|
|
90706
|
+
"throughput": "throughput",
|
|
90538
90707
|
"volume_type": "volumeType",
|
|
90539
90708
|
"volume_size": "volumeSize",
|
|
90540
90709
|
"encrypted": "encrypted",
|
|
@@ -90548,6 +90717,7 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90548
90717
|
*,
|
|
90549
90718
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
90550
90719
|
iops: typing.Optional[jsii.Number] = None,
|
|
90720
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
90551
90721
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
90552
90722
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
90553
90723
|
encrypted: typing.Optional[builtins.bool] = None,
|
|
@@ -90558,6 +90728,7 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90558
90728
|
|
|
90559
90729
|
:param delete_on_termination: Indicates whether to delete the volume when the instance is terminated. Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
|
|
90560
90730
|
:param iops: The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
|
|
90731
|
+
:param throughput: The throughput to provision for a ``gp3`` volume. Valid Range: Minimum value of 125. Maximum value of 1000. ``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Default: - 125 MiB/s.
|
|
90561
90732
|
:param volume_type: The EBS volume type. Default: ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD`` or ``EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`` if ``@aws-cdk/aws-ec2:ebsDefaultGp3Volume`` is enabled.
|
|
90562
90733
|
:param volume_size: The volume size, in Gibibytes (GiB). If you specify volumeSize, it must be equal or greater than the size of the snapshot. Default: - The snapshot size
|
|
90563
90734
|
:param encrypted: Specifies whether the EBS volume is encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption Default: false
|
|
@@ -90581,6 +90752,7 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90581
90752
|
iops=123,
|
|
90582
90753
|
kms_key=key,
|
|
90583
90754
|
snapshot_id="snapshotId",
|
|
90755
|
+
throughput=123,
|
|
90584
90756
|
volume_size=123,
|
|
90585
90757
|
volume_type=ec2.EbsDeviceVolumeType.STANDARD
|
|
90586
90758
|
)
|
|
@@ -90589,6 +90761,7 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90589
90761
|
type_hints = typing.get_type_hints(_typecheckingstub__9a0ea3e2bab0709f4d926738afbd8d5ecbd17847b51fb29600f577de41f87b90)
|
|
90590
90762
|
check_type(argname="argument delete_on_termination", value=delete_on_termination, expected_type=type_hints["delete_on_termination"])
|
|
90591
90763
|
check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
|
|
90764
|
+
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
90592
90765
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
90593
90766
|
check_type(argname="argument volume_size", value=volume_size, expected_type=type_hints["volume_size"])
|
|
90594
90767
|
check_type(argname="argument encrypted", value=encrypted, expected_type=type_hints["encrypted"])
|
|
@@ -90599,6 +90772,8 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90599
90772
|
self._values["delete_on_termination"] = delete_on_termination
|
|
90600
90773
|
if iops is not None:
|
|
90601
90774
|
self._values["iops"] = iops
|
|
90775
|
+
if throughput is not None:
|
|
90776
|
+
self._values["throughput"] = throughput
|
|
90602
90777
|
if volume_type is not None:
|
|
90603
90778
|
self._values["volume_type"] = volume_type
|
|
90604
90779
|
if volume_size is not None:
|
|
@@ -90635,6 +90810,22 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions, EbsDeviceOptions):
|
|
|
90635
90810
|
result = self._values.get("iops")
|
|
90636
90811
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
90637
90812
|
|
|
90813
|
+
@builtins.property
|
|
90814
|
+
def throughput(self) -> typing.Optional[jsii.Number]:
|
|
90815
|
+
'''The throughput to provision for a ``gp3`` volume.
|
|
90816
|
+
|
|
90817
|
+
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
90818
|
+
|
|
90819
|
+
``gp3`` volumes deliver a consistent baseline throughput performance of 125 MiB/s.
|
|
90820
|
+
You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS.
|
|
90821
|
+
|
|
90822
|
+
:default: - 125 MiB/s.
|
|
90823
|
+
|
|
90824
|
+
:see: https://docs.aws.amazon.com/ebs/latest/userguide/general-purpose.html#gp3-performance
|
|
90825
|
+
'''
|
|
90826
|
+
result = self._values.get("throughput")
|
|
90827
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
90828
|
+
|
|
90638
90829
|
@builtins.property
|
|
90639
90830
|
def volume_type(self) -> typing.Optional[EbsDeviceVolumeType]:
|
|
90640
90831
|
'''The EBS volume type.
|
|
@@ -95134,6 +95325,7 @@ def _typecheckingstub__e34634be08d573bd7d4eca032a2a66e619c889f2b51e62608777ae0db
|
|
|
95134
95325
|
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
95135
95326
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
95136
95327
|
iops: typing.Optional[jsii.Number] = None,
|
|
95328
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
95137
95329
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
95138
95330
|
) -> None:
|
|
95139
95331
|
"""Type checking stubs"""
|
|
@@ -95145,6 +95337,7 @@ def _typecheckingstub__ce9e60bc1da1c6f1d133c0cfaad0c5984d2f7a428c12f02640d8f31c6
|
|
|
95145
95337
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
95146
95338
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
95147
95339
|
iops: typing.Optional[jsii.Number] = None,
|
|
95340
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
95148
95341
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
95149
95342
|
) -> None:
|
|
95150
95343
|
"""Type checking stubs"""
|
|
@@ -104066,6 +104259,7 @@ def _typecheckingstub__0d06a3c480f0a868f3c69b22935c359322b1d9337591dc27bb141d518
|
|
|
104066
104259
|
*,
|
|
104067
104260
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
104068
104261
|
iops: typing.Optional[jsii.Number] = None,
|
|
104262
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
104069
104263
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
104070
104264
|
) -> None:
|
|
104071
104265
|
"""Type checking stubs"""
|
|
@@ -104075,6 +104269,7 @@ def _typecheckingstub__4602c5be3c93ca5d255adf8aa3a652b8c7898310f96514ecd6fc09f7d
|
|
|
104075
104269
|
*,
|
|
104076
104270
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
104077
104271
|
iops: typing.Optional[jsii.Number] = None,
|
|
104272
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
104078
104273
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
104079
104274
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
104080
104275
|
) -> None:
|
|
@@ -104808,6 +105003,7 @@ def _typecheckingstub__5fdf31f5ae2497c7efcb56df558011698f38dc19cff28ca7a78a08a6d
|
|
|
104808
105003
|
init_options: typing.Optional[typing.Union[ApplyCloudFormationInitOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
104809
105004
|
instance_initiated_shutdown_behavior: typing.Optional[InstanceInitiatedShutdownBehavior] = None,
|
|
104810
105005
|
instance_name: typing.Optional[builtins.str] = None,
|
|
105006
|
+
ipv6_address_count: typing.Optional[jsii.Number] = None,
|
|
104811
105007
|
key_name: typing.Optional[builtins.str] = None,
|
|
104812
105008
|
key_pair: typing.Optional[IKeyPair] = None,
|
|
104813
105009
|
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
@@ -104877,6 +105073,7 @@ def _typecheckingstub__2d4dc63c6e6ee3ddc68d5dd204d8ac5ef1f1dec37a7b84d636225df1c
|
|
|
104877
105073
|
init_options: typing.Optional[typing.Union[ApplyCloudFormationInitOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
104878
105074
|
instance_initiated_shutdown_behavior: typing.Optional[InstanceInitiatedShutdownBehavior] = None,
|
|
104879
105075
|
instance_name: typing.Optional[builtins.str] = None,
|
|
105076
|
+
ipv6_address_count: typing.Optional[jsii.Number] = None,
|
|
104880
105077
|
key_name: typing.Optional[builtins.str] = None,
|
|
104881
105078
|
key_pair: typing.Optional[IKeyPair] = None,
|
|
104882
105079
|
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
@@ -106599,6 +106796,7 @@ def _typecheckingstub__9009756b359157c5d2b270f95428640becaa73def15e04ee91f0eceba
|
|
|
106599
106796
|
*,
|
|
106600
106797
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
106601
106798
|
iops: typing.Optional[jsii.Number] = None,
|
|
106799
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
106602
106800
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
106603
106801
|
encrypted: typing.Optional[builtins.bool] = None,
|
|
106604
106802
|
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
@@ -106610,6 +106808,7 @@ def _typecheckingstub__9a0ea3e2bab0709f4d926738afbd8d5ecbd17847b51fb29600f577de4
|
|
|
106610
106808
|
*,
|
|
106611
106809
|
delete_on_termination: typing.Optional[builtins.bool] = None,
|
|
106612
106810
|
iops: typing.Optional[jsii.Number] = None,
|
|
106811
|
+
throughput: typing.Optional[jsii.Number] = None,
|
|
106613
106812
|
volume_type: typing.Optional[EbsDeviceVolumeType] = None,
|
|
106614
106813
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
106615
106814
|
encrypted: typing.Optional[builtins.bool] = None,
|