aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -11700,7 +11700,7 @@ class CfnEC2Fleet(
|
|
|
11700
11700
|
:param availability_zone: The Availability Zone in which to launch the instances.
|
|
11701
11701
|
:param instance_requirements: The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes. .. epigraph:: If you specify ``InstanceRequirements`` , you can't specify ``InstanceType`` .
|
|
11702
11702
|
:param instance_type: The instance type. ``mac1.metal`` is not supported as a launch template override. .. epigraph:: If you specify ``InstanceType`` , you can't specify ``InstanceRequirements`` .
|
|
11703
|
-
:param max_price: The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. .. epigraph:: If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
|
|
11703
|
+
:param max_price: The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. .. epigraph:: If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter. If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an ``InvalidParameterValue`` error message.
|
|
11704
11704
|
:param placement: The location where the instance launched, if applicable.
|
|
11705
11705
|
:param priority: The priority for the launch template override. The highest priority is launched first. If the On-Demand ``AllocationStrategy`` is set to ``prioritized`` , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. If the Spot ``AllocationStrategy`` is set to ``capacity-optimized-prioritized`` , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first. Valid values are whole numbers starting at ``0`` . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.
|
|
11706
11706
|
:param subnet_id: The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, ``subnet-1234abcdeexample1, subnet-0987cdef6example2`` ). A request of type ``instant`` can have only one subnet ID.
|
|
@@ -11870,6 +11870,8 @@ class CfnEC2Fleet(
|
|
|
11870
11870
|
|
|
11871
11871
|
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
|
|
11872
11872
|
|
|
11873
|
+
If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an ``InvalidParameterValue`` error message.
|
|
11874
|
+
|
|
11873
11875
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplateoverridesrequest.html#cfn-ec2-ec2fleet-fleetlaunchtemplateoverridesrequest-maxprice
|
|
11874
11876
|
'''
|
|
11875
11877
|
result = self._values.get("max_price")
|
|
@@ -16920,6 +16922,9 @@ class CfnIPAM(
|
|
|
16920
16922
|
from aws_cdk import aws_ec2 as ec2
|
|
16921
16923
|
|
|
16922
16924
|
cfn_iPAM = ec2.CfnIPAM(self, "MyCfnIPAM",
|
|
16925
|
+
default_resource_discovery_organizational_unit_exclusions=[ec2.CfnIPAM.IpamOrganizationalUnitExclusionProperty(
|
|
16926
|
+
organizations_entity_path="organizationsEntityPath"
|
|
16927
|
+
)],
|
|
16923
16928
|
description="description",
|
|
16924
16929
|
enable_private_gua=False,
|
|
16925
16930
|
operating_regions=[ec2.CfnIPAM.IpamOperatingRegionProperty(
|
|
@@ -16938,6 +16943,7 @@ class CfnIPAM(
|
|
|
16938
16943
|
scope: _constructs_77d1e7e8.Construct,
|
|
16939
16944
|
id: builtins.str,
|
|
16940
16945
|
*,
|
|
16946
|
+
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,
|
|
16941
16947
|
description: typing.Optional[builtins.str] = None,
|
|
16942
16948
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16943
16949
|
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,
|
|
@@ -16947,6 +16953,7 @@ class CfnIPAM(
|
|
|
16947
16953
|
'''
|
|
16948
16954
|
:param scope: Scope in which this resource is defined.
|
|
16949
16955
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
16956
|
+
:param default_resource_discovery_organizational_unit_exclusions: A set of organizational unit (OU) exclusions for the default resource discovery, created with this IPAM.
|
|
16950
16957
|
:param description: The description for the IPAM.
|
|
16951
16958
|
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
16952
16959
|
: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* .
|
|
@@ -16958,6 +16965,7 @@ class CfnIPAM(
|
|
|
16958
16965
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
16959
16966
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
16960
16967
|
props = CfnIPAMProps(
|
|
16968
|
+
default_resource_discovery_organizational_unit_exclusions=default_resource_discovery_organizational_unit_exclusions,
|
|
16961
16969
|
description=description,
|
|
16962
16970
|
enable_private_gua=enable_private_gua,
|
|
16963
16971
|
operating_regions=operating_regions,
|
|
@@ -17080,6 +17088,24 @@ class CfnIPAM(
|
|
|
17080
17088
|
'''Tag Manager which manages the tags for this resource.'''
|
|
17081
17089
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
17082
17090
|
|
|
17091
|
+
@builtins.property
|
|
17092
|
+
@jsii.member(jsii_name="defaultResourceDiscoveryOrganizationalUnitExclusions")
|
|
17093
|
+
def default_resource_discovery_organizational_unit_exclusions(
|
|
17094
|
+
self,
|
|
17095
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAM.IpamOrganizationalUnitExclusionProperty"]]]]:
|
|
17096
|
+
'''A set of organizational unit (OU) exclusions for the default resource discovery, created with this IPAM.'''
|
|
17097
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAM.IpamOrganizationalUnitExclusionProperty"]]]], jsii.get(self, "defaultResourceDiscoveryOrganizationalUnitExclusions"))
|
|
17098
|
+
|
|
17099
|
+
@default_resource_discovery_organizational_unit_exclusions.setter
|
|
17100
|
+
def default_resource_discovery_organizational_unit_exclusions(
|
|
17101
|
+
self,
|
|
17102
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAM.IpamOrganizationalUnitExclusionProperty"]]]],
|
|
17103
|
+
) -> None:
|
|
17104
|
+
if __debug__:
|
|
17105
|
+
type_hints = typing.get_type_hints(_typecheckingstub__df7dc542d06b2df113e30582e811e678d8d8aa54b5759d2ebb6ea3563a53a791)
|
|
17106
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17107
|
+
jsii.set(self, "defaultResourceDiscoveryOrganizationalUnitExclusions", value) # pyright: ignore[reportArgumentType]
|
|
17108
|
+
|
|
17083
17109
|
@builtins.property
|
|
17084
17110
|
@jsii.member(jsii_name="description")
|
|
17085
17111
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -17211,6 +17237,60 @@ class CfnIPAM(
|
|
|
17211
17237
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
17212
17238
|
)
|
|
17213
17239
|
|
|
17240
|
+
@jsii.data_type(
|
|
17241
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnIPAM.IpamOrganizationalUnitExclusionProperty",
|
|
17242
|
+
jsii_struct_bases=[],
|
|
17243
|
+
name_mapping={"organizations_entity_path": "organizationsEntityPath"},
|
|
17244
|
+
)
|
|
17245
|
+
class IpamOrganizationalUnitExclusionProperty:
|
|
17246
|
+
def __init__(self, *, organizations_entity_path: builtins.str) -> None:
|
|
17247
|
+
'''If your IPAM is integrated with AWS Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion.
|
|
17248
|
+
|
|
17249
|
+
:param organizations_entity_path: An AWS Organizations entity path. For more information on the entity path, see `Understand the AWS Organizations entity path <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path>`_ in the *AWS Identity and Access Management User Guide* .
|
|
17250
|
+
|
|
17251
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipam-ipamorganizationalunitexclusion.html
|
|
17252
|
+
:exampleMetadata: fixture=_generated
|
|
17253
|
+
|
|
17254
|
+
Example::
|
|
17255
|
+
|
|
17256
|
+
# The code below shows an example of how to instantiate this type.
|
|
17257
|
+
# The values are placeholders you should change.
|
|
17258
|
+
from aws_cdk import aws_ec2 as ec2
|
|
17259
|
+
|
|
17260
|
+
ipam_organizational_unit_exclusion_property = ec2.CfnIPAM.IpamOrganizationalUnitExclusionProperty(
|
|
17261
|
+
organizations_entity_path="organizationsEntityPath"
|
|
17262
|
+
)
|
|
17263
|
+
'''
|
|
17264
|
+
if __debug__:
|
|
17265
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a1e082fe403508d7f87288dfed02281b9ed00551965db1ff48cbbe30d9d4b25)
|
|
17266
|
+
check_type(argname="argument organizations_entity_path", value=organizations_entity_path, expected_type=type_hints["organizations_entity_path"])
|
|
17267
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
17268
|
+
"organizations_entity_path": organizations_entity_path,
|
|
17269
|
+
}
|
|
17270
|
+
|
|
17271
|
+
@builtins.property
|
|
17272
|
+
def organizations_entity_path(self) -> builtins.str:
|
|
17273
|
+
'''An AWS Organizations entity path.
|
|
17274
|
+
|
|
17275
|
+
For more information on the entity path, see `Understand the AWS Organizations entity path <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path>`_ in the *AWS Identity and Access Management User Guide* .
|
|
17276
|
+
|
|
17277
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipam-ipamorganizationalunitexclusion.html#cfn-ec2-ipam-ipamorganizationalunitexclusion-organizationsentitypath
|
|
17278
|
+
'''
|
|
17279
|
+
result = self._values.get("organizations_entity_path")
|
|
17280
|
+
assert result is not None, "Required property 'organizations_entity_path' is missing"
|
|
17281
|
+
return typing.cast(builtins.str, result)
|
|
17282
|
+
|
|
17283
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
17284
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
17285
|
+
|
|
17286
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
17287
|
+
return not (rhs == self)
|
|
17288
|
+
|
|
17289
|
+
def __repr__(self) -> str:
|
|
17290
|
+
return "IpamOrganizationalUnitExclusionProperty(%s)" % ", ".join(
|
|
17291
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
17292
|
+
)
|
|
17293
|
+
|
|
17214
17294
|
|
|
17215
17295
|
@jsii.implements(_IInspectable_c2943556)
|
|
17216
17296
|
class CfnIPAMAllocation(
|
|
@@ -18738,6 +18818,7 @@ class CfnIPAMPoolProps:
|
|
|
18738
18818
|
jsii_type="aws-cdk-lib.aws_ec2.CfnIPAMProps",
|
|
18739
18819
|
jsii_struct_bases=[],
|
|
18740
18820
|
name_mapping={
|
|
18821
|
+
"default_resource_discovery_organizational_unit_exclusions": "defaultResourceDiscoveryOrganizationalUnitExclusions",
|
|
18741
18822
|
"description": "description",
|
|
18742
18823
|
"enable_private_gua": "enablePrivateGua",
|
|
18743
18824
|
"operating_regions": "operatingRegions",
|
|
@@ -18749,6 +18830,7 @@ class CfnIPAMProps:
|
|
|
18749
18830
|
def __init__(
|
|
18750
18831
|
self,
|
|
18751
18832
|
*,
|
|
18833
|
+
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,
|
|
18752
18834
|
description: typing.Optional[builtins.str] = None,
|
|
18753
18835
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
18754
18836
|
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,
|
|
@@ -18757,6 +18839,7 @@ class CfnIPAMProps:
|
|
|
18757
18839
|
) -> None:
|
|
18758
18840
|
'''Properties for defining a ``CfnIPAM``.
|
|
18759
18841
|
|
|
18842
|
+
:param default_resource_discovery_organizational_unit_exclusions: A set of organizational unit (OU) exclusions for the default resource discovery, created with this IPAM.
|
|
18760
18843
|
:param description: The description for the IPAM.
|
|
18761
18844
|
:param enable_private_gua: Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
|
|
18762
18845
|
: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* .
|
|
@@ -18773,6 +18856,9 @@ class CfnIPAMProps:
|
|
|
18773
18856
|
from aws_cdk import aws_ec2 as ec2
|
|
18774
18857
|
|
|
18775
18858
|
cfn_iPAMProps = ec2.CfnIPAMProps(
|
|
18859
|
+
default_resource_discovery_organizational_unit_exclusions=[ec2.CfnIPAM.IpamOrganizationalUnitExclusionProperty(
|
|
18860
|
+
organizations_entity_path="organizationsEntityPath"
|
|
18861
|
+
)],
|
|
18776
18862
|
description="description",
|
|
18777
18863
|
enable_private_gua=False,
|
|
18778
18864
|
operating_regions=[ec2.CfnIPAM.IpamOperatingRegionProperty(
|
|
@@ -18787,12 +18873,15 @@ class CfnIPAMProps:
|
|
|
18787
18873
|
'''
|
|
18788
18874
|
if __debug__:
|
|
18789
18875
|
type_hints = typing.get_type_hints(_typecheckingstub__f1252b3f41198f9c0d9b0c751334626e1084e0106d3be9d92d77200730b95e90)
|
|
18876
|
+
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"])
|
|
18790
18877
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
18791
18878
|
check_type(argname="argument enable_private_gua", value=enable_private_gua, expected_type=type_hints["enable_private_gua"])
|
|
18792
18879
|
check_type(argname="argument operating_regions", value=operating_regions, expected_type=type_hints["operating_regions"])
|
|
18793
18880
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
18794
18881
|
check_type(argname="argument tier", value=tier, expected_type=type_hints["tier"])
|
|
18795
18882
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
18883
|
+
if default_resource_discovery_organizational_unit_exclusions is not None:
|
|
18884
|
+
self._values["default_resource_discovery_organizational_unit_exclusions"] = default_resource_discovery_organizational_unit_exclusions
|
|
18796
18885
|
if description is not None:
|
|
18797
18886
|
self._values["description"] = description
|
|
18798
18887
|
if enable_private_gua is not None:
|
|
@@ -18804,6 +18893,17 @@ class CfnIPAMProps:
|
|
|
18804
18893
|
if tier is not None:
|
|
18805
18894
|
self._values["tier"] = tier
|
|
18806
18895
|
|
|
18896
|
+
@builtins.property
|
|
18897
|
+
def default_resource_discovery_organizational_unit_exclusions(
|
|
18898
|
+
self,
|
|
18899
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAM.IpamOrganizationalUnitExclusionProperty]]]]:
|
|
18900
|
+
'''A set of organizational unit (OU) exclusions for the default resource discovery, created with this IPAM.
|
|
18901
|
+
|
|
18902
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-defaultresourcediscoveryorganizationalunitexclusions
|
|
18903
|
+
'''
|
|
18904
|
+
result = self._values.get("default_resource_discovery_organizational_unit_exclusions")
|
|
18905
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAM.IpamOrganizationalUnitExclusionProperty]]]], result)
|
|
18906
|
+
|
|
18807
18907
|
@builtins.property
|
|
18808
18908
|
def description(self) -> typing.Optional[builtins.str]:
|
|
18809
18909
|
'''The description for the IPAM.
|
|
@@ -18898,6 +18998,9 @@ class CfnIPAMResourceDiscovery(
|
|
|
18898
18998
|
operating_regions=[ec2.CfnIPAMResourceDiscovery.IpamOperatingRegionProperty(
|
|
18899
18999
|
region_name="regionName"
|
|
18900
19000
|
)],
|
|
19001
|
+
organizational_unit_exclusions=[ec2.CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty(
|
|
19002
|
+
organizations_entity_path="organizationsEntityPath"
|
|
19003
|
+
)],
|
|
18901
19004
|
tags=[CfnTag(
|
|
18902
19005
|
key="key",
|
|
18903
19006
|
value="value"
|
|
@@ -18912,6 +19015,7 @@ class CfnIPAMResourceDiscovery(
|
|
|
18912
19015
|
*,
|
|
18913
19016
|
description: typing.Optional[builtins.str] = None,
|
|
18914
19017
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIPAMResourceDiscovery.IpamOperatingRegionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19018
|
+
organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
18915
19019
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18916
19020
|
) -> None:
|
|
18917
19021
|
'''
|
|
@@ -18919,6 +19023,7 @@ class CfnIPAMResourceDiscovery(
|
|
|
18919
19023
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
18920
19024
|
:param description: The resource discovery description.
|
|
18921
19025
|
:param operating_regions: The operating Regions for the resource discovery. 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.
|
|
19026
|
+
:param organizational_unit_exclusions: A set of organizational unit (OU) exclusions for this resource.
|
|
18922
19027
|
:param tags: A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your AWS costs.
|
|
18923
19028
|
'''
|
|
18924
19029
|
if __debug__:
|
|
@@ -18926,7 +19031,10 @@ class CfnIPAMResourceDiscovery(
|
|
|
18926
19031
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
18927
19032
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
18928
19033
|
props = CfnIPAMResourceDiscoveryProps(
|
|
18929
|
-
description=description,
|
|
19034
|
+
description=description,
|
|
19035
|
+
operating_regions=operating_regions,
|
|
19036
|
+
organizational_unit_exclusions=organizational_unit_exclusions,
|
|
19037
|
+
tags=tags,
|
|
18930
19038
|
)
|
|
18931
19039
|
|
|
18932
19040
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -19072,6 +19180,24 @@ class CfnIPAMResourceDiscovery(
|
|
|
19072
19180
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
19073
19181
|
jsii.set(self, "operatingRegions", value) # pyright: ignore[reportArgumentType]
|
|
19074
19182
|
|
|
19183
|
+
@builtins.property
|
|
19184
|
+
@jsii.member(jsii_name="organizationalUnitExclusions")
|
|
19185
|
+
def organizational_unit_exclusions(
|
|
19186
|
+
self,
|
|
19187
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty"]]]]:
|
|
19188
|
+
'''A set of organizational unit (OU) exclusions for this resource.'''
|
|
19189
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty"]]]], jsii.get(self, "organizationalUnitExclusions"))
|
|
19190
|
+
|
|
19191
|
+
@organizational_unit_exclusions.setter
|
|
19192
|
+
def organizational_unit_exclusions(
|
|
19193
|
+
self,
|
|
19194
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty"]]]],
|
|
19195
|
+
) -> None:
|
|
19196
|
+
if __debug__:
|
|
19197
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f878fbe931fb7dc474a97e5f158b779f737ec5e5643363296656c4a479af6ae)
|
|
19198
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
19199
|
+
jsii.set(self, "organizationalUnitExclusions", value) # pyright: ignore[reportArgumentType]
|
|
19200
|
+
|
|
19075
19201
|
@builtins.property
|
|
19076
19202
|
@jsii.member(jsii_name="tagsRaw")
|
|
19077
19203
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -19141,6 +19267,60 @@ class CfnIPAMResourceDiscovery(
|
|
|
19141
19267
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
19142
19268
|
)
|
|
19143
19269
|
|
|
19270
|
+
@jsii.data_type(
|
|
19271
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty",
|
|
19272
|
+
jsii_struct_bases=[],
|
|
19273
|
+
name_mapping={"organizations_entity_path": "organizationsEntityPath"},
|
|
19274
|
+
)
|
|
19275
|
+
class IpamResourceDiscoveryOrganizationalUnitExclusionProperty:
|
|
19276
|
+
def __init__(self, *, organizations_entity_path: builtins.str) -> None:
|
|
19277
|
+
'''If your IPAM is integrated with AWS Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion.
|
|
19278
|
+
|
|
19279
|
+
:param organizations_entity_path: An AWS Organizations entity path. Build the path for the OU(s) using AWS Organizations IDs separated by a '/'. Include all child OUs by ending the path with '/*'.
|
|
19280
|
+
|
|
19281
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion.html
|
|
19282
|
+
:exampleMetadata: fixture=_generated
|
|
19283
|
+
|
|
19284
|
+
Example::
|
|
19285
|
+
|
|
19286
|
+
# The code below shows an example of how to instantiate this type.
|
|
19287
|
+
# The values are placeholders you should change.
|
|
19288
|
+
from aws_cdk import aws_ec2 as ec2
|
|
19289
|
+
|
|
19290
|
+
ipam_resource_discovery_organizational_unit_exclusion_property = ec2.CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty(
|
|
19291
|
+
organizations_entity_path="organizationsEntityPath"
|
|
19292
|
+
)
|
|
19293
|
+
'''
|
|
19294
|
+
if __debug__:
|
|
19295
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ccd001ab1c5cbf012c760b05292306e2019f0f9adffc25c67a35cfb3050d8d9f)
|
|
19296
|
+
check_type(argname="argument organizations_entity_path", value=organizations_entity_path, expected_type=type_hints["organizations_entity_path"])
|
|
19297
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
19298
|
+
"organizations_entity_path": organizations_entity_path,
|
|
19299
|
+
}
|
|
19300
|
+
|
|
19301
|
+
@builtins.property
|
|
19302
|
+
def organizations_entity_path(self) -> builtins.str:
|
|
19303
|
+
'''An AWS Organizations entity path.
|
|
19304
|
+
|
|
19305
|
+
Build the path for the OU(s) using AWS Organizations IDs separated by a '/'. Include all child OUs by ending the path with '/*'.
|
|
19306
|
+
|
|
19307
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion.html#cfn-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion-organizationsentitypath
|
|
19308
|
+
'''
|
|
19309
|
+
result = self._values.get("organizations_entity_path")
|
|
19310
|
+
assert result is not None, "Required property 'organizations_entity_path' is missing"
|
|
19311
|
+
return typing.cast(builtins.str, result)
|
|
19312
|
+
|
|
19313
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
19314
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
19315
|
+
|
|
19316
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
19317
|
+
return not (rhs == self)
|
|
19318
|
+
|
|
19319
|
+
def __repr__(self) -> str:
|
|
19320
|
+
return "IpamResourceDiscoveryOrganizationalUnitExclusionProperty(%s)" % ", ".join(
|
|
19321
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
19322
|
+
)
|
|
19323
|
+
|
|
19144
19324
|
|
|
19145
19325
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
19146
19326
|
class CfnIPAMResourceDiscoveryAssociation(
|
|
@@ -19474,6 +19654,7 @@ class CfnIPAMResourceDiscoveryAssociationProps:
|
|
|
19474
19654
|
name_mapping={
|
|
19475
19655
|
"description": "description",
|
|
19476
19656
|
"operating_regions": "operatingRegions",
|
|
19657
|
+
"organizational_unit_exclusions": "organizationalUnitExclusions",
|
|
19477
19658
|
"tags": "tags",
|
|
19478
19659
|
},
|
|
19479
19660
|
)
|
|
@@ -19483,12 +19664,14 @@ class CfnIPAMResourceDiscoveryProps:
|
|
|
19483
19664
|
*,
|
|
19484
19665
|
description: typing.Optional[builtins.str] = None,
|
|
19485
19666
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19667
|
+
organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
19486
19668
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19487
19669
|
) -> None:
|
|
19488
19670
|
'''Properties for defining a ``CfnIPAMResourceDiscovery``.
|
|
19489
19671
|
|
|
19490
19672
|
:param description: The resource discovery description.
|
|
19491
19673
|
:param operating_regions: The operating Regions for the resource discovery. 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.
|
|
19674
|
+
:param organizational_unit_exclusions: A set of organizational unit (OU) exclusions for this resource.
|
|
19492
19675
|
:param tags: A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your AWS costs.
|
|
19493
19676
|
|
|
19494
19677
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html
|
|
@@ -19505,6 +19688,9 @@ class CfnIPAMResourceDiscoveryProps:
|
|
|
19505
19688
|
operating_regions=[ec2.CfnIPAMResourceDiscovery.IpamOperatingRegionProperty(
|
|
19506
19689
|
region_name="regionName"
|
|
19507
19690
|
)],
|
|
19691
|
+
organizational_unit_exclusions=[ec2.CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty(
|
|
19692
|
+
organizations_entity_path="organizationsEntityPath"
|
|
19693
|
+
)],
|
|
19508
19694
|
tags=[CfnTag(
|
|
19509
19695
|
key="key",
|
|
19510
19696
|
value="value"
|
|
@@ -19515,12 +19701,15 @@ class CfnIPAMResourceDiscoveryProps:
|
|
|
19515
19701
|
type_hints = typing.get_type_hints(_typecheckingstub__f109dd2c7d7c94b25622dd13433c13abb153fa5092da9272630e94ba4005e9e2)
|
|
19516
19702
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
19517
19703
|
check_type(argname="argument operating_regions", value=operating_regions, expected_type=type_hints["operating_regions"])
|
|
19704
|
+
check_type(argname="argument organizational_unit_exclusions", value=organizational_unit_exclusions, expected_type=type_hints["organizational_unit_exclusions"])
|
|
19518
19705
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
19519
19706
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
19520
19707
|
if description is not None:
|
|
19521
19708
|
self._values["description"] = description
|
|
19522
19709
|
if operating_regions is not None:
|
|
19523
19710
|
self._values["operating_regions"] = operating_regions
|
|
19711
|
+
if organizational_unit_exclusions is not None:
|
|
19712
|
+
self._values["organizational_unit_exclusions"] = organizational_unit_exclusions
|
|
19524
19713
|
if tags is not None:
|
|
19525
19714
|
self._values["tags"] = tags
|
|
19526
19715
|
|
|
@@ -19546,6 +19735,17 @@ class CfnIPAMResourceDiscoveryProps:
|
|
|
19546
19735
|
result = self._values.get("operating_regions")
|
|
19547
19736
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAMResourceDiscovery.IpamOperatingRegionProperty]]]], result)
|
|
19548
19737
|
|
|
19738
|
+
@builtins.property
|
|
19739
|
+
def organizational_unit_exclusions(
|
|
19740
|
+
self,
|
|
19741
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty]]]]:
|
|
19742
|
+
'''A set of organizational unit (OU) exclusions for this resource.
|
|
19743
|
+
|
|
19744
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html#cfn-ec2-ipamresourcediscovery-organizationalunitexclusions
|
|
19745
|
+
'''
|
|
19746
|
+
result = self._values.get("organizational_unit_exclusions")
|
|
19747
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty]]]], result)
|
|
19748
|
+
|
|
19549
19749
|
@builtins.property
|
|
19550
19750
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
19551
19751
|
'''A tag is a label that you assign to an AWS resource.
|
|
@@ -25369,7 +25569,7 @@ class CfnLaunchTemplate(
|
|
|
25369
25569
|
|
|
25370
25570
|
``CpuOptions`` is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
|
|
25371
25571
|
|
|
25372
|
-
:param amd_sev_snp: Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see `AMD SEV-SNP <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html>`_ .
|
|
25572
|
+
:param amd_sev_snp: Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see `AMD SEV-SNP for Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html>`_ .
|
|
25373
25573
|
:param core_count: The number of CPU cores for the instance.
|
|
25374
25574
|
:param threads_per_core: The number of threads per CPU core. To disable multithreading for the instance, specify a value of ``1`` . Otherwise, specify the default value of ``2`` .
|
|
25375
25575
|
|
|
@@ -25405,7 +25605,7 @@ class CfnLaunchTemplate(
|
|
|
25405
25605
|
def amd_sev_snp(self) -> typing.Optional[builtins.str]:
|
|
25406
25606
|
'''Indicates whether to enable the instance for AMD SEV-SNP.
|
|
25407
25607
|
|
|
25408
|
-
AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see `AMD SEV-SNP <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html>`_ .
|
|
25608
|
+
AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see `AMD SEV-SNP for Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html>`_ .
|
|
25409
25609
|
|
|
25410
25610
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-amdsevsnp
|
|
25411
25611
|
'''
|
|
@@ -25596,7 +25796,7 @@ class CfnLaunchTemplate(
|
|
|
25596
25796
|
|
|
25597
25797
|
:param delete_on_termination: Indicates whether the EBS volume is deleted on instance termination.
|
|
25598
25798
|
:param encrypted: Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
|
|
25599
|
-
:param iops: The number of I/O operations per second (IOPS). For ``gp3`` , ``io1`` , and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type: - ``gp3`` : 3,000 - 16,000 IOPS - ``io1`` : 100 - 64,000 IOPS - ``io2`` : 100 - 256,000 IOPS For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/
|
|
25799
|
+
:param iops: The number of I/O operations per second (IOPS). For ``gp3`` , ``io1`` , and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type: - ``gp3`` : 3,000 - 16,000 IOPS - ``io1`` : 100 - 64,000 IOPS - ``io2`` : 100 - 256,000 IOPS For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html>`_ . On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for ``io1`` , ``io2`` , and ``gp3`` volumes only.
|
|
25600
25800
|
: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.
|
|
25601
25801
|
:param snapshot_id: The ID of the snapshot.
|
|
25602
25802
|
: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.
|
|
@@ -25687,7 +25887,7 @@ class CfnLaunchTemplate(
|
|
|
25687
25887
|
- ``io1`` : 100 - 64,000 IOPS
|
|
25688
25888
|
- ``io2`` : 100 - 256,000 IOPS
|
|
25689
25889
|
|
|
25690
|
-
For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/
|
|
25890
|
+
For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html>`_ . On other instances, you can achieve performance up to 32,000 IOPS.
|
|
25691
25891
|
|
|
25692
25892
|
This parameter is supported for ``io1`` , ``io2`` , and ``gp3`` volumes only.
|
|
25693
25893
|
|
|
@@ -27178,14 +27378,14 @@ class CfnLaunchTemplate(
|
|
|
27178
27378
|
|
|
27179
27379
|
:param block_device_mappings: The block device mapping.
|
|
27180
27380
|
:param capacity_reservation_specification: The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to ``open`` , which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).
|
|
27181
|
-
:param cpu_options: The CPU options for the instance. For more information, see `
|
|
27381
|
+
:param cpu_options: The CPU options for the instance. For more information, see `CPU options for Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html>`_ in the *Amazon EC2 User Guide* .
|
|
27182
27382
|
:param credit_specification: The credit option for CPU usage of the instance. Valid only for T instances.
|
|
27183
|
-
:param disable_api_stop: Indicates whether to enable the instance for stop protection. For more information, see `Enable stop protection for your
|
|
27383
|
+
:param disable_api_stop: Indicates whether to enable the instance for stop protection. For more information, see `Enable stop protection for your EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html>`_ in the *Amazon EC2 User Guide* .
|
|
27184
27384
|
:param disable_api_termination: Indicates whether termination protection is enabled for the instance. The default is ``false`` , which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
|
|
27185
27385
|
:param ebs_optimized: Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
|
|
27186
27386
|
:param elastic_gpu_specifications: Deprecated. .. epigraph:: Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
|
|
27187
27387
|
:param elastic_inference_accelerators: .. epigraph:: Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. .. epigraph:: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
27188
|
-
:param enclave_options: Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see `What is
|
|
27388
|
+
:param enclave_options: Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see `What is Nitro Enclaves? <https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html>`_ in the *AWS Nitro Enclaves User Guide* . You can't enable AWS Nitro Enclaves and hibernation on the same instance.
|
|
27189
27389
|
:param hibernation_options: Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the `hibernation prerequisites <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html>`_ . For more information, see `Hibernate your Amazon EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html>`_ in the *Amazon EC2 User Guide* .
|
|
27190
27390
|
:param iam_instance_profile: The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
|
27191
27391
|
:param image_id: The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ``ami-0ac394d6a3example`` - ``resolve:ssm:parameter-name`` - ``resolve:ssm:parameter-name:version-number`` - ``resolve:ssm:parameter-name:label`` For more information, see `Use a Systems Manager parameter to find an AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#using-systems-manager-parameter-to-find-AMI>`_ in the *Amazon Elastic Compute Cloud User Guide* .
|
|
@@ -27197,7 +27397,7 @@ class CfnLaunchTemplate(
|
|
|
27197
27397
|
: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.
|
|
27198
27398
|
:param license_specifications: The license configurations.
|
|
27199
27399
|
:param maintenance_options: The maintenance options of your instance.
|
|
27200
|
-
:param metadata_options: The metadata options for the instance. For more information, see `Instance
|
|
27400
|
+
:param metadata_options: The metadata options for the instance. For more information, see `Configure the Instance Metadata Service options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html>`_ in the *Amazon EC2 User Guide* .
|
|
27201
27401
|
:param monitoring: The monitoring for the instance.
|
|
27202
27402
|
:param network_interfaces: The network interfaces for the instance.
|
|
27203
27403
|
:param placement: The placement for the instance.
|
|
@@ -27206,7 +27406,7 @@ class CfnLaunchTemplate(
|
|
|
27206
27406
|
:param security_group_ids: The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
|
|
27207
27407
|
:param security_groups: The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
|
|
27208
27408
|
:param tag_specifications: The tags to apply to resources that are created during instance launch. To tag the launch template itself, use `TagSpecifications <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications>`_ .
|
|
27209
|
-
:param user_data: The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see `Run commands
|
|
27409
|
+
:param user_data: The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see `Run commands when you launch an EC2 instance with user data input <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html>`_ in the *Amazon EC2 User Guide* . If you are creating the launch template for use with AWS Batch , the user data must be provided in the `MIME multi-part archive format <https://docs.aws.amazon.com/https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive>`_ . For more information, see `Amazon EC2 user data in launch templates <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data>`_ in the *AWS Batch User Guide* .
|
|
27210
27410
|
|
|
27211
27411
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html
|
|
27212
27412
|
:exampleMetadata: fixture=_generated
|
|
@@ -27557,7 +27757,7 @@ class CfnLaunchTemplate(
|
|
|
27557
27757
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.CpuOptionsProperty"]]:
|
|
27558
27758
|
'''The CPU options for the instance.
|
|
27559
27759
|
|
|
27560
|
-
For more information, see `
|
|
27760
|
+
For more information, see `CPU options for Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html>`_ in the *Amazon EC2 User Guide* .
|
|
27561
27761
|
|
|
27562
27762
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-cpuoptions
|
|
27563
27763
|
'''
|
|
@@ -27583,7 +27783,7 @@ class CfnLaunchTemplate(
|
|
|
27583
27783
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
27584
27784
|
'''Indicates whether to enable the instance for stop protection.
|
|
27585
27785
|
|
|
27586
|
-
For more information, see `Enable stop protection for your
|
|
27786
|
+
For more information, see `Enable stop protection for your EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html>`_ in the *Amazon EC2 User Guide* .
|
|
27587
27787
|
|
|
27588
27788
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-disableapistop
|
|
27589
27789
|
'''
|
|
@@ -27657,7 +27857,7 @@ class CfnLaunchTemplate(
|
|
|
27657
27857
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.EnclaveOptionsProperty"]]:
|
|
27658
27858
|
'''Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
|
27659
27859
|
|
|
27660
|
-
For more information, see `What is
|
|
27860
|
+
For more information, see `What is Nitro Enclaves? <https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html>`_ in the *AWS Nitro Enclaves User Guide* .
|
|
27661
27861
|
|
|
27662
27862
|
You can't enable AWS Nitro Enclaves and hibernation on the same instance.
|
|
27663
27863
|
|
|
@@ -27825,7 +28025,7 @@ class CfnLaunchTemplate(
|
|
|
27825
28025
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.MetadataOptionsProperty"]]:
|
|
27826
28026
|
'''The metadata options for the instance.
|
|
27827
28027
|
|
|
27828
|
-
For more information, see `Instance
|
|
28028
|
+
For more information, see `Configure the Instance Metadata Service options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html>`_ in the *Amazon EC2 User Guide* .
|
|
27829
28029
|
|
|
27830
28030
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions
|
|
27831
28031
|
'''
|
|
@@ -27932,9 +28132,9 @@ class CfnLaunchTemplate(
|
|
|
27932
28132
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
27933
28133
|
'''The user data to make available to the instance.
|
|
27934
28134
|
|
|
27935
|
-
You must provide base64-encoded text. User data is limited to 16 KB. For more information, see `Run commands
|
|
28135
|
+
You must provide base64-encoded text. User data is limited to 16 KB. For more information, see `Run commands when you launch an EC2 instance with user data input <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html>`_ in the *Amazon EC2 User Guide* .
|
|
27936
28136
|
|
|
27937
|
-
If you are creating the launch template for use with AWS Batch , the user data must be provided in the `MIME multi-part archive format <https://docs.aws.amazon.com/https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive>`_ . For more information, see `Amazon EC2 user data in launch templates <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html>`_ in the *AWS Batch User Guide* .
|
|
28137
|
+
If you are creating the launch template for use with AWS Batch , the user data must be provided in the `MIME multi-part archive format <https://docs.aws.amazon.com/https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive>`_ . For more information, see `Amazon EC2 user data in launch templates <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data>`_ in the *AWS Batch User Guide* .
|
|
27938
28138
|
|
|
27939
28139
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-userdata
|
|
27940
28140
|
'''
|
|
@@ -28398,7 +28598,7 @@ class CfnLaunchTemplate(
|
|
|
28398
28598
|
:param http_protocol_ipv6: Enables or disables the IPv6 endpoint for the instance metadata service. Default: ``disabled``
|
|
28399
28599
|
:param http_put_response_hop_limit: The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Default: ``1`` Possible values: Integers from 1 to 64
|
|
28400
28600
|
:param http_tokens: Indicates whether IMDSv2 is required. - ``optional`` - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. - ``required`` - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0`` , the default is ``required`` .
|
|
28401
|
-
:param instance_metadata_tags: Set to ``enabled`` to allow access to instance tags from the instance metadata. Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `
|
|
28601
|
+
:param instance_metadata_tags: Set to ``enabled`` to allow access to instance tags from the instance metadata. Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `View tags for your EC2 instances using instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html>`_ . Default: ``disabled``
|
|
28402
28602
|
|
|
28403
28603
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html
|
|
28404
28604
|
:exampleMetadata: fixture=_generated
|
|
@@ -28494,7 +28694,7 @@ class CfnLaunchTemplate(
|
|
|
28494
28694
|
def instance_metadata_tags(self) -> typing.Optional[builtins.str]:
|
|
28495
28695
|
'''Set to ``enabled`` to allow access to instance tags from the instance metadata.
|
|
28496
28696
|
|
|
28497
|
-
Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `
|
|
28697
|
+
Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `View tags for your EC2 instances using instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html>`_ .
|
|
28498
28698
|
|
|
28499
28699
|
Default: ``disabled``
|
|
28500
28700
|
|
|
@@ -28796,7 +28996,7 @@ class CfnLaunchTemplate(
|
|
|
28796
28996
|
:param device_index: The device index for the network interface attachment. If the network interface is of type ``interface`` , you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using the ``LaunchTemplate`` property of ``AWS::EC2::Instance`` , then you must include a primary network interface using the ``NetworkInterfaces`` property of ``AWS::EC2::Instance`` .
|
|
28797
28997
|
:param ena_srd_specification: The ENA Express configuration for the network interface.
|
|
28798
28998
|
:param groups: The IDs of one or more security groups.
|
|
28799
|
-
:param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. If you specify ``efa-only`` , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
28999
|
+
:param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. If you specify ``efa-only`` , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
28800
29000
|
:param ipv4_prefix_count: The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ``Ipv4Prefix`` option.
|
|
28801
29001
|
:param ipv4_prefixes: One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the ``Ipv4PrefixCount`` option.
|
|
28802
29002
|
:param ipv6_address_count: The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
|
|
@@ -29027,7 +29227,7 @@ class CfnLaunchTemplate(
|
|
|
29027
29227
|
def interface_type(self) -> typing.Optional[builtins.str]:
|
|
29028
29228
|
'''The type of network interface.
|
|
29029
29229
|
|
|
29030
|
-
To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* .
|
|
29230
|
+
To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* .
|
|
29031
29231
|
|
|
29032
29232
|
If you are not creating an EFA, specify ``interface`` or omit this parameter.
|
|
29033
29233
|
|
|
@@ -29661,7 +29861,7 @@ class CfnLaunchTemplate(
|
|
|
29661
29861
|
|
|
29662
29862
|
:param block_duration_minutes: Deprecated.
|
|
29663
29863
|
:param instance_interruption_behavior: The behavior when a Spot Instance is interrupted. The default is ``terminate`` .
|
|
29664
|
-
:param max_price: The maximum hourly price you're willing to pay for
|
|
29864
|
+
:param max_price: The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an ``InvalidParameterValue`` error message when the launch template is used to launch an instance. .. epigraph:: If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
|
|
29665
29865
|
:param spot_instance_type: The Spot Instance request type. If you are using Spot Instances with an Auto Scaling group, use ``one-time`` requests, as the Amazon EC2 Auto Scaling service handles requesting new Spot Instances whenever the group is below its desired capacity.
|
|
29666
29866
|
:param valid_until: The end date of the request, in UTC format ( *YYYY-MM-DD* T *HH:MM:SS* Z). Supported only for persistent requests. - For a persistent request, the request remains active until the ``ValidUntil`` date and time is reached. Otherwise, the request remains active until you cancel it. - For a one-time request, ``ValidUntil`` is not supported. The request remains active until all instances launch or you cancel the request. Default: 7 days from the current date
|
|
29667
29867
|
|
|
@@ -29723,9 +29923,9 @@ class CfnLaunchTemplate(
|
|
|
29723
29923
|
|
|
29724
29924
|
@builtins.property
|
|
29725
29925
|
def max_price(self) -> typing.Optional[builtins.str]:
|
|
29726
|
-
'''The maximum hourly price you're willing to pay for
|
|
29926
|
+
'''The maximum hourly price you're willing to pay for a Spot Instance.
|
|
29727
29927
|
|
|
29728
|
-
We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
|
|
29928
|
+
We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an ``InvalidParameterValue`` error message when the launch template is used to launch an instance.
|
|
29729
29929
|
.. epigraph::
|
|
29730
29930
|
|
|
29731
29931
|
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
|
|
@@ -41611,9 +41811,9 @@ class CfnSecurityGroup(
|
|
|
41611
41811
|
):
|
|
41612
41812
|
'''Specifies a security group.
|
|
41613
41813
|
|
|
41614
|
-
|
|
41814
|
+
You must specify ingress rules to allow inbound traffic. By default, no inbound traffic is allowed.
|
|
41615
41815
|
|
|
41616
|
-
If you do not specify an egress rule, we add egress rules that allow IPv4 and IPv6 traffic on all ports and protocols to any destination. We do not add these rules if you specify your own egress rules.
|
|
41816
|
+
If you do not specify an egress rule, we add egress rules that allow outbound IPv4 and IPv6 traffic on all ports and protocols to any destination. We do not add these rules if you specify your own egress rules.
|
|
41617
41817
|
|
|
41618
41818
|
This type supports updates. For more information about updating stacks, see `AWS CloudFormation Stacks Updates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html>`_ .
|
|
41619
41819
|
.. epigraph::
|
|
@@ -49346,6 +49546,7 @@ class CfnSubnet(
|
|
|
49346
49546
|
|
|
49347
49547
|
Example::
|
|
49348
49548
|
|
|
49549
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
49349
49550
|
# vpc: ec2.Vpc
|
|
49350
49551
|
|
|
49351
49552
|
|
|
@@ -49370,10 +49571,11 @@ class CfnSubnet(
|
|
|
49370
49571
|
subnetcount = subnetcount + 1
|
|
49371
49572
|
|
|
49372
49573
|
cluster = eks.Cluster(self, "hello-eks",
|
|
49373
|
-
version=eks.KubernetesVersion.
|
|
49574
|
+
version=eks.KubernetesVersion.V1_32,
|
|
49374
49575
|
vpc=vpc,
|
|
49375
49576
|
ip_family=eks.IpFamily.IP_V6,
|
|
49376
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
49577
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
49578
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
49377
49579
|
)
|
|
49378
49580
|
'''
|
|
49379
49581
|
|
|
@@ -57668,6 +57870,7 @@ class CfnVPCCidrBlock(
|
|
|
57668
57870
|
|
|
57669
57871
|
Example::
|
|
57670
57872
|
|
|
57873
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
57671
57874
|
# vpc: ec2.Vpc
|
|
57672
57875
|
|
|
57673
57876
|
|
|
@@ -57692,10 +57895,11 @@ class CfnVPCCidrBlock(
|
|
|
57692
57895
|
subnetcount = subnetcount + 1
|
|
57693
57896
|
|
|
57694
57897
|
cluster = eks.Cluster(self, "hello-eks",
|
|
57695
|
-
version=eks.KubernetesVersion.
|
|
57898
|
+
version=eks.KubernetesVersion.V1_32,
|
|
57696
57899
|
vpc=vpc,
|
|
57697
57900
|
ip_family=eks.IpFamily.IP_V6,
|
|
57698
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
57901
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
57902
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
57699
57903
|
)
|
|
57700
57904
|
'''
|
|
57701
57905
|
|
|
@@ -57724,7 +57928,7 @@ class CfnVPCCidrBlock(
|
|
|
57724
57928
|
:param ipv4_ipam_pool_id: Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57725
57929
|
:param ipv4_netmask_length: The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57726
57930
|
:param ipv6_cidr_block: An IPv6 CIDR block from the IPv6 address pool. You must also specify ``Ipv6Pool`` in the request. To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
|
57727
|
-
:param ipv6_cidr_block_network_border_group: The name of the location from which we advertise the IPV6 CIDR block.
|
|
57931
|
+
:param ipv6_cidr_block_network_border_group: The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location. You must set ``AmazonProvidedIpv6CidrBlock`` to ``true`` to use this parameter. You can have one IPv6 CIDR block association per network border group.
|
|
57728
57932
|
:param ipv6_ipam_pool_id: Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57729
57933
|
:param ipv6_netmask_length: The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57730
57934
|
:param ipv6_pool: The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
|
|
@@ -57995,7 +58199,7 @@ class CfnVPCCidrBlockProps:
|
|
|
57995
58199
|
:param ipv4_ipam_pool_id: Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57996
58200
|
:param ipv4_netmask_length: The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
57997
58201
|
:param ipv6_cidr_block: An IPv6 CIDR block from the IPv6 address pool. You must also specify ``Ipv6Pool`` in the request. To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
|
57998
|
-
:param ipv6_cidr_block_network_border_group: The name of the location from which we advertise the IPV6 CIDR block.
|
|
58202
|
+
:param ipv6_cidr_block_network_border_group: The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location. You must set ``AmazonProvidedIpv6CidrBlock`` to ``true`` to use this parameter. You can have one IPv6 CIDR block association per network border group.
|
|
57999
58203
|
:param ipv6_ipam_pool_id: Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
58000
58204
|
:param ipv6_netmask_length: The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see `What is IPAM? <https://docs.aws.amazon.com//vpc/latest/ipam/what-is-it-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
58001
58205
|
:param ipv6_pool: The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
|
|
@@ -58005,6 +58209,7 @@ class CfnVPCCidrBlockProps:
|
|
|
58005
58209
|
|
|
58006
58210
|
Example::
|
|
58007
58211
|
|
|
58212
|
+
from aws_cdk.lambda_layer_kubectl_v32 import KubectlV32Layer
|
|
58008
58213
|
# vpc: ec2.Vpc
|
|
58009
58214
|
|
|
58010
58215
|
|
|
@@ -58029,10 +58234,11 @@ class CfnVPCCidrBlockProps:
|
|
|
58029
58234
|
subnetcount = subnetcount + 1
|
|
58030
58235
|
|
|
58031
58236
|
cluster = eks.Cluster(self, "hello-eks",
|
|
58032
|
-
version=eks.KubernetesVersion.
|
|
58237
|
+
version=eks.KubernetesVersion.V1_32,
|
|
58033
58238
|
vpc=vpc,
|
|
58034
58239
|
ip_family=eks.IpFamily.IP_V6,
|
|
58035
|
-
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
58240
|
+
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)],
|
|
58241
|
+
kubectl_layer=KubectlV32Layer(self, "kubectl")
|
|
58036
58242
|
)
|
|
58037
58243
|
'''
|
|
58038
58244
|
if __debug__:
|
|
@@ -58138,6 +58344,12 @@ class CfnVPCCidrBlockProps:
|
|
|
58138
58344
|
def ipv6_cidr_block_network_border_group(self) -> typing.Optional[builtins.str]:
|
|
58139
58345
|
'''The name of the location from which we advertise the IPV6 CIDR block.
|
|
58140
58346
|
|
|
58347
|
+
Use this parameter to limit the CIDR block to this location.
|
|
58348
|
+
|
|
58349
|
+
You must set ``AmazonProvidedIpv6CidrBlock`` to ``true`` to use this parameter.
|
|
58350
|
+
|
|
58351
|
+
You can have one IPv6 CIDR block association per network border group.
|
|
58352
|
+
|
|
58141
58353
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6cidrblocknetworkbordergroup
|
|
58142
58354
|
'''
|
|
58143
58355
|
result = self._values.get("ipv6_cidr_block_network_border_group")
|
|
@@ -58451,7 +58663,7 @@ class CfnVPCEndpoint(
|
|
|
58451
58663
|
:param service_name: The name of the endpoint service.
|
|
58452
58664
|
:param service_network_arn: The Amazon Resource Name (ARN) of the service network.
|
|
58453
58665
|
:param subnet_ids: The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
|
|
58454
|
-
:param tags:
|
|
58666
|
+
:param tags: The tags to associate with the endpoint.
|
|
58455
58667
|
:param vpc_endpoint_type: The type of endpoint. Default: Gateway
|
|
58456
58668
|
'''
|
|
58457
58669
|
if __debug__:
|
|
@@ -58727,6 +58939,7 @@ class CfnVPCEndpoint(
|
|
|
58727
58939
|
@builtins.property
|
|
58728
58940
|
@jsii.member(jsii_name="tags")
|
|
58729
58941
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
58942
|
+
'''The tags to associate with the endpoint.'''
|
|
58730
58943
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
58731
58944
|
|
|
58732
58945
|
@tags.setter
|
|
@@ -59148,7 +59361,7 @@ class CfnVPCEndpointProps:
|
|
|
59148
59361
|
:param service_name: The name of the endpoint service.
|
|
59149
59362
|
:param service_network_arn: The Amazon Resource Name (ARN) of the service network.
|
|
59150
59363
|
:param subnet_ids: The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
|
|
59151
|
-
:param tags:
|
|
59364
|
+
:param tags: The tags to associate with the endpoint.
|
|
59152
59365
|
:param vpc_endpoint_type: The type of endpoint. Default: Gateway
|
|
59153
59366
|
|
|
59154
59367
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html
|
|
@@ -59355,7 +59568,8 @@ class CfnVPCEndpointProps:
|
|
|
59355
59568
|
|
|
59356
59569
|
@builtins.property
|
|
59357
59570
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
59358
|
-
'''
|
|
59571
|
+
'''The tags to associate with the endpoint.
|
|
59572
|
+
|
|
59359
59573
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-tags
|
|
59360
59574
|
'''
|
|
59361
59575
|
result = self._values.get("tags")
|
|
@@ -59442,7 +59656,7 @@ class CfnVPCEndpointService(
|
|
|
59442
59656
|
:param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
|
59443
59657
|
:param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
|
59444
59658
|
:param payer_responsibility: The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
|
|
59445
|
-
:param tags: The tags to
|
|
59659
|
+
:param tags: The tags to associate with the service.
|
|
59446
59660
|
'''
|
|
59447
59661
|
if __debug__:
|
|
59448
59662
|
type_hints = typing.get_type_hints(_typecheckingstub__bd65bb2d0beb1d62ef8b72a33a352ac48e00600bc2b025bdec06b82cf7cf57ee)
|
|
@@ -59593,7 +59807,7 @@ class CfnVPCEndpointService(
|
|
|
59593
59807
|
@builtins.property
|
|
59594
59808
|
@jsii.member(jsii_name="tags")
|
|
59595
59809
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
59596
|
-
'''The tags to
|
|
59810
|
+
'''The tags to associate with the service.'''
|
|
59597
59811
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
59598
59812
|
|
|
59599
59813
|
@tags.setter
|
|
@@ -59830,7 +60044,7 @@ class CfnVPCEndpointServiceProps:
|
|
|
59830
60044
|
:param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
|
59831
60045
|
:param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
|
59832
60046
|
:param payer_responsibility: The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
|
|
59833
|
-
:param tags: The tags to
|
|
60047
|
+
:param tags: The tags to associate with the service.
|
|
59834
60048
|
|
|
59835
60049
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html
|
|
59836
60050
|
:exampleMetadata: fixture=_generated
|
|
@@ -59928,7 +60142,7 @@ class CfnVPCEndpointServiceProps:
|
|
|
59928
60142
|
|
|
59929
60143
|
@builtins.property
|
|
59930
60144
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
59931
|
-
'''The tags to
|
|
60145
|
+
'''The tags to associate with the service.
|
|
59932
60146
|
|
|
59933
60147
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-tags
|
|
59934
60148
|
'''
|
|
@@ -63628,11 +63842,11 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63628
63842
|
protocol: typing.Optional[builtins.str] = None,
|
|
63629
63843
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
63630
63844
|
) -> None:
|
|
63631
|
-
'''
|
|
63845
|
+
'''Describes the CIDR options for a Verified Access endpoint.
|
|
63632
63846
|
|
|
63633
|
-
:param cidr: The
|
|
63634
|
-
:param port_ranges: The
|
|
63635
|
-
:param protocol: The
|
|
63847
|
+
:param cidr: The CIDR.
|
|
63848
|
+
:param port_ranges: The port ranges.
|
|
63849
|
+
:param protocol: The protocol.
|
|
63636
63850
|
:param subnet_ids: The IDs of the subnets.
|
|
63637
63851
|
|
|
63638
63852
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html
|
|
@@ -63672,7 +63886,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63672
63886
|
|
|
63673
63887
|
@builtins.property
|
|
63674
63888
|
def cidr(self) -> typing.Optional[builtins.str]:
|
|
63675
|
-
'''The
|
|
63889
|
+
'''The CIDR.
|
|
63676
63890
|
|
|
63677
63891
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-cidr
|
|
63678
63892
|
'''
|
|
@@ -63683,7 +63897,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63683
63897
|
def port_ranges(
|
|
63684
63898
|
self,
|
|
63685
63899
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
|
|
63686
|
-
'''The
|
|
63900
|
+
'''The port ranges.
|
|
63687
63901
|
|
|
63688
63902
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-portranges
|
|
63689
63903
|
'''
|
|
@@ -63692,7 +63906,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63692
63906
|
|
|
63693
63907
|
@builtins.property
|
|
63694
63908
|
def protocol(self) -> typing.Optional[builtins.str]:
|
|
63695
|
-
'''The
|
|
63909
|
+
'''The protocol.
|
|
63696
63910
|
|
|
63697
63911
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-protocol
|
|
63698
63912
|
'''
|
|
@@ -63744,9 +63958,9 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63744
63958
|
|
|
63745
63959
|
:param load_balancer_arn: The ARN of the load balancer.
|
|
63746
63960
|
:param port: The IP port number.
|
|
63747
|
-
:param port_ranges: The
|
|
63961
|
+
:param port_ranges: The port ranges.
|
|
63748
63962
|
:param protocol: The IP protocol.
|
|
63749
|
-
:param subnet_ids: The IDs of the subnets.
|
|
63963
|
+
:param subnet_ids: The IDs of the subnets. You can specify only one subnet per Availability Zone.
|
|
63750
63964
|
|
|
63751
63965
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html
|
|
63752
63966
|
:exampleMetadata: fixture=_generated
|
|
@@ -63809,7 +64023,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63809
64023
|
def port_ranges(
|
|
63810
64024
|
self,
|
|
63811
64025
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
|
|
63812
|
-
'''The
|
|
64026
|
+
'''The port ranges.
|
|
63813
64027
|
|
|
63814
64028
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-portranges
|
|
63815
64029
|
'''
|
|
@@ -63829,6 +64043,8 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63829
64043
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
63830
64044
|
'''The IDs of the subnets.
|
|
63831
64045
|
|
|
64046
|
+
You can specify only one subnet per Availability Zone.
|
|
64047
|
+
|
|
63832
64048
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-subnetids
|
|
63833
64049
|
'''
|
|
63834
64050
|
result = self._values.get("subnet_ids")
|
|
@@ -63868,7 +64084,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63868
64084
|
|
|
63869
64085
|
:param network_interface_id: The ID of the network interface.
|
|
63870
64086
|
:param port: The IP port number.
|
|
63871
|
-
:param port_ranges: The
|
|
64087
|
+
:param port_ranges: The port ranges.
|
|
63872
64088
|
:param protocol: The IP protocol.
|
|
63873
64089
|
|
|
63874
64090
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html
|
|
@@ -63928,7 +64144,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63928
64144
|
def port_ranges(
|
|
63929
64145
|
self,
|
|
63930
64146
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
|
|
63931
|
-
'''The
|
|
64147
|
+
'''The port ranges.
|
|
63932
64148
|
|
|
63933
64149
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-portranges
|
|
63934
64150
|
'''
|
|
@@ -63967,10 +64183,10 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63967
64183
|
from_port: typing.Optional[jsii.Number] = None,
|
|
63968
64184
|
to_port: typing.Optional[jsii.Number] = None,
|
|
63969
64185
|
) -> None:
|
|
63970
|
-
'''Describes
|
|
64186
|
+
'''Describes the port range for a Verified Access endpoint.
|
|
63971
64187
|
|
|
63972
|
-
:param from_port: The
|
|
63973
|
-
:param to_port: The
|
|
64188
|
+
:param from_port: The start of the port range.
|
|
64189
|
+
:param to_port: The end of the port range.
|
|
63974
64190
|
|
|
63975
64191
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html
|
|
63976
64192
|
:exampleMetadata: fixture=_generated
|
|
@@ -63998,7 +64214,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
63998
64214
|
|
|
63999
64215
|
@builtins.property
|
|
64000
64216
|
def from_port(self) -> typing.Optional[jsii.Number]:
|
|
64001
|
-
'''The
|
|
64217
|
+
'''The start of the port range.
|
|
64002
64218
|
|
|
64003
64219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-fromport
|
|
64004
64220
|
'''
|
|
@@ -64007,7 +64223,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64007
64223
|
|
|
64008
64224
|
@builtins.property
|
|
64009
64225
|
def to_port(self) -> typing.Optional[jsii.Number]:
|
|
64010
|
-
'''The
|
|
64226
|
+
'''The end of the port range.
|
|
64011
64227
|
|
|
64012
64228
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-toport
|
|
64013
64229
|
'''
|
|
@@ -64050,15 +64266,15 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64050
64266
|
rds_endpoint: typing.Optional[builtins.str] = None,
|
|
64051
64267
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
64052
64268
|
) -> None:
|
|
64053
|
-
'''
|
|
64269
|
+
'''Describes the RDS options for a Verified Access endpoint.
|
|
64054
64270
|
|
|
64055
|
-
:param port: The
|
|
64056
|
-
:param protocol: The
|
|
64057
|
-
:param rds_db_cluster_arn: The ARN of the
|
|
64058
|
-
:param rds_db_instance_arn: The ARN of the RDS
|
|
64059
|
-
:param rds_db_proxy_arn: The ARN of the RDS
|
|
64271
|
+
:param port: The port.
|
|
64272
|
+
:param protocol: The protocol.
|
|
64273
|
+
:param rds_db_cluster_arn: The ARN of the DB cluster.
|
|
64274
|
+
:param rds_db_instance_arn: The ARN of the RDS instance.
|
|
64275
|
+
:param rds_db_proxy_arn: The ARN of the RDS proxy.
|
|
64060
64276
|
:param rds_endpoint: The RDS endpoint.
|
|
64061
|
-
:param subnet_ids: The IDs of the subnets.
|
|
64277
|
+
:param subnet_ids: The IDs of the subnets. You can specify only one subnet per Availability Zone.
|
|
64062
64278
|
|
|
64063
64279
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html
|
|
64064
64280
|
:exampleMetadata: fixture=_generated
|
|
@@ -64106,7 +64322,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64106
64322
|
|
|
64107
64323
|
@builtins.property
|
|
64108
64324
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
64109
|
-
'''The
|
|
64325
|
+
'''The port.
|
|
64110
64326
|
|
|
64111
64327
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-port
|
|
64112
64328
|
'''
|
|
@@ -64115,7 +64331,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64115
64331
|
|
|
64116
64332
|
@builtins.property
|
|
64117
64333
|
def protocol(self) -> typing.Optional[builtins.str]:
|
|
64118
|
-
'''The
|
|
64334
|
+
'''The protocol.
|
|
64119
64335
|
|
|
64120
64336
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-protocol
|
|
64121
64337
|
'''
|
|
@@ -64124,7 +64340,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64124
64340
|
|
|
64125
64341
|
@builtins.property
|
|
64126
64342
|
def rds_db_cluster_arn(self) -> typing.Optional[builtins.str]:
|
|
64127
|
-
'''The ARN of the
|
|
64343
|
+
'''The ARN of the DB cluster.
|
|
64128
64344
|
|
|
64129
64345
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbclusterarn
|
|
64130
64346
|
'''
|
|
@@ -64133,7 +64349,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64133
64349
|
|
|
64134
64350
|
@builtins.property
|
|
64135
64351
|
def rds_db_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
64136
|
-
'''The ARN of the RDS
|
|
64352
|
+
'''The ARN of the RDS instance.
|
|
64137
64353
|
|
|
64138
64354
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbinstancearn
|
|
64139
64355
|
'''
|
|
@@ -64142,7 +64358,7 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64142
64358
|
|
|
64143
64359
|
@builtins.property
|
|
64144
64360
|
def rds_db_proxy_arn(self) -> typing.Optional[builtins.str]:
|
|
64145
|
-
'''The ARN of the RDS
|
|
64361
|
+
'''The ARN of the RDS proxy.
|
|
64146
64362
|
|
|
64147
64363
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbproxyarn
|
|
64148
64364
|
'''
|
|
@@ -64162,6 +64378,8 @@ class CfnVerifiedAccessEndpoint(
|
|
|
64162
64378
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
64163
64379
|
'''The IDs of the subnets.
|
|
64164
64380
|
|
|
64381
|
+
You can specify only one subnet per Availability Zone.
|
|
64382
|
+
|
|
64165
64383
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-subnetids
|
|
64166
64384
|
'''
|
|
64167
64385
|
result = self._values.get("subnet_ids")
|
|
@@ -65222,7 +65440,7 @@ class CfnVerifiedAccessInstance(
|
|
|
65222
65440
|
def attr_cidr_endpoints_custom_sub_domain_name_servers(
|
|
65223
65441
|
self,
|
|
65224
65442
|
) -> typing.List[builtins.str]:
|
|
65225
|
-
'''
|
|
65443
|
+
'''The name servers.
|
|
65226
65444
|
|
|
65227
65445
|
:cloudformationAttribute: CidrEndpointsCustomSubDomainNameServers
|
|
65228
65446
|
'''
|
|
@@ -66518,7 +66736,7 @@ class CfnVerifiedAccessTrustProvider(
|
|
|
66518
66736
|
|
|
66519
66737
|
:param authorization_endpoint: The authorization endpoint of the IdP.
|
|
66520
66738
|
:param client_id: The OAuth 2.0 client identifier.
|
|
66521
|
-
:param client_secret: The client secret.
|
|
66739
|
+
:param client_secret: The OAuth 2.0 client secret.
|
|
66522
66740
|
:param issuer: The OIDC issuer identifier of the IdP.
|
|
66523
66741
|
:param public_signing_key_endpoint: The public signing key endpoint.
|
|
66524
66742
|
:param scope: The set of user claims to be requested from the IdP.
|
|
@@ -66593,7 +66811,7 @@ class CfnVerifiedAccessTrustProvider(
|
|
|
66593
66811
|
|
|
66594
66812
|
@builtins.property
|
|
66595
66813
|
def client_secret(self) -> typing.Optional[builtins.str]:
|
|
66596
|
-
'''The client secret.
|
|
66814
|
+
'''The OAuth 2.0 client secret.
|
|
66597
66815
|
|
|
66598
66816
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-clientsecret
|
|
66599
66817
|
'''
|
|
@@ -76609,20 +76827,19 @@ class Instance(
|
|
|
76609
76827
|
|
|
76610
76828
|
Example::
|
|
76611
76829
|
|
|
76612
|
-
#
|
|
76830
|
+
# Creates a distribution from an EC2 instance
|
|
76831
|
+
# vpc: ec2.Vpc
|
|
76613
76832
|
|
|
76614
|
-
|
|
76833
|
+
# Create an EC2 instance in a VPC. 'subnetType' can be private.
|
|
76834
|
+
instance = ec2.Instance(self, "Instance",
|
|
76615
76835
|
vpc=vpc,
|
|
76616
|
-
|
|
76836
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.MICRO),
|
|
76837
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
76838
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)
|
|
76617
76839
|
)
|
|
76618
|
-
|
|
76619
|
-
|
|
76620
|
-
instance = ec2.Instance(self, "targetInstance",
|
|
76621
|
-
vpc=vpc,
|
|
76622
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
|
|
76623
|
-
machine_image=ec2.AmazonLinuxImage(generation=ec2.AmazonLinuxGeneration.AMAZON_LINUX_2)
|
|
76840
|
+
cloudfront.Distribution(self, "myDist",
|
|
76841
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origins.VpcOrigin.with_ec2_instance(instance))
|
|
76624
76842
|
)
|
|
76625
|
-
lb.add_target(elb.InstanceTarget(instance))
|
|
76626
76843
|
'''
|
|
76627
76844
|
|
|
76628
76845
|
def __init__(
|
|
@@ -76945,17 +77162,18 @@ class InstanceClass(enum.Enum):
|
|
|
76945
77162
|
|
|
76946
77163
|
Example::
|
|
76947
77164
|
|
|
77165
|
+
# Creates a distribution from an EC2 instance
|
|
76948
77166
|
# vpc: ec2.Vpc
|
|
76949
77167
|
|
|
76950
|
-
instance
|
|
76951
|
-
|
|
76952
|
-
# optional, defaults to m5.large
|
|
76953
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL),
|
|
76954
|
-
credentials=rds.Credentials.from_generated_secret("syscdk"), # Optional - will default to 'admin' username and generated password
|
|
77168
|
+
# Create an EC2 instance in a VPC. 'subnetType' can be private.
|
|
77169
|
+
instance = ec2.Instance(self, "Instance",
|
|
76955
77170
|
vpc=vpc,
|
|
76956
|
-
|
|
76957
|
-
|
|
76958
|
-
)
|
|
77171
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.MICRO),
|
|
77172
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
77173
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)
|
|
77174
|
+
)
|
|
77175
|
+
cloudfront.Distribution(self, "myDist",
|
|
77176
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origins.VpcOrigin.with_ec2_instance(instance))
|
|
76959
77177
|
)
|
|
76960
77178
|
'''
|
|
76961
77179
|
|
|
@@ -77725,20 +77943,19 @@ class InstanceProps:
|
|
|
77725
77943
|
|
|
77726
77944
|
Example::
|
|
77727
77945
|
|
|
77728
|
-
#
|
|
77946
|
+
# Creates a distribution from an EC2 instance
|
|
77947
|
+
# vpc: ec2.Vpc
|
|
77729
77948
|
|
|
77730
|
-
|
|
77949
|
+
# Create an EC2 instance in a VPC. 'subnetType' can be private.
|
|
77950
|
+
instance = ec2.Instance(self, "Instance",
|
|
77731
77951
|
vpc=vpc,
|
|
77732
|
-
|
|
77952
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.MICRO),
|
|
77953
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
77954
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)
|
|
77733
77955
|
)
|
|
77734
|
-
|
|
77735
|
-
|
|
77736
|
-
instance = ec2.Instance(self, "targetInstance",
|
|
77737
|
-
vpc=vpc,
|
|
77738
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
|
|
77739
|
-
machine_image=ec2.AmazonLinuxImage(generation=ec2.AmazonLinuxGeneration.AMAZON_LINUX_2)
|
|
77956
|
+
cloudfront.Distribution(self, "myDist",
|
|
77957
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origins.VpcOrigin.with_ec2_instance(instance))
|
|
77740
77958
|
)
|
|
77741
|
-
lb.add_target(elb.InstanceTarget(instance))
|
|
77742
77959
|
'''
|
|
77743
77960
|
if isinstance(init_options, dict):
|
|
77744
77961
|
init_options = ApplyCloudFormationInitOptions(**init_options)
|
|
@@ -78417,17 +78634,18 @@ class InstanceSize(enum.Enum):
|
|
|
78417
78634
|
|
|
78418
78635
|
Example::
|
|
78419
78636
|
|
|
78637
|
+
# Creates a distribution from an EC2 instance
|
|
78420
78638
|
# vpc: ec2.Vpc
|
|
78421
78639
|
|
|
78422
|
-
instance
|
|
78423
|
-
|
|
78424
|
-
# optional, defaults to m5.large
|
|
78425
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL),
|
|
78426
|
-
credentials=rds.Credentials.from_generated_secret("syscdk"), # Optional - will default to 'admin' username and generated password
|
|
78640
|
+
# Create an EC2 instance in a VPC. 'subnetType' can be private.
|
|
78641
|
+
instance = ec2.Instance(self, "Instance",
|
|
78427
78642
|
vpc=vpc,
|
|
78428
|
-
|
|
78429
|
-
|
|
78430
|
-
)
|
|
78643
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.MICRO),
|
|
78644
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
78645
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)
|
|
78646
|
+
)
|
|
78647
|
+
cloudfront.Distribution(self, "myDist",
|
|
78648
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origins.VpcOrigin.with_ec2_instance(instance))
|
|
78431
78649
|
)
|
|
78432
78650
|
'''
|
|
78433
78651
|
|
|
@@ -79982,9 +80200,19 @@ class InterfaceVpcEndpointAwsService(
|
|
|
79982
80200
|
def PAYMENT_CRYPTOGRAPHY_CONTROLPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79983
80201
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYPTOGRAPHY_CONTROLPLANE"))
|
|
79984
80202
|
|
|
80203
|
+
@jsii.python.classproperty
|
|
80204
|
+
@jsii.member(jsii_name="PAYMENT_CRYPTOGRAPHY_DATAPLANE")
|
|
80205
|
+
def PAYMENT_CRYPTOGRAPHY_DATAPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80206
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYPTOGRAPHY_DATAPLANE"))
|
|
80207
|
+
|
|
79985
80208
|
@jsii.python.classproperty
|
|
79986
80209
|
@jsii.member(jsii_name="PAYMENT_CRYTOGRAPHY_DATAPLANE")
|
|
79987
80210
|
def PAYMENT_CRYTOGRAPHY_DATAPLANE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80211
|
+
'''
|
|
80212
|
+
:deprecated: - Use InterfaceVpcEndpointAwsService.PAYMENT_CRYPTOGRAPHY_DATAPLANE instead.
|
|
80213
|
+
|
|
80214
|
+
:stability: deprecated
|
|
80215
|
+
'''
|
|
79988
80216
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "PAYMENT_CRYTOGRAPHY_DATAPLANE"))
|
|
79989
80217
|
|
|
79990
80218
|
@jsii.python.classproperty
|
|
@@ -85539,20 +85767,17 @@ class Peer(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Peer"):
|
|
|
85539
85767
|
|
|
85540
85768
|
Example::
|
|
85541
85769
|
|
|
85542
|
-
#
|
|
85770
|
+
# instance_type: ec2.InstanceType
|
|
85543
85771
|
|
|
85544
|
-
cluster = msk.Cluster(self, "Cluster",
|
|
85545
|
-
cluster_name="myCluster",
|
|
85546
|
-
kafka_version=msk.KafkaVersion.V2_8_1,
|
|
85547
|
-
vpc=vpc
|
|
85548
|
-
)
|
|
85549
85772
|
|
|
85550
|
-
|
|
85551
|
-
|
|
85552
|
-
ec2.
|
|
85553
|
-
|
|
85554
|
-
|
|
85555
|
-
|
|
85773
|
+
provider = ec2.NatProvider.instance_v2(
|
|
85774
|
+
instance_type=instance_type,
|
|
85775
|
+
default_allowed_traffic=ec2.NatTrafficDirection.OUTBOUND_ONLY
|
|
85776
|
+
)
|
|
85777
|
+
ec2.Vpc(self, "TheVPC",
|
|
85778
|
+
nat_gateway_provider=provider
|
|
85779
|
+
)
|
|
85780
|
+
provider.connections.allow_from(ec2.Peer.ipv4("1.2.3.4/8"), ec2.Port.HTTP)
|
|
85556
85781
|
'''
|
|
85557
85782
|
|
|
85558
85783
|
def __init__(self) -> None:
|
|
@@ -87301,7 +87526,7 @@ class SecurityGroup(
|
|
|
87301
87526
|
:param allow_all_ipv6_outbound: Whether to allow all outbound ipv6 traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If this is set to false, no outbound traffic will be allowed by default and all egress ipv6 traffic must be explicitly authorized. To allow all ipv4 traffic use allowAllOutbound Default: false
|
|
87302
87527
|
:param allow_all_outbound: Whether to allow all outbound traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized. To allow all ipv6 traffic use allowAllIpv6Outbound Default: true
|
|
87303
87528
|
:param description: A description of the security group. Default: The default name will be the construct's CDK path.
|
|
87304
|
-
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be
|
|
87529
|
+
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be overridden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'. Default: false
|
|
87305
87530
|
:param security_group_name: The name of the security group. For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference. It is not recommended to use an explicit group name. Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
|
|
87306
87531
|
'''
|
|
87307
87532
|
if __debug__:
|
|
@@ -87729,7 +87954,7 @@ class SecurityGroupProps:
|
|
|
87729
87954
|
:param allow_all_ipv6_outbound: Whether to allow all outbound ipv6 traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If this is set to false, no outbound traffic will be allowed by default and all egress ipv6 traffic must be explicitly authorized. To allow all ipv4 traffic use allowAllOutbound Default: false
|
|
87730
87955
|
:param allow_all_outbound: Whether to allow all outbound traffic by default. If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized. To allow all ipv6 traffic use allowAllIpv6Outbound Default: true
|
|
87731
87956
|
:param description: A description of the security group. Default: The default name will be the construct's CDK path.
|
|
87732
|
-
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be
|
|
87957
|
+
:param disable_inline_rules: Whether to disable inline ingress and egress rule optimization. If this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements. Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags. The default value can be overridden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'. Default: false
|
|
87733
87958
|
:param security_group_name: The name of the security group. For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference. It is not recommended to use an explicit group name. Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
|
|
87734
87959
|
|
|
87735
87960
|
:exampleMetadata: infused
|
|
@@ -87739,13 +87964,19 @@ class SecurityGroupProps:
|
|
|
87739
87964
|
# vpc: ec2.Vpc
|
|
87740
87965
|
|
|
87741
87966
|
|
|
87742
|
-
|
|
87743
|
-
|
|
87744
|
-
vpc=vpc,
|
|
87745
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
|
|
87746
|
-
machine_image=ec2.MachineImage.latest_amazon_linux2(),
|
|
87747
|
-
security_group=my_security_group
|
|
87967
|
+
sg1 = ec2.SecurityGroup(self, "sg1",
|
|
87968
|
+
vpc=vpc
|
|
87748
87969
|
)
|
|
87970
|
+
sg2 = ec2.SecurityGroup(self, "sg2",
|
|
87971
|
+
vpc=vpc
|
|
87972
|
+
)
|
|
87973
|
+
|
|
87974
|
+
launch_template = ec2.LaunchTemplate(self, "LaunchTemplate",
|
|
87975
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
87976
|
+
security_group=sg1
|
|
87977
|
+
)
|
|
87978
|
+
|
|
87979
|
+
launch_template.add_security_group(sg2)
|
|
87749
87980
|
'''
|
|
87750
87981
|
if __debug__:
|
|
87751
87982
|
type_hints = typing.get_type_hints(_typecheckingstub__4e55e0c52b51f92e83b1f8d6b7a5b22268d0369a14dab808b8f2f5f233e5b622)
|
|
@@ -87825,7 +88056,7 @@ class SecurityGroupProps:
|
|
|
87825
88056
|
Inlining rules is an optimization for producing smaller stack templates. Sometimes
|
|
87826
88057
|
this is not desirable, for example when security group access is managed via tags.
|
|
87827
88058
|
|
|
87828
|
-
The default value can be
|
|
88059
|
+
The default value can be overridden globally by setting the context variable
|
|
87829
88060
|
'@aws-cdk/aws-ec2.securityGroupDisableInlineRules'.
|
|
87830
88061
|
|
|
87831
88062
|
:default: false
|
|
@@ -94226,6 +94457,17 @@ class WindowsVersion(enum.Enum):
|
|
|
94226
94457
|
WINDOWS_SERVER_2022_ENGLISH_FULL_SQL_2022_STANDARD = "WINDOWS_SERVER_2022_ENGLISH_FULL_SQL_2022_STANDARD"
|
|
94227
94458
|
WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_STANDARD = "WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_STANDARD"
|
|
94228
94459
|
WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_ENTERPRISE = "WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_ENTERPRISE"
|
|
94460
|
+
WINDOWS_SERVER_2025_CHINESE_SIMPLIFIED_FULL_BASE = "WINDOWS_SERVER_2025_CHINESE_SIMPLIFIED_FULL_BASE"
|
|
94461
|
+
'''2025 - Start.'''
|
|
94462
|
+
WINDOWS_SERVER_2025_CHINESE_TRADITIONAL_FULL_BASE = "WINDOWS_SERVER_2025_CHINESE_TRADITIONAL_FULL_BASE"
|
|
94463
|
+
WINDOWS_SERVER_2025_ENGLISH_CORE_BASE = "WINDOWS_SERVER_2025_ENGLISH_CORE_BASE"
|
|
94464
|
+
WINDOWS_SERVER_2025_ENGLISH_FULL_BASE = "WINDOWS_SERVER_2025_ENGLISH_FULL_BASE"
|
|
94465
|
+
WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_ENTERPRISE = "WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_ENTERPRISE"
|
|
94466
|
+
WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_EXPRESS = "WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_EXPRESS"
|
|
94467
|
+
WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_STANDARD = "WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_STANDARD"
|
|
94468
|
+
WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_WEB = "WINDOWS_SERVER_2025_ENGLISH_FULL_SQL_2022_WEB"
|
|
94469
|
+
WINDOWS_SERVER_2025_JAPANESE_FULL_BASE = "WINDOWS_SERVER_2025_JAPANESE_FULL_BASE"
|
|
94470
|
+
WINDOWS_SERVER_2025_KOREAN_FULL_BASE = "WINDOWS_SERVER_2025_KOREAN_FULL_BASE"
|
|
94229
94471
|
|
|
94230
94472
|
|
|
94231
94473
|
@jsii.data_type(
|
|
@@ -101899,6 +102141,7 @@ def _typecheckingstub__5dd8d015864426e689ac2f72f1fdd70371d242931964ab4d571ea5601
|
|
|
101899
102141
|
scope: _constructs_77d1e7e8.Construct,
|
|
101900
102142
|
id: builtins.str,
|
|
101901
102143
|
*,
|
|
102144
|
+
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,
|
|
101902
102145
|
description: typing.Optional[builtins.str] = None,
|
|
101903
102146
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
101904
102147
|
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,
|
|
@@ -101920,6 +102163,12 @@ def _typecheckingstub__901ef9223e06c12f769b4bd36857fd88adae614a05385d54a0dd6f535
|
|
|
101920
102163
|
"""Type checking stubs"""
|
|
101921
102164
|
pass
|
|
101922
102165
|
|
|
102166
|
+
def _typecheckingstub__df7dc542d06b2df113e30582e811e678d8d8aa54b5759d2ebb6ea3563a53a791(
|
|
102167
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAM.IpamOrganizationalUnitExclusionProperty]]]],
|
|
102168
|
+
) -> None:
|
|
102169
|
+
"""Type checking stubs"""
|
|
102170
|
+
pass
|
|
102171
|
+
|
|
101923
102172
|
def _typecheckingstub__959c716c17871ad25c09c928583239d9973366c81c48b69bfc39c5c2a70898ce(
|
|
101924
102173
|
value: typing.Optional[builtins.str],
|
|
101925
102174
|
) -> None:
|
|
@@ -101957,6 +102206,13 @@ def _typecheckingstub__76ae7ea9478fca86299eafd84b20c22db0b753cea0096278a3be708fd
|
|
|
101957
102206
|
"""Type checking stubs"""
|
|
101958
102207
|
pass
|
|
101959
102208
|
|
|
102209
|
+
def _typecheckingstub__3a1e082fe403508d7f87288dfed02281b9ed00551965db1ff48cbbe30d9d4b25(
|
|
102210
|
+
*,
|
|
102211
|
+
organizations_entity_path: builtins.str,
|
|
102212
|
+
) -> None:
|
|
102213
|
+
"""Type checking stubs"""
|
|
102214
|
+
pass
|
|
102215
|
+
|
|
101960
102216
|
def _typecheckingstub__ea7a8d7dc762f36c7c42acf390ff33a5d901404e11e9316d7df8d7c29c9e6af0(
|
|
101961
102217
|
scope: _constructs_77d1e7e8.Construct,
|
|
101962
102218
|
id: builtins.str,
|
|
@@ -102238,6 +102494,7 @@ def _typecheckingstub__c42f207097d7881d4b52878ebd2ec0ae90f2bf68e18d515c40977733d
|
|
|
102238
102494
|
|
|
102239
102495
|
def _typecheckingstub__f1252b3f41198f9c0d9b0c751334626e1084e0106d3be9d92d77200730b95e90(
|
|
102240
102496
|
*,
|
|
102497
|
+
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,
|
|
102241
102498
|
description: typing.Optional[builtins.str] = None,
|
|
102242
102499
|
enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
102243
102500
|
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,
|
|
@@ -102253,6 +102510,7 @@ def _typecheckingstub__b9865e76fdfd7caecfedb4df232a297c92dc11c534785272c111c4d0b
|
|
|
102253
102510
|
*,
|
|
102254
102511
|
description: typing.Optional[builtins.str] = None,
|
|
102255
102512
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
102513
|
+
organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
102256
102514
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
102257
102515
|
) -> None:
|
|
102258
102516
|
"""Type checking stubs"""
|
|
@@ -102282,6 +102540,12 @@ def _typecheckingstub__08b5ef93b946df5cb347a5d9e125f158c9a540a9ac51f8d045f6c3951
|
|
|
102282
102540
|
"""Type checking stubs"""
|
|
102283
102541
|
pass
|
|
102284
102542
|
|
|
102543
|
+
def _typecheckingstub__0f878fbe931fb7dc474a97e5f158b779f737ec5e5643363296656c4a479af6ae(
|
|
102544
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty]]]],
|
|
102545
|
+
) -> None:
|
|
102546
|
+
"""Type checking stubs"""
|
|
102547
|
+
pass
|
|
102548
|
+
|
|
102285
102549
|
def _typecheckingstub__6e5af2028bd620ac6af11e15ae308dbbee822aa725e6ce8b9b68acafc97810a0(
|
|
102286
102550
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
102287
102551
|
) -> None:
|
|
@@ -102295,6 +102559,13 @@ def _typecheckingstub__fffd1bd7ad0ffb1481907684f9ea6caa474483fe9be95e99ef7b5bd42
|
|
|
102295
102559
|
"""Type checking stubs"""
|
|
102296
102560
|
pass
|
|
102297
102561
|
|
|
102562
|
+
def _typecheckingstub__ccd001ab1c5cbf012c760b05292306e2019f0f9adffc25c67a35cfb3050d8d9f(
|
|
102563
|
+
*,
|
|
102564
|
+
organizations_entity_path: builtins.str,
|
|
102565
|
+
) -> None:
|
|
102566
|
+
"""Type checking stubs"""
|
|
102567
|
+
pass
|
|
102568
|
+
|
|
102298
102569
|
def _typecheckingstub__fd4a98893481afc827d51d87886f223e1b30f0a19b4c90a338e76e2be3699926(
|
|
102299
102570
|
scope: _constructs_77d1e7e8.Construct,
|
|
102300
102571
|
id: builtins.str,
|
|
@@ -102349,6 +102620,7 @@ def _typecheckingstub__f109dd2c7d7c94b25622dd13433c13abb153fa5092da9272630e94ba4
|
|
|
102349
102620
|
*,
|
|
102350
102621
|
description: typing.Optional[builtins.str] = None,
|
|
102351
102622
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
102623
|
+
organizational_unit_exclusions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
102352
102624
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
102353
102625
|
) -> None:
|
|
102354
102626
|
"""Type checking stubs"""
|