aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +90 -1
- aws_cdk/aws_apigatewayv2/__init__.py +866 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
- aws_cdk/aws_appsync/__init__.py +31 -21
- aws_cdk/aws_autoscaling/__init__.py +2 -1
- aws_cdk/aws_bedrock/__init__.py +32 -26
- aws_cdk/aws_cloudfront/__init__.py +9 -3
- aws_cdk/aws_cloudwatch/__init__.py +756 -29
- aws_cdk/aws_codebuild/__init__.py +19 -0
- aws_cdk/aws_codepipeline/__init__.py +44 -7
- aws_cdk/aws_datasync/__init__.py +850 -833
- aws_cdk/aws_datazone/__init__.py +615 -2
- aws_cdk/aws_deadline/__init__.py +162 -4
- aws_cdk/aws_dsql/__init__.py +35 -1
- aws_cdk/aws_ec2/__init__.py +291 -7
- aws_cdk/aws_ecs/__init__.py +38 -19
- aws_cdk/aws_ecs_patterns/__init__.py +15 -9
- aws_cdk/aws_elasticache/__init__.py +5 -5
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
- aws_cdk/aws_gamelift/__init__.py +103 -17
- aws_cdk/aws_gameliftstreams/__init__.py +6 -6
- aws_cdk/aws_lex/__init__.py +1245 -172
- aws_cdk/aws_mediapackagev2/__init__.py +11 -10
- aws_cdk/aws_omics/__init__.py +939 -100
- aws_cdk/aws_pcs/__init__.py +126 -0
- aws_cdk/aws_rds/__init__.py +42 -15
- aws_cdk/aws_rolesanywhere/__init__.py +14 -13
- aws_cdk/aws_route53resolver/__init__.py +0 -41
- aws_cdk/aws_sagemaker/__init__.py +38 -12
- aws_cdk/aws_ses/__init__.py +192 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
- aws_cdk/aws_synthetics/__init__.py +137 -3
- aws_cdk/aws_wafv2/__init__.py +4 -4
- aws_cdk/aws_workspaces/__init__.py +41 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -16999,7 +16999,7 @@ class CfnHost(
|
|
|
16999
16999
|
:param instance_family: The instance family supported by the Dedicated Host. For example, ``m5`` .
|
|
17000
17000
|
:param instance_type: Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
|
|
17001
17001
|
:param outpost_arn: The Amazon Resource Name (ARN) of the AWS Outpost on which the Dedicated Host is allocated.
|
|
17002
|
-
:param tags: Any tags assigned to the Host.
|
|
17002
|
+
:param tags: Any tags assigned to the Dedicated Host.
|
|
17003
17003
|
'''
|
|
17004
17004
|
if __debug__:
|
|
17005
17005
|
type_hints = typing.get_type_hints(_typecheckingstub__e3a07acffdb551edbc817b7c424628c812f21356d7f697757a332323f6dcfde8)
|
|
@@ -17176,7 +17176,7 @@ class CfnHost(
|
|
|
17176
17176
|
@builtins.property
|
|
17177
17177
|
@jsii.member(jsii_name="tags")
|
|
17178
17178
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
17179
|
-
'''Any tags assigned to the Host.'''
|
|
17179
|
+
'''Any tags assigned to the Dedicated Host.'''
|
|
17180
17180
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
17181
17181
|
|
|
17182
17182
|
@tags.setter
|
|
@@ -17226,7 +17226,7 @@ class CfnHostProps:
|
|
|
17226
17226
|
:param instance_family: The instance family supported by the Dedicated Host. For example, ``m5`` .
|
|
17227
17227
|
:param instance_type: Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
|
|
17228
17228
|
:param outpost_arn: The Amazon Resource Name (ARN) of the AWS Outpost on which the Dedicated Host is allocated.
|
|
17229
|
-
:param tags: Any tags assigned to the Host.
|
|
17229
|
+
:param tags: Any tags assigned to the Dedicated Host.
|
|
17230
17230
|
|
|
17231
17231
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html
|
|
17232
17232
|
:exampleMetadata: fixture=_generated
|
|
@@ -17372,7 +17372,7 @@ class CfnHostProps:
|
|
|
17372
17372
|
|
|
17373
17373
|
@builtins.property
|
|
17374
17374
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
17375
|
-
'''Any tags assigned to the Host.
|
|
17375
|
+
'''Any tags assigned to the Dedicated Host.
|
|
17376
17376
|
|
|
17377
17377
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-tags
|
|
17378
17378
|
'''
|
|
@@ -17419,6 +17419,7 @@ class CfnIPAM(
|
|
|
17419
17419
|
)],
|
|
17420
17420
|
description="description",
|
|
17421
17421
|
enable_private_gua=False,
|
|
17422
|
+
metered_account="meteredAccount",
|
|
17422
17423
|
operating_regions=[ec2.CfnIPAM.IpamOperatingRegionProperty(
|
|
17423
17424
|
region_name="regionName"
|
|
17424
17425
|
)],
|
|
@@ -17438,6 +17439,7 @@ class CfnIPAM(
|
|
|
17438
17439
|
default_resource_discovery_organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIPAM.IpamOrganizationalUnitExclusionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
17439
17440
|
description: typing.Optional[builtins.str] = None,
|
|
17440
17441
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
17442
|
+
metered_account: typing.Optional[builtins.str] = None,
|
|
17441
17443
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIPAM.IpamOperatingRegionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
17442
17444
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17443
17445
|
tier: typing.Optional[builtins.str] = None,
|
|
@@ -17448,6 +17450,7 @@ class CfnIPAM(
|
|
|
17448
17450
|
:param default_resource_discovery_organizational_unit_exclusions: If your IPAM is integrated with AWS Organizations, you can exclude an `organizational unit (OU) <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#organizationalunit>`_ from being managed by IPAM. When you exclude an OU, IPAM will not manage the IP addresses in accounts in that OU. For more information, see `Exclude organizational units from IPAM <https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html>`_ in the *Amazon Virtual Private Cloud IP Address Manager User Guide* .
|
|
17449
17451
|
:param description: The description for the IPAM.
|
|
17450
17452
|
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
17453
|
+
:param metered_account: A metered account is an account that is charged for active IP addresses managed in IPAM.
|
|
17451
17454
|
: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* .
|
|
17452
17455
|
: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.
|
|
17453
17456
|
: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/>`_ .
|
|
@@ -17460,6 +17463,7 @@ class CfnIPAM(
|
|
|
17460
17463
|
default_resource_discovery_organizational_unit_exclusions=default_resource_discovery_organizational_unit_exclusions,
|
|
17461
17464
|
description=description,
|
|
17462
17465
|
enable_private_gua=enable_private_gua,
|
|
17466
|
+
metered_account=metered_account,
|
|
17463
17467
|
operating_regions=operating_regions,
|
|
17464
17468
|
tags=tags,
|
|
17465
17469
|
tier=tier,
|
|
@@ -17629,6 +17633,19 @@ class CfnIPAM(
|
|
|
17629
17633
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17630
17634
|
jsii.set(self, "enablePrivateGua", value) # pyright: ignore[reportArgumentType]
|
|
17631
17635
|
|
|
17636
|
+
@builtins.property
|
|
17637
|
+
@jsii.member(jsii_name="meteredAccount")
|
|
17638
|
+
def metered_account(self) -> typing.Optional[builtins.str]:
|
|
17639
|
+
'''A metered account is an account that is charged for active IP addresses managed in IPAM.'''
|
|
17640
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "meteredAccount"))
|
|
17641
|
+
|
|
17642
|
+
@metered_account.setter
|
|
17643
|
+
def metered_account(self, value: typing.Optional[builtins.str]) -> None:
|
|
17644
|
+
if __debug__:
|
|
17645
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b7c475d5b75fcafe38c1fbc14c605291329e484c6645ef305655b392e315268a)
|
|
17646
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17647
|
+
jsii.set(self, "meteredAccount", value) # pyright: ignore[reportArgumentType]
|
|
17648
|
+
|
|
17632
17649
|
@builtins.property
|
|
17633
17650
|
@jsii.member(jsii_name="operatingRegions")
|
|
17634
17651
|
def operating_regions(
|
|
@@ -19313,6 +19330,7 @@ class CfnIPAMPoolProps:
|
|
|
19313
19330
|
"default_resource_discovery_organizational_unit_exclusions": "defaultResourceDiscoveryOrganizationalUnitExclusions",
|
|
19314
19331
|
"description": "description",
|
|
19315
19332
|
"enable_private_gua": "enablePrivateGua",
|
|
19333
|
+
"metered_account": "meteredAccount",
|
|
19316
19334
|
"operating_regions": "operatingRegions",
|
|
19317
19335
|
"tags": "tags",
|
|
19318
19336
|
"tier": "tier",
|
|
@@ -19325,6 +19343,7 @@ class CfnIPAMProps:
|
|
|
19325
19343
|
default_resource_discovery_organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19326
19344
|
description: typing.Optional[builtins.str] = None,
|
|
19327
19345
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
19346
|
+
metered_account: typing.Optional[builtins.str] = None,
|
|
19328
19347
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19329
19348
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19330
19349
|
tier: typing.Optional[builtins.str] = None,
|
|
@@ -19334,6 +19353,7 @@ class CfnIPAMProps:
|
|
|
19334
19353
|
:param default_resource_discovery_organizational_unit_exclusions: If your IPAM is integrated with AWS Organizations, you can exclude an `organizational unit (OU) <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#organizationalunit>`_ from being managed by IPAM. When you exclude an OU, IPAM will not manage the IP addresses in accounts in that OU. For more information, see `Exclude organizational units from IPAM <https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html>`_ in the *Amazon Virtual Private Cloud IP Address Manager User Guide* .
|
|
19335
19354
|
:param description: The description for the IPAM.
|
|
19336
19355
|
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
19356
|
+
:param metered_account: A metered account is an account that is charged for active IP addresses managed in IPAM.
|
|
19337
19357
|
: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* .
|
|
19338
19358
|
: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.
|
|
19339
19359
|
: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/>`_ .
|
|
@@ -19353,6 +19373,7 @@ class CfnIPAMProps:
|
|
|
19353
19373
|
)],
|
|
19354
19374
|
description="description",
|
|
19355
19375
|
enable_private_gua=False,
|
|
19376
|
+
metered_account="meteredAccount",
|
|
19356
19377
|
operating_regions=[ec2.CfnIPAM.IpamOperatingRegionProperty(
|
|
19357
19378
|
region_name="regionName"
|
|
19358
19379
|
)],
|
|
@@ -19368,6 +19389,7 @@ class CfnIPAMProps:
|
|
|
19368
19389
|
check_type(argname="argument default_resource_discovery_organizational_unit_exclusions", value=default_resource_discovery_organizational_unit_exclusions, expected_type=type_hints["default_resource_discovery_organizational_unit_exclusions"])
|
|
19369
19390
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
19370
19391
|
check_type(argname="argument enable_private_gua", value=enable_private_gua, expected_type=type_hints["enable_private_gua"])
|
|
19392
|
+
check_type(argname="argument metered_account", value=metered_account, expected_type=type_hints["metered_account"])
|
|
19371
19393
|
check_type(argname="argument operating_regions", value=operating_regions, expected_type=type_hints["operating_regions"])
|
|
19372
19394
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
19373
19395
|
check_type(argname="argument tier", value=tier, expected_type=type_hints["tier"])
|
|
@@ -19378,6 +19400,8 @@ class CfnIPAMProps:
|
|
|
19378
19400
|
self._values["description"] = description
|
|
19379
19401
|
if enable_private_gua is not None:
|
|
19380
19402
|
self._values["enable_private_gua"] = enable_private_gua
|
|
19403
|
+
if metered_account is not None:
|
|
19404
|
+
self._values["metered_account"] = metered_account
|
|
19381
19405
|
if operating_regions is not None:
|
|
19382
19406
|
self._values["operating_regions"] = operating_regions
|
|
19383
19407
|
if tags is not None:
|
|
@@ -19418,6 +19442,15 @@ class CfnIPAMProps:
|
|
|
19418
19442
|
result = self._values.get("enable_private_gua")
|
|
19419
19443
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
19420
19444
|
|
|
19445
|
+
@builtins.property
|
|
19446
|
+
def metered_account(self) -> typing.Optional[builtins.str]:
|
|
19447
|
+
'''A metered account is an account that is charged for active IP addresses managed in IPAM.
|
|
19448
|
+
|
|
19449
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-meteredaccount
|
|
19450
|
+
'''
|
|
19451
|
+
result = self._values.get("metered_account")
|
|
19452
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
19453
|
+
|
|
19421
19454
|
@builtins.property
|
|
19422
19455
|
def operating_regions(
|
|
19423
19456
|
self,
|
|
@@ -20634,6 +20667,13 @@ class CfnInstance(
|
|
|
20634
20667
|
license_specifications=[ec2.CfnInstance.LicenseSpecificationProperty(
|
|
20635
20668
|
license_configuration_arn="licenseConfigurationArn"
|
|
20636
20669
|
)],
|
|
20670
|
+
metadata_options=ec2.CfnInstance.MetadataOptionsProperty(
|
|
20671
|
+
http_endpoint="httpEndpoint",
|
|
20672
|
+
http_protocol_ipv6="httpProtocolIpv6",
|
|
20673
|
+
http_put_response_hop_limit=123,
|
|
20674
|
+
http_tokens="httpTokens",
|
|
20675
|
+
instance_metadata_tags="instanceMetadataTags"
|
|
20676
|
+
),
|
|
20637
20677
|
monitoring=False,
|
|
20638
20678
|
network_interfaces=[ec2.CfnInstance.NetworkInterfaceProperty(
|
|
20639
20679
|
device_index="deviceIndex",
|
|
@@ -20727,6 +20767,7 @@ class CfnInstance(
|
|
|
20727
20767
|
key_name: typing.Optional[builtins.str] = None,
|
|
20728
20768
|
launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstance.LaunchTemplateSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20729
20769
|
license_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstance.LicenseSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
20770
|
+
metadata_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstance.MetadataOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20730
20771
|
monitoring: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
20731
20772
|
network_interfaces: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstance.NetworkInterfaceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
20732
20773
|
placement_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -20771,6 +20812,7 @@ class CfnInstance(
|
|
|
20771
20812
|
:param key_name: The name of the key pair. You can create a key pair using `CreateKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html>`_ or `ImportKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
|
|
20772
20813
|
:param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
|
|
20773
20814
|
:param license_specifications: The license configurations.
|
|
20815
|
+
:param metadata_options:
|
|
20774
20816
|
:param monitoring: Specifies whether detailed monitoring is enabled for the instance. Specify ``true`` to enable detailed monitoring. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see `Enable or turn off detailed monitoring for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html>`_ in the *Amazon EC2 User Guide* .
|
|
20775
20817
|
:param network_interfaces: The network interfaces to associate with the instance. .. epigraph:: If you use this property to point to a network interface, you must terminate the original interface before attaching a new one to allow the update of the instance to succeed. If this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the VPC-gateway attachment.
|
|
20776
20818
|
:param placement_group_name: The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
|
|
@@ -20817,6 +20859,7 @@ class CfnInstance(
|
|
|
20817
20859
|
key_name=key_name,
|
|
20818
20860
|
launch_template=launch_template,
|
|
20819
20861
|
license_specifications=license_specifications,
|
|
20862
|
+
metadata_options=metadata_options,
|
|
20820
20863
|
monitoring=monitoring,
|
|
20821
20864
|
network_interfaces=network_interfaces,
|
|
20822
20865
|
placement_group_name=placement_group_name,
|
|
@@ -21338,6 +21381,23 @@ class CfnInstance(
|
|
|
21338
21381
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
21339
21382
|
jsii.set(self, "licenseSpecifications", value) # pyright: ignore[reportArgumentType]
|
|
21340
21383
|
|
|
21384
|
+
@builtins.property
|
|
21385
|
+
@jsii.member(jsii_name="metadataOptions")
|
|
21386
|
+
def metadata_options(
|
|
21387
|
+
self,
|
|
21388
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstance.MetadataOptionsProperty"]]:
|
|
21389
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstance.MetadataOptionsProperty"]], jsii.get(self, "metadataOptions"))
|
|
21390
|
+
|
|
21391
|
+
@metadata_options.setter
|
|
21392
|
+
def metadata_options(
|
|
21393
|
+
self,
|
|
21394
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstance.MetadataOptionsProperty"]],
|
|
21395
|
+
) -> None:
|
|
21396
|
+
if __debug__:
|
|
21397
|
+
type_hints = typing.get_type_hints(_typecheckingstub__829ee1a8f150cbfae9cd18b9c33d41b2e8f61b6ded5a58aa4c446baedaa0b5fc)
|
|
21398
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
21399
|
+
jsii.set(self, "metadataOptions", value) # pyright: ignore[reportArgumentType]
|
|
21400
|
+
|
|
21341
21401
|
@builtins.property
|
|
21342
21402
|
@jsii.member(jsii_name="monitoring")
|
|
21343
21403
|
def monitoring(
|
|
@@ -22798,6 +22858,134 @@ class CfnInstance(
|
|
|
22798
22858
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
22799
22859
|
)
|
|
22800
22860
|
|
|
22861
|
+
@jsii.data_type(
|
|
22862
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnInstance.MetadataOptionsProperty",
|
|
22863
|
+
jsii_struct_bases=[],
|
|
22864
|
+
name_mapping={
|
|
22865
|
+
"http_endpoint": "httpEndpoint",
|
|
22866
|
+
"http_protocol_ipv6": "httpProtocolIpv6",
|
|
22867
|
+
"http_put_response_hop_limit": "httpPutResponseHopLimit",
|
|
22868
|
+
"http_tokens": "httpTokens",
|
|
22869
|
+
"instance_metadata_tags": "instanceMetadataTags",
|
|
22870
|
+
},
|
|
22871
|
+
)
|
|
22872
|
+
class MetadataOptionsProperty:
|
|
22873
|
+
def __init__(
|
|
22874
|
+
self,
|
|
22875
|
+
*,
|
|
22876
|
+
http_endpoint: typing.Optional[builtins.str] = None,
|
|
22877
|
+
http_protocol_ipv6: typing.Optional[builtins.str] = None,
|
|
22878
|
+
http_put_response_hop_limit: typing.Optional[jsii.Number] = None,
|
|
22879
|
+
http_tokens: typing.Optional[builtins.str] = None,
|
|
22880
|
+
instance_metadata_tags: typing.Optional[builtins.str] = None,
|
|
22881
|
+
) -> None:
|
|
22882
|
+
'''
|
|
22883
|
+
:param http_endpoint: Enables or disables the HTTP metadata endpoint on your instances. If you specify a value of disabled, you cannot access your instance metadata.
|
|
22884
|
+
:param http_protocol_ipv6: Enables or disables the IPv6 endpoint for the instance metadata service. To use this option, the instance must be a Nitro-based instance launched in a subnet that supports IPv6.
|
|
22885
|
+
:param http_put_response_hop_limit: The number of network hops that the metadata token can travel. Maximum is 64. Default: - 1
|
|
22886
|
+
:param http_tokens: Indicates whether IMDSv2 is required.
|
|
22887
|
+
:param instance_metadata_tags: Indicates whether tags from the instance are propagated to the EBS volumes.
|
|
22888
|
+
|
|
22889
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html
|
|
22890
|
+
:exampleMetadata: fixture=_generated
|
|
22891
|
+
|
|
22892
|
+
Example::
|
|
22893
|
+
|
|
22894
|
+
# The code below shows an example of how to instantiate this type.
|
|
22895
|
+
# The values are placeholders you should change.
|
|
22896
|
+
from aws_cdk import aws_ec2 as ec2
|
|
22897
|
+
|
|
22898
|
+
metadata_options_property = ec2.CfnInstance.MetadataOptionsProperty(
|
|
22899
|
+
http_endpoint="httpEndpoint",
|
|
22900
|
+
http_protocol_ipv6="httpProtocolIpv6",
|
|
22901
|
+
http_put_response_hop_limit=123,
|
|
22902
|
+
http_tokens="httpTokens",
|
|
22903
|
+
instance_metadata_tags="instanceMetadataTags"
|
|
22904
|
+
)
|
|
22905
|
+
'''
|
|
22906
|
+
if __debug__:
|
|
22907
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dd62c780267fd82323185183a14d7164b77b99b5493e4e4f98f5cd11a52c16a3)
|
|
22908
|
+
check_type(argname="argument http_endpoint", value=http_endpoint, expected_type=type_hints["http_endpoint"])
|
|
22909
|
+
check_type(argname="argument http_protocol_ipv6", value=http_protocol_ipv6, expected_type=type_hints["http_protocol_ipv6"])
|
|
22910
|
+
check_type(argname="argument http_put_response_hop_limit", value=http_put_response_hop_limit, expected_type=type_hints["http_put_response_hop_limit"])
|
|
22911
|
+
check_type(argname="argument http_tokens", value=http_tokens, expected_type=type_hints["http_tokens"])
|
|
22912
|
+
check_type(argname="argument instance_metadata_tags", value=instance_metadata_tags, expected_type=type_hints["instance_metadata_tags"])
|
|
22913
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
22914
|
+
if http_endpoint is not None:
|
|
22915
|
+
self._values["http_endpoint"] = http_endpoint
|
|
22916
|
+
if http_protocol_ipv6 is not None:
|
|
22917
|
+
self._values["http_protocol_ipv6"] = http_protocol_ipv6
|
|
22918
|
+
if http_put_response_hop_limit is not None:
|
|
22919
|
+
self._values["http_put_response_hop_limit"] = http_put_response_hop_limit
|
|
22920
|
+
if http_tokens is not None:
|
|
22921
|
+
self._values["http_tokens"] = http_tokens
|
|
22922
|
+
if instance_metadata_tags is not None:
|
|
22923
|
+
self._values["instance_metadata_tags"] = instance_metadata_tags
|
|
22924
|
+
|
|
22925
|
+
@builtins.property
|
|
22926
|
+
def http_endpoint(self) -> typing.Optional[builtins.str]:
|
|
22927
|
+
'''Enables or disables the HTTP metadata endpoint on your instances.
|
|
22928
|
+
|
|
22929
|
+
If you specify a value of disabled, you cannot access your instance metadata.
|
|
22930
|
+
|
|
22931
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httpendpoint
|
|
22932
|
+
'''
|
|
22933
|
+
result = self._values.get("http_endpoint")
|
|
22934
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
22935
|
+
|
|
22936
|
+
@builtins.property
|
|
22937
|
+
def http_protocol_ipv6(self) -> typing.Optional[builtins.str]:
|
|
22938
|
+
'''Enables or disables the IPv6 endpoint for the instance metadata service.
|
|
22939
|
+
|
|
22940
|
+
To use this option, the instance must be a Nitro-based instance launched in a subnet that supports IPv6.
|
|
22941
|
+
|
|
22942
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httpprotocolipv6
|
|
22943
|
+
'''
|
|
22944
|
+
result = self._values.get("http_protocol_ipv6")
|
|
22945
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
22946
|
+
|
|
22947
|
+
@builtins.property
|
|
22948
|
+
def http_put_response_hop_limit(self) -> typing.Optional[jsii.Number]:
|
|
22949
|
+
'''The number of network hops that the metadata token can travel.
|
|
22950
|
+
|
|
22951
|
+
Maximum is 64.
|
|
22952
|
+
|
|
22953
|
+
:default: - 1
|
|
22954
|
+
|
|
22955
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httpputresponsehoplimit
|
|
22956
|
+
'''
|
|
22957
|
+
result = self._values.get("http_put_response_hop_limit")
|
|
22958
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
22959
|
+
|
|
22960
|
+
@builtins.property
|
|
22961
|
+
def http_tokens(self) -> typing.Optional[builtins.str]:
|
|
22962
|
+
'''Indicates whether IMDSv2 is required.
|
|
22963
|
+
|
|
22964
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httptokens
|
|
22965
|
+
'''
|
|
22966
|
+
result = self._values.get("http_tokens")
|
|
22967
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
22968
|
+
|
|
22969
|
+
@builtins.property
|
|
22970
|
+
def instance_metadata_tags(self) -> typing.Optional[builtins.str]:
|
|
22971
|
+
'''Indicates whether tags from the instance are propagated to the EBS volumes.
|
|
22972
|
+
|
|
22973
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-instancemetadatatags
|
|
22974
|
+
'''
|
|
22975
|
+
result = self._values.get("instance_metadata_tags")
|
|
22976
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
22977
|
+
|
|
22978
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
22979
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
22980
|
+
|
|
22981
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
22982
|
+
return not (rhs == self)
|
|
22983
|
+
|
|
22984
|
+
def __repr__(self) -> str:
|
|
22985
|
+
return "MetadataOptionsProperty(%s)" % ", ".join(
|
|
22986
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
22987
|
+
)
|
|
22988
|
+
|
|
22801
22989
|
@jsii.data_type(
|
|
22802
22990
|
jsii_type="aws-cdk-lib.aws_ec2.CfnInstance.NetworkInterfaceProperty",
|
|
22803
22991
|
jsii_struct_bases=[],
|
|
@@ -23925,6 +24113,7 @@ class CfnInstanceConnectEndpointProps:
|
|
|
23925
24113
|
"key_name": "keyName",
|
|
23926
24114
|
"launch_template": "launchTemplate",
|
|
23927
24115
|
"license_specifications": "licenseSpecifications",
|
|
24116
|
+
"metadata_options": "metadataOptions",
|
|
23928
24117
|
"monitoring": "monitoring",
|
|
23929
24118
|
"network_interfaces": "networkInterfaces",
|
|
23930
24119
|
"placement_group_name": "placementGroupName",
|
|
@@ -23971,6 +24160,7 @@ class CfnInstanceProps:
|
|
|
23971
24160
|
key_name: typing.Optional[builtins.str] = None,
|
|
23972
24161
|
launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23973
24162
|
license_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LicenseSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
24163
|
+
metadata_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.MetadataOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23974
24164
|
monitoring: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
23975
24165
|
network_interfaces: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.NetworkInterfaceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
23976
24166
|
placement_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -24014,6 +24204,7 @@ class CfnInstanceProps:
|
|
|
24014
24204
|
:param key_name: The name of the key pair. You can create a key pair using `CreateKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html>`_ or `ImportKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
|
|
24015
24205
|
:param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
|
|
24016
24206
|
:param license_specifications: The license configurations.
|
|
24207
|
+
:param metadata_options:
|
|
24017
24208
|
:param monitoring: Specifies whether detailed monitoring is enabled for the instance. Specify ``true`` to enable detailed monitoring. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see `Enable or turn off detailed monitoring for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html>`_ in the *Amazon EC2 User Guide* .
|
|
24018
24209
|
:param network_interfaces: The network interfaces to associate with the instance. .. epigraph:: If you use this property to point to a network interface, you must terminate the original interface before attaching a new one to allow the update of the instance to succeed. If this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the VPC-gateway attachment.
|
|
24019
24210
|
:param placement_group_name: The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
|
|
@@ -24106,6 +24297,13 @@ class CfnInstanceProps:
|
|
|
24106
24297
|
license_specifications=[ec2.CfnInstance.LicenseSpecificationProperty(
|
|
24107
24298
|
license_configuration_arn="licenseConfigurationArn"
|
|
24108
24299
|
)],
|
|
24300
|
+
metadata_options=ec2.CfnInstance.MetadataOptionsProperty(
|
|
24301
|
+
http_endpoint="httpEndpoint",
|
|
24302
|
+
http_protocol_ipv6="httpProtocolIpv6",
|
|
24303
|
+
http_put_response_hop_limit=123,
|
|
24304
|
+
http_tokens="httpTokens",
|
|
24305
|
+
instance_metadata_tags="instanceMetadataTags"
|
|
24306
|
+
),
|
|
24109
24307
|
monitoring=False,
|
|
24110
24308
|
network_interfaces=[ec2.CfnInstance.NetworkInterfaceProperty(
|
|
24111
24309
|
device_index="deviceIndex",
|
|
@@ -24195,6 +24393,7 @@ class CfnInstanceProps:
|
|
|
24195
24393
|
check_type(argname="argument key_name", value=key_name, expected_type=type_hints["key_name"])
|
|
24196
24394
|
check_type(argname="argument launch_template", value=launch_template, expected_type=type_hints["launch_template"])
|
|
24197
24395
|
check_type(argname="argument license_specifications", value=license_specifications, expected_type=type_hints["license_specifications"])
|
|
24396
|
+
check_type(argname="argument metadata_options", value=metadata_options, expected_type=type_hints["metadata_options"])
|
|
24198
24397
|
check_type(argname="argument monitoring", value=monitoring, expected_type=type_hints["monitoring"])
|
|
24199
24398
|
check_type(argname="argument network_interfaces", value=network_interfaces, expected_type=type_hints["network_interfaces"])
|
|
24200
24399
|
check_type(argname="argument placement_group_name", value=placement_group_name, expected_type=type_hints["placement_group_name"])
|
|
@@ -24260,6 +24459,8 @@ class CfnInstanceProps:
|
|
|
24260
24459
|
self._values["launch_template"] = launch_template
|
|
24261
24460
|
if license_specifications is not None:
|
|
24262
24461
|
self._values["license_specifications"] = license_specifications
|
|
24462
|
+
if metadata_options is not None:
|
|
24463
|
+
self._values["metadata_options"] = metadata_options
|
|
24263
24464
|
if monitoring is not None:
|
|
24264
24465
|
self._values["monitoring"] = monitoring
|
|
24265
24466
|
if network_interfaces is not None:
|
|
@@ -24602,6 +24803,16 @@ class CfnInstanceProps:
|
|
|
24602
24803
|
result = self._values.get("license_specifications")
|
|
24603
24804
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnInstance.LicenseSpecificationProperty]]]], result)
|
|
24604
24805
|
|
|
24806
|
+
@builtins.property
|
|
24807
|
+
def metadata_options(
|
|
24808
|
+
self,
|
|
24809
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInstance.MetadataOptionsProperty]]:
|
|
24810
|
+
'''
|
|
24811
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-metadataoptions
|
|
24812
|
+
'''
|
|
24813
|
+
result = self._values.get("metadata_options")
|
|
24814
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInstance.MetadataOptionsProperty]], result)
|
|
24815
|
+
|
|
24605
24816
|
@builtins.property
|
|
24606
24817
|
def monitoring(
|
|
24607
24818
|
self,
|
|
@@ -25887,6 +26098,7 @@ class CfnLaunchTemplate(
|
|
|
25887
26098
|
kms_key_id="kmsKeyId",
|
|
25888
26099
|
snapshot_id="snapshotId",
|
|
25889
26100
|
throughput=123,
|
|
26101
|
+
volume_initialization_rate=123,
|
|
25890
26102
|
volume_size=123,
|
|
25891
26103
|
volume_type="volumeType"
|
|
25892
26104
|
),
|
|
@@ -26446,6 +26658,7 @@ class CfnLaunchTemplate(
|
|
|
26446
26658
|
"kms_key_id": "kmsKeyId",
|
|
26447
26659
|
"snapshot_id": "snapshotId",
|
|
26448
26660
|
"throughput": "throughput",
|
|
26661
|
+
"volume_initialization_rate": "volumeInitializationRate",
|
|
26449
26662
|
"volume_size": "volumeSize",
|
|
26450
26663
|
"volume_type": "volumeType",
|
|
26451
26664
|
},
|
|
@@ -26460,6 +26673,7 @@ class CfnLaunchTemplate(
|
|
|
26460
26673
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
26461
26674
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
26462
26675
|
throughput: typing.Optional[jsii.Number] = None,
|
|
26676
|
+
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
26463
26677
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
26464
26678
|
volume_type: typing.Optional[builtins.str] = None,
|
|
26465
26679
|
) -> None:
|
|
@@ -26473,6 +26687,7 @@ class CfnLaunchTemplate(
|
|
|
26473
26687
|
:param kms_key_id: Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
|
|
26474
26688
|
:param snapshot_id: The ID of the snapshot.
|
|
26475
26689
|
:param throughput: The throughput to provision for a ``gp3`` volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
26690
|
+
:param volume_initialization_rate: Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as *volume initialization* . Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation. This parameter is supported only for volumes created from snapshots. Omit this parameter if: - You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation. .. epigraph:: If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore. - You want to create a volume that is initialized at the default rate. For more information, see `Initialize Amazon EBS volumes <https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html>`_ in the *Amazon EC2 User Guide* . Valid range: 100 - 300 MiB/s
|
|
26476
26691
|
:param volume_size: The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type: - ``gp2`` and ``gp3`` : 1 - 16,384 GiB - ``io1`` : 4 - 16,384 GiB - ``io2`` : 4 - 65,536 GiB - ``st1`` and ``sc1`` : 125 - 16,384 GiB - ``standard`` : 1 - 1024 GiB
|
|
26477
26692
|
:param volume_type: The volume type. For more information, see `Amazon EBS volume types <https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html>`_ in the *Amazon EBS User Guide* .
|
|
26478
26693
|
|
|
@@ -26492,6 +26707,7 @@ class CfnLaunchTemplate(
|
|
|
26492
26707
|
kms_key_id="kmsKeyId",
|
|
26493
26708
|
snapshot_id="snapshotId",
|
|
26494
26709
|
throughput=123,
|
|
26710
|
+
volume_initialization_rate=123,
|
|
26495
26711
|
volume_size=123,
|
|
26496
26712
|
volume_type="volumeType"
|
|
26497
26713
|
)
|
|
@@ -26504,6 +26720,7 @@ class CfnLaunchTemplate(
|
|
|
26504
26720
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
26505
26721
|
check_type(argname="argument snapshot_id", value=snapshot_id, expected_type=type_hints["snapshot_id"])
|
|
26506
26722
|
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
26723
|
+
check_type(argname="argument volume_initialization_rate", value=volume_initialization_rate, expected_type=type_hints["volume_initialization_rate"])
|
|
26507
26724
|
check_type(argname="argument volume_size", value=volume_size, expected_type=type_hints["volume_size"])
|
|
26508
26725
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
26509
26726
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -26519,6 +26736,8 @@ class CfnLaunchTemplate(
|
|
|
26519
26736
|
self._values["snapshot_id"] = snapshot_id
|
|
26520
26737
|
if throughput is not None:
|
|
26521
26738
|
self._values["throughput"] = throughput
|
|
26739
|
+
if volume_initialization_rate is not None:
|
|
26740
|
+
self._values["volume_initialization_rate"] = volume_initialization_rate
|
|
26522
26741
|
if volume_size is not None:
|
|
26523
26742
|
self._values["volume_size"] = volume_size
|
|
26524
26743
|
if volume_type is not None:
|
|
@@ -26598,6 +26817,31 @@ class CfnLaunchTemplate(
|
|
|
26598
26817
|
result = self._values.get("throughput")
|
|
26599
26818
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
26600
26819
|
|
|
26820
|
+
@builtins.property
|
|
26821
|
+
def volume_initialization_rate(self) -> typing.Optional[jsii.Number]:
|
|
26822
|
+
'''Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume.
|
|
26823
|
+
|
|
26824
|
+
This is also known as *volume initialization* . Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
|
|
26825
|
+
|
|
26826
|
+
This parameter is supported only for volumes created from snapshots. Omit this parameter if:
|
|
26827
|
+
|
|
26828
|
+
- You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.
|
|
26829
|
+
|
|
26830
|
+
.. epigraph::
|
|
26831
|
+
|
|
26832
|
+
If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.
|
|
26833
|
+
|
|
26834
|
+
- You want to create a volume that is initialized at the default rate.
|
|
26835
|
+
|
|
26836
|
+
For more information, see `Initialize Amazon EBS volumes <https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html>`_ in the *Amazon EC2 User Guide* .
|
|
26837
|
+
|
|
26838
|
+
Valid range: 100 - 300 MiB/s
|
|
26839
|
+
|
|
26840
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-volumeinitializationrate
|
|
26841
|
+
'''
|
|
26842
|
+
result = self._values.get("volume_initialization_rate")
|
|
26843
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
26844
|
+
|
|
26601
26845
|
@builtins.property
|
|
26602
26846
|
def volume_size(self) -> typing.Optional[jsii.Number]:
|
|
26603
26847
|
'''The size of the volume, in GiBs.
|
|
@@ -28101,6 +28345,7 @@ class CfnLaunchTemplate(
|
|
|
28101
28345
|
kms_key_id="kmsKeyId",
|
|
28102
28346
|
snapshot_id="snapshotId",
|
|
28103
28347
|
throughput=123,
|
|
28348
|
+
volume_initialization_rate=123,
|
|
28104
28349
|
volume_size=123,
|
|
28105
28350
|
volume_type="volumeType"
|
|
28106
28351
|
),
|
|
@@ -34763,7 +35008,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
34763
35008
|
:param network_insights_path_id: The ID of the path.
|
|
34764
35009
|
:param additional_accounts: The member accounts that contain resources that the path can traverse.
|
|
34765
35010
|
:param filter_in_arns: The Amazon Resource Names (ARN) of the resources that the path must traverse.
|
|
34766
|
-
:param filter_out_arns:
|
|
35011
|
+
:param filter_out_arns: The Amazon Resource Names (ARN) of the resources that the path must ignore.
|
|
34767
35012
|
:param tags: The tags to apply.
|
|
34768
35013
|
'''
|
|
34769
35014
|
if __debug__:
|
|
@@ -34967,6 +35212,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
34967
35212
|
@builtins.property
|
|
34968
35213
|
@jsii.member(jsii_name="filterOutArns")
|
|
34969
35214
|
def filter_out_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
35215
|
+
'''The Amazon Resource Names (ARN) of the resources that the path must ignore.'''
|
|
34970
35216
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "filterOutArns"))
|
|
34971
35217
|
|
|
34972
35218
|
@filter_out_arns.setter
|
|
@@ -38030,7 +38276,7 @@ class CfnNetworkInsightsAnalysisProps:
|
|
|
38030
38276
|
:param network_insights_path_id: The ID of the path.
|
|
38031
38277
|
:param additional_accounts: The member accounts that contain resources that the path can traverse.
|
|
38032
38278
|
:param filter_in_arns: The Amazon Resource Names (ARN) of the resources that the path must traverse.
|
|
38033
|
-
:param filter_out_arns:
|
|
38279
|
+
:param filter_out_arns: The Amazon Resource Names (ARN) of the resources that the path must ignore.
|
|
38034
38280
|
:param tags: The tags to apply.
|
|
38035
38281
|
|
|
38036
38282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html
|
|
@@ -38104,7 +38350,8 @@ class CfnNetworkInsightsAnalysisProps:
|
|
|
38104
38350
|
|
|
38105
38351
|
@builtins.property
|
|
38106
38352
|
def filter_out_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
38107
|
-
'''
|
|
38353
|
+
'''The Amazon Resource Names (ARN) of the resources that the path must ignore.
|
|
38354
|
+
|
|
38108
38355
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-filteroutarns
|
|
38109
38356
|
'''
|
|
38110
38357
|
result = self._values.get("filter_out_arns")
|
|
@@ -79932,6 +80179,10 @@ class InstanceClass(enum.Enum):
|
|
|
79932
80179
|
'''Storage optimized instances powered by 5th generation Intel Xeon Scalable processors, 7th generation.'''
|
|
79933
80180
|
I7IE = "I7IE"
|
|
79934
80181
|
'''Storage optimized instances powered by 5th generation Intel Xeon Scalable processors, 7th generation.'''
|
|
80182
|
+
IO7_INTEL = "IO7_INTEL"
|
|
80183
|
+
'''I/O-optimized instances with local NVME drive powered by 5th generation Intel Xeon Scalable processors, 7th generation.'''
|
|
80184
|
+
I7I = "I7I"
|
|
80185
|
+
'''I/O-optimized instances with local NVME drive powered by 5th generation Intel Xeon Scalable processors, 7th generation.'''
|
|
79935
80186
|
STORAGE8_GRAVITON = "STORAGE8_GRAVITON"
|
|
79936
80187
|
'''Storage optimized instances powered by Graviton4 processor, 8th generation.'''
|
|
79937
80188
|
I8G = "I8G"
|
|
@@ -81927,6 +82178,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
81927
82178
|
def DYNAMODB_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
81928
82179
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "DYNAMODB_FIPS"))
|
|
81929
82180
|
|
|
82181
|
+
@jsii.python.classproperty
|
|
82182
|
+
@jsii.member(jsii_name="DYNAMODB_STREAMS")
|
|
82183
|
+
def DYNAMODB_STREAMS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
82184
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "DYNAMODB_STREAMS"))
|
|
82185
|
+
|
|
81930
82186
|
@jsii.python.classproperty
|
|
81931
82187
|
@jsii.member(jsii_name="EBS_DIRECT")
|
|
81932
82188
|
def EBS_DIRECT(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -105268,6 +105524,7 @@ def _typecheckingstub__5dd8d015864426e689ac2f72f1fdd70371d242931964ab4d571ea5601
|
|
|
105268
105524
|
default_resource_discovery_organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105269
105525
|
description: typing.Optional[builtins.str] = None,
|
|
105270
105526
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
105527
|
+
metered_account: typing.Optional[builtins.str] = None,
|
|
105271
105528
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105272
105529
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
105273
105530
|
tier: typing.Optional[builtins.str] = None,
|
|
@@ -105305,6 +105562,12 @@ def _typecheckingstub__1281235c91c77dfae8d509881b5159b846e5e23d4ec106d47ef850482
|
|
|
105305
105562
|
"""Type checking stubs"""
|
|
105306
105563
|
pass
|
|
105307
105564
|
|
|
105565
|
+
def _typecheckingstub__b7c475d5b75fcafe38c1fbc14c605291329e484c6645ef305655b392e315268a(
|
|
105566
|
+
value: typing.Optional[builtins.str],
|
|
105567
|
+
) -> None:
|
|
105568
|
+
"""Type checking stubs"""
|
|
105569
|
+
pass
|
|
105570
|
+
|
|
105308
105571
|
def _typecheckingstub__fecbb17dcfafe289f5a442dc3b73f564f5de07433cc7e26b8e86425af382451f(
|
|
105309
105572
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAM.IpamOperatingRegionProperty]]]],
|
|
105310
105573
|
) -> None:
|
|
@@ -105621,6 +105884,7 @@ def _typecheckingstub__f1252b3f41198f9c0d9b0c751334626e1084e0106d3be9d92d7720073
|
|
|
105621
105884
|
default_resource_discovery_organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105622
105885
|
description: typing.Optional[builtins.str] = None,
|
|
105623
105886
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
105887
|
+
metered_account: typing.Optional[builtins.str] = None,
|
|
105624
105888
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105625
105889
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
105626
105890
|
tier: typing.Optional[builtins.str] = None,
|
|
@@ -105828,6 +106092,7 @@ def _typecheckingstub__c4a16bcac45df35102107cab13dbaea279aac225408d8ffe54a341484
|
|
|
105828
106092
|
key_name: typing.Optional[builtins.str] = None,
|
|
105829
106093
|
launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
105830
106094
|
license_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LicenseSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
106095
|
+
metadata_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.MetadataOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
105831
106096
|
monitoring: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
105832
106097
|
network_interfaces: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.NetworkInterfaceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
105833
106098
|
placement_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -106004,6 +106269,12 @@ def _typecheckingstub__cc2686e45ed4c6d1878a8ae7e28861e3db1d532776cefb8db34c5911f
|
|
|
106004
106269
|
"""Type checking stubs"""
|
|
106005
106270
|
pass
|
|
106006
106271
|
|
|
106272
|
+
def _typecheckingstub__829ee1a8f150cbfae9cd18b9c33d41b2e8f61b6ded5a58aa4c446baedaa0b5fc(
|
|
106273
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInstance.MetadataOptionsProperty]],
|
|
106274
|
+
) -> None:
|
|
106275
|
+
"""Type checking stubs"""
|
|
106276
|
+
pass
|
|
106277
|
+
|
|
106007
106278
|
def _typecheckingstub__7a0da44bb62f454316060622acd522d46ed58c088bae4a9f6249bcf6deca5588(
|
|
106008
106279
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
106009
106280
|
) -> None:
|
|
@@ -106213,6 +106484,17 @@ def _typecheckingstub__d052358cb33e29932cee94076b50021e871c21fc3250e7670a7f77437
|
|
|
106213
106484
|
"""Type checking stubs"""
|
|
106214
106485
|
pass
|
|
106215
106486
|
|
|
106487
|
+
def _typecheckingstub__dd62c780267fd82323185183a14d7164b77b99b5493e4e4f98f5cd11a52c16a3(
|
|
106488
|
+
*,
|
|
106489
|
+
http_endpoint: typing.Optional[builtins.str] = None,
|
|
106490
|
+
http_protocol_ipv6: typing.Optional[builtins.str] = None,
|
|
106491
|
+
http_put_response_hop_limit: typing.Optional[jsii.Number] = None,
|
|
106492
|
+
http_tokens: typing.Optional[builtins.str] = None,
|
|
106493
|
+
instance_metadata_tags: typing.Optional[builtins.str] = None,
|
|
106494
|
+
) -> None:
|
|
106495
|
+
"""Type checking stubs"""
|
|
106496
|
+
pass
|
|
106497
|
+
|
|
106216
106498
|
def _typecheckingstub__34d8c3e0456d2764eb1c3d4b68e63d75d3e51811fe46a5cc1a3cd7a841079228(
|
|
106217
106499
|
*,
|
|
106218
106500
|
device_index: builtins.str,
|
|
@@ -106366,6 +106648,7 @@ def _typecheckingstub__605ba8f22e222289aa0ed61b03690aaf9a4e8eabb86a9ba2b63d10f2b
|
|
|
106366
106648
|
key_name: typing.Optional[builtins.str] = None,
|
|
106367
106649
|
launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
106368
106650
|
license_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.LicenseSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
106651
|
+
metadata_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.MetadataOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
106369
106652
|
monitoring: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
106370
106653
|
network_interfaces: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstance.NetworkInterfaceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
106371
106654
|
placement_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -106631,6 +106914,7 @@ def _typecheckingstub__0c8f1bdc026599f0d5c31661061b4f7adf3cd9a673d2d6a32326ec212
|
|
|
106631
106914
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
106632
106915
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
106633
106916
|
throughput: typing.Optional[jsii.Number] = None,
|
|
106917
|
+
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
106634
106918
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
106635
106919
|
volume_type: typing.Optional[builtins.str] = None,
|
|
106636
106920
|
) -> None:
|