aws-cdk-lib 2.179.0__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.

Files changed (62) hide show
  1. aws_cdk/__init__.py +14 -6
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +47 -0
  5. aws_cdk/aws_apigateway/__init__.py +6 -6
  6. aws_cdk/aws_appsync/__init__.py +4 -3
  7. aws_cdk/aws_backup/__init__.py +89 -0
  8. aws_cdk/aws_batch/__init__.py +89 -50
  9. aws_cdk/aws_bedrock/__init__.py +506 -62
  10. aws_cdk/aws_cloudfront/__init__.py +1046 -155
  11. aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
  12. aws_cdk/aws_cloudtrail/__init__.py +4 -8
  13. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  14. aws_cdk/aws_codebuild/__init__.py +2 -2
  15. aws_cdk/aws_codepipeline/__init__.py +24 -0
  16. aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
  17. aws_cdk/aws_codestar/__init__.py +2 -1
  18. aws_cdk/aws_cognito/__init__.py +0 -9
  19. aws_cdk/aws_connect/__init__.py +257 -0
  20. aws_cdk/aws_datasync/__init__.py +279 -50
  21. aws_cdk/aws_deadline/__init__.py +683 -6
  22. aws_cdk/aws_directoryservice/__init__.py +9 -4
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_dms/__init__.py +3 -3
  25. aws_cdk/aws_dynamodb/__init__.py +0 -54
  26. aws_cdk/aws_ec2/__init__.py +377 -121
  27. aws_cdk/aws_ecs/__init__.py +20 -35
  28. aws_cdk/aws_efs/__init__.py +1 -1
  29. aws_cdk/aws_eks/__init__.py +5 -3
  30. aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
  31. aws_cdk/aws_emrcontainers/__init__.py +44 -1
  32. aws_cdk/aws_events/__init__.py +8 -11
  33. aws_cdk/aws_fms/__init__.py +5 -5
  34. aws_cdk/aws_fsx/__init__.py +5 -4
  35. aws_cdk/aws_glue/__init__.py +161 -0
  36. aws_cdk/aws_groundstation/__init__.py +23 -1
  37. aws_cdk/aws_iam/__init__.py +12 -12
  38. aws_cdk/aws_iot/__init__.py +7 -0
  39. aws_cdk/aws_ivs/__init__.py +17 -8
  40. aws_cdk/aws_kinesis/__init__.py +689 -35
  41. aws_cdk/aws_lambda/__init__.py +10 -15
  42. aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
  43. aws_cdk/aws_medialive/__init__.py +314 -4
  44. aws_cdk/aws_opensearchserverless/__init__.py +19 -0
  45. aws_cdk/aws_rds/__init__.py +78 -58
  46. aws_cdk/aws_s3/__init__.py +278 -0
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_ses/__init__.py +228 -8
  49. aws_cdk/aws_ssm/__init__.py +4 -5
  50. aws_cdk/aws_stepfunctions/__init__.py +301 -70
  51. aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
  52. aws_cdk/aws_supportapp/__init__.py +7 -7
  53. aws_cdk/aws_transfer/__init__.py +820 -2
  54. aws_cdk/aws_wafv2/__init__.py +17 -9
  55. aws_cdk/custom_resources/__init__.py +23 -26
  56. aws_cdk/cx_api/__init__.py +16 -0
  57. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
@@ -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, operating_regions=operating_regions, tags=tags
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/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances>`_ . On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for ``io1`` , ``io2`` , and ``gp3`` volumes only.
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/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances>`_ . On other instances, you can achieve performance up to 32,000 IOPS.
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 `Optimize CPU options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html>`_ in the *Amazon EC2 User Guide* .
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 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html>`_ in the *Amazon EC2 User Guide* .
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 AWS 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.
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 metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`_ in the *Amazon EC2 User Guide* .
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 on your Amazon EC2 instance at launch <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>`_ in the *AWS Batch User Guide* .
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 `Optimize CPU options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html>`_ in the *Amazon EC2 User Guide* .
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 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html>`_ in the *Amazon EC2 User Guide* .
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 AWS Nitro Enclaves? <https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html>`_ in the *AWS Nitro Enclaves User Guide* .
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 metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`_ in the *Amazon EC2 User Guide* .
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 on your Amazon EC2 instance at launch <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html>`_ in the *Amazon EC2 User Guide* .
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 `Work with instance tags using the instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS>`_ . Default: ``disabled``
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 `Work with instance tags using the instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS>`_ .
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 the Spot Instances. 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 Spot Instances will be interrupted more frequently than if you do not specify this parameter.
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 the Spot Instances.
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
- To create a security group, use the `VpcId <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-vpcid>`_ property to specify the VPC for which to create the security group.
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::
@@ -57728,7 +57928,7 @@ class CfnVPCCidrBlock(
57728
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* .
57729
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* .
57730
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.
57731
- :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.
57732
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* .
57733
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* .
57734
57934
  :param ipv6_pool: The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
@@ -57999,7 +58199,7 @@ class CfnVPCCidrBlockProps:
57999
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* .
58000
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* .
58001
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.
58002
- :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.
58003
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* .
58004
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* .
58005
58205
  :param ipv6_pool: The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
@@ -58144,6 +58344,12 @@ class CfnVPCCidrBlockProps:
58144
58344
  def ipv6_cidr_block_network_border_group(self) -> typing.Optional[builtins.str]:
58145
58345
  '''The name of the location from which we advertise the IPV6 CIDR block.
58146
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
+
58147
58353
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6cidrblocknetworkbordergroup
58148
58354
  '''
58149
58355
  result = self._values.get("ipv6_cidr_block_network_border_group")
@@ -58457,7 +58663,7 @@ class CfnVPCEndpoint(
58457
58663
  :param service_name: The name of the endpoint service.
58458
58664
  :param service_network_arn: The Amazon Resource Name (ARN) of the service network.
58459
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.
58460
- :param tags:
58666
+ :param tags: The tags to associate with the endpoint.
58461
58667
  :param vpc_endpoint_type: The type of endpoint. Default: Gateway
58462
58668
  '''
58463
58669
  if __debug__:
@@ -58733,6 +58939,7 @@ class CfnVPCEndpoint(
58733
58939
  @builtins.property
58734
58940
  @jsii.member(jsii_name="tags")
58735
58941
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
58942
+ '''The tags to associate with the endpoint.'''
58736
58943
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
58737
58944
 
58738
58945
  @tags.setter
@@ -59154,7 +59361,7 @@ class CfnVPCEndpointProps:
59154
59361
  :param service_name: The name of the endpoint service.
59155
59362
  :param service_network_arn: The Amazon Resource Name (ARN) of the service network.
59156
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.
59157
- :param tags:
59364
+ :param tags: The tags to associate with the endpoint.
59158
59365
  :param vpc_endpoint_type: The type of endpoint. Default: Gateway
59159
59366
 
59160
59367
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html
@@ -59361,7 +59568,8 @@ class CfnVPCEndpointProps:
59361
59568
 
59362
59569
  @builtins.property
59363
59570
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
59364
- '''
59571
+ '''The tags to associate with the endpoint.
59572
+
59365
59573
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-tags
59366
59574
  '''
59367
59575
  result = self._values.get("tags")
@@ -59448,7 +59656,7 @@ class CfnVPCEndpointService(
59448
59656
  :param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
59449
59657
  :param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
59450
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.
59451
- :param tags: The tags to add to the VPC endpoint service.
59659
+ :param tags: The tags to associate with the service.
59452
59660
  '''
59453
59661
  if __debug__:
59454
59662
  type_hints = typing.get_type_hints(_typecheckingstub__bd65bb2d0beb1d62ef8b72a33a352ac48e00600bc2b025bdec06b82cf7cf57ee)
@@ -59599,7 +59807,7 @@ class CfnVPCEndpointService(
59599
59807
  @builtins.property
59600
59808
  @jsii.member(jsii_name="tags")
59601
59809
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
59602
- '''The tags to add to the VPC endpoint service.'''
59810
+ '''The tags to associate with the service.'''
59603
59811
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
59604
59812
 
59605
59813
  @tags.setter
@@ -59836,7 +60044,7 @@ class CfnVPCEndpointServiceProps:
59836
60044
  :param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
59837
60045
  :param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
59838
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.
59839
- :param tags: The tags to add to the VPC endpoint service.
60047
+ :param tags: The tags to associate with the service.
59840
60048
 
59841
60049
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html
59842
60050
  :exampleMetadata: fixture=_generated
@@ -59934,7 +60142,7 @@ class CfnVPCEndpointServiceProps:
59934
60142
 
59935
60143
  @builtins.property
59936
60144
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
59937
- '''The tags to add to the VPC endpoint service.
60145
+ '''The tags to associate with the service.
59938
60146
 
59939
60147
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-tags
59940
60148
  '''
@@ -63634,11 +63842,11 @@ class CfnVerifiedAccessEndpoint(
63634
63842
  protocol: typing.Optional[builtins.str] = None,
63635
63843
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
63636
63844
  ) -> None:
63637
- '''The options for cidr type endpoint.
63845
+ '''Describes the CIDR options for a Verified Access endpoint.
63638
63846
 
63639
- :param cidr: The IP address range, in CIDR notation.
63640
- :param port_ranges: The list of port range.
63641
- :param protocol: The IP protocol.
63847
+ :param cidr: The CIDR.
63848
+ :param port_ranges: The port ranges.
63849
+ :param protocol: The protocol.
63642
63850
  :param subnet_ids: The IDs of the subnets.
63643
63851
 
63644
63852
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html
@@ -63678,7 +63886,7 @@ class CfnVerifiedAccessEndpoint(
63678
63886
 
63679
63887
  @builtins.property
63680
63888
  def cidr(self) -> typing.Optional[builtins.str]:
63681
- '''The IP address range, in CIDR notation.
63889
+ '''The CIDR.
63682
63890
 
63683
63891
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-cidr
63684
63892
  '''
@@ -63689,7 +63897,7 @@ class CfnVerifiedAccessEndpoint(
63689
63897
  def port_ranges(
63690
63898
  self,
63691
63899
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
63692
- '''The list of port range.
63900
+ '''The port ranges.
63693
63901
 
63694
63902
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-portranges
63695
63903
  '''
@@ -63698,7 +63906,7 @@ class CfnVerifiedAccessEndpoint(
63698
63906
 
63699
63907
  @builtins.property
63700
63908
  def protocol(self) -> typing.Optional[builtins.str]:
63701
- '''The IP protocol.
63909
+ '''The protocol.
63702
63910
 
63703
63911
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-protocol
63704
63912
  '''
@@ -63750,9 +63958,9 @@ class CfnVerifiedAccessEndpoint(
63750
63958
 
63751
63959
  :param load_balancer_arn: The ARN of the load balancer.
63752
63960
  :param port: The IP port number.
63753
- :param port_ranges: The list of port range.
63961
+ :param port_ranges: The port ranges.
63754
63962
  :param protocol: The IP protocol.
63755
- :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.
63756
63964
 
63757
63965
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html
63758
63966
  :exampleMetadata: fixture=_generated
@@ -63815,7 +64023,7 @@ class CfnVerifiedAccessEndpoint(
63815
64023
  def port_ranges(
63816
64024
  self,
63817
64025
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
63818
- '''The list of port range.
64026
+ '''The port ranges.
63819
64027
 
63820
64028
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-portranges
63821
64029
  '''
@@ -63835,6 +64043,8 @@ class CfnVerifiedAccessEndpoint(
63835
64043
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
63836
64044
  '''The IDs of the subnets.
63837
64045
 
64046
+ You can specify only one subnet per Availability Zone.
64047
+
63838
64048
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-subnetids
63839
64049
  '''
63840
64050
  result = self._values.get("subnet_ids")
@@ -63874,7 +64084,7 @@ class CfnVerifiedAccessEndpoint(
63874
64084
 
63875
64085
  :param network_interface_id: The ID of the network interface.
63876
64086
  :param port: The IP port number.
63877
- :param port_ranges: The list of port ranges.
64087
+ :param port_ranges: The port ranges.
63878
64088
  :param protocol: The IP protocol.
63879
64089
 
63880
64090
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html
@@ -63934,7 +64144,7 @@ class CfnVerifiedAccessEndpoint(
63934
64144
  def port_ranges(
63935
64145
  self,
63936
64146
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnVerifiedAccessEndpoint.PortRangeProperty"]]]]:
63937
- '''The list of port ranges.
64147
+ '''The port ranges.
63938
64148
 
63939
64149
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-portranges
63940
64150
  '''
@@ -63973,10 +64183,10 @@ class CfnVerifiedAccessEndpoint(
63973
64183
  from_port: typing.Optional[jsii.Number] = None,
63974
64184
  to_port: typing.Optional[jsii.Number] = None,
63975
64185
  ) -> None:
63976
- '''Describes a range of ports.
64186
+ '''Describes the port range for a Verified Access endpoint.
63977
64187
 
63978
- :param from_port: The first port in the range.
63979
- :param to_port: The last port in the range.
64188
+ :param from_port: The start of the port range.
64189
+ :param to_port: The end of the port range.
63980
64190
 
63981
64191
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html
63982
64192
  :exampleMetadata: fixture=_generated
@@ -64004,7 +64214,7 @@ class CfnVerifiedAccessEndpoint(
64004
64214
 
64005
64215
  @builtins.property
64006
64216
  def from_port(self) -> typing.Optional[jsii.Number]:
64007
- '''The first port in the range.
64217
+ '''The start of the port range.
64008
64218
 
64009
64219
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-fromport
64010
64220
  '''
@@ -64013,7 +64223,7 @@ class CfnVerifiedAccessEndpoint(
64013
64223
 
64014
64224
  @builtins.property
64015
64225
  def to_port(self) -> typing.Optional[jsii.Number]:
64016
- '''The last port in the range.
64226
+ '''The end of the port range.
64017
64227
 
64018
64228
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-toport
64019
64229
  '''
@@ -64056,15 +64266,15 @@ class CfnVerifiedAccessEndpoint(
64056
64266
  rds_endpoint: typing.Optional[builtins.str] = None,
64057
64267
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
64058
64268
  ) -> None:
64059
- '''The options for rds type endpoint.
64269
+ '''Describes the RDS options for a Verified Access endpoint.
64060
64270
 
64061
- :param port: The IP port number.
64062
- :param protocol: The IP protocol.
64063
- :param rds_db_cluster_arn: The ARN of the RDS DB cluster.
64064
- :param rds_db_instance_arn: The ARN of the RDS DB instance.
64065
- :param rds_db_proxy_arn: The ARN of the RDS DB proxy.
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.
64066
64276
  :param rds_endpoint: The RDS endpoint.
64067
- :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.
64068
64278
 
64069
64279
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html
64070
64280
  :exampleMetadata: fixture=_generated
@@ -64112,7 +64322,7 @@ class CfnVerifiedAccessEndpoint(
64112
64322
 
64113
64323
  @builtins.property
64114
64324
  def port(self) -> typing.Optional[jsii.Number]:
64115
- '''The IP port number.
64325
+ '''The port.
64116
64326
 
64117
64327
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-port
64118
64328
  '''
@@ -64121,7 +64331,7 @@ class CfnVerifiedAccessEndpoint(
64121
64331
 
64122
64332
  @builtins.property
64123
64333
  def protocol(self) -> typing.Optional[builtins.str]:
64124
- '''The IP protocol.
64334
+ '''The protocol.
64125
64335
 
64126
64336
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-protocol
64127
64337
  '''
@@ -64130,7 +64340,7 @@ class CfnVerifiedAccessEndpoint(
64130
64340
 
64131
64341
  @builtins.property
64132
64342
  def rds_db_cluster_arn(self) -> typing.Optional[builtins.str]:
64133
- '''The ARN of the RDS DB cluster.
64343
+ '''The ARN of the DB cluster.
64134
64344
 
64135
64345
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbclusterarn
64136
64346
  '''
@@ -64139,7 +64349,7 @@ class CfnVerifiedAccessEndpoint(
64139
64349
 
64140
64350
  @builtins.property
64141
64351
  def rds_db_instance_arn(self) -> typing.Optional[builtins.str]:
64142
- '''The ARN of the RDS DB instance.
64352
+ '''The ARN of the RDS instance.
64143
64353
 
64144
64354
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbinstancearn
64145
64355
  '''
@@ -64148,7 +64358,7 @@ class CfnVerifiedAccessEndpoint(
64148
64358
 
64149
64359
  @builtins.property
64150
64360
  def rds_db_proxy_arn(self) -> typing.Optional[builtins.str]:
64151
- '''The ARN of the RDS DB proxy.
64361
+ '''The ARN of the RDS proxy.
64152
64362
 
64153
64363
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbproxyarn
64154
64364
  '''
@@ -64168,6 +64378,8 @@ class CfnVerifiedAccessEndpoint(
64168
64378
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
64169
64379
  '''The IDs of the subnets.
64170
64380
 
64381
+ You can specify only one subnet per Availability Zone.
64382
+
64171
64383
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-subnetids
64172
64384
  '''
64173
64385
  result = self._values.get("subnet_ids")
@@ -65228,7 +65440,7 @@ class CfnVerifiedAccessInstance(
65228
65440
  def attr_cidr_endpoints_custom_sub_domain_name_servers(
65229
65441
  self,
65230
65442
  ) -> typing.List[builtins.str]:
65231
- '''Property to represent the name servers assoicated with the domain that AVA manages (say, ['ns1.amazonaws.com', 'ns2.amazonaws.com', 'ns3.amazonaws.com', 'ns4.amazonaws.com']).
65443
+ '''The name servers.
65232
65444
 
65233
65445
  :cloudformationAttribute: CidrEndpointsCustomSubDomainNameServers
65234
65446
  '''
@@ -66524,7 +66736,7 @@ class CfnVerifiedAccessTrustProvider(
66524
66736
 
66525
66737
  :param authorization_endpoint: The authorization endpoint of the IdP.
66526
66738
  :param client_id: The OAuth 2.0 client identifier.
66527
- :param client_secret: The client secret.
66739
+ :param client_secret: The OAuth 2.0 client secret.
66528
66740
  :param issuer: The OIDC issuer identifier of the IdP.
66529
66741
  :param public_signing_key_endpoint: The public signing key endpoint.
66530
66742
  :param scope: The set of user claims to be requested from the IdP.
@@ -66599,7 +66811,7 @@ class CfnVerifiedAccessTrustProvider(
66599
66811
 
66600
66812
  @builtins.property
66601
66813
  def client_secret(self) -> typing.Optional[builtins.str]:
66602
- '''The client secret.
66814
+ '''The OAuth 2.0 client secret.
66603
66815
 
66604
66816
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-clientsecret
66605
66817
  '''
@@ -76615,20 +76827,19 @@ class Instance(
76615
76827
 
76616
76828
  Example::
76617
76829
 
76618
- # vpc: ec2.IVpc
76830
+ # Creates a distribution from an EC2 instance
76831
+ # vpc: ec2.Vpc
76619
76832
 
76620
- lb = elb.LoadBalancer(self, "LB",
76833
+ # Create an EC2 instance in a VPC. 'subnetType' can be private.
76834
+ instance = ec2.Instance(self, "Instance",
76621
76835
  vpc=vpc,
76622
- internet_facing=True
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)
76623
76839
  )
76624
-
76625
- # instance to add as the target for load balancer.
76626
- instance = ec2.Instance(self, "targetInstance",
76627
- vpc=vpc,
76628
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
76629
- 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))
76630
76842
  )
76631
- lb.add_target(elb.InstanceTarget(instance))
76632
76843
  '''
76633
76844
 
76634
76845
  def __init__(
@@ -76951,17 +77162,18 @@ class InstanceClass(enum.Enum):
76951
77162
 
76952
77163
  Example::
76953
77164
 
77165
+ # Creates a distribution from an EC2 instance
76954
77166
  # vpc: ec2.Vpc
76955
77167
 
76956
- instance = rds.DatabaseInstance(self, "Instance",
76957
- engine=rds.DatabaseInstanceEngine.oracle_se2(version=rds.OracleEngineVersion.VER_19_0_0_0_2020_04_R1),
76958
- # optional, defaults to m5.large
76959
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL),
76960
- 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",
76961
77170
  vpc=vpc,
76962
- vpc_subnets=ec2.SubnetSelection(
76963
- subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
76964
- )
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))
76965
77177
  )
76966
77178
  '''
76967
77179
 
@@ -77731,20 +77943,19 @@ class InstanceProps:
77731
77943
 
77732
77944
  Example::
77733
77945
 
77734
- # vpc: ec2.IVpc
77946
+ # Creates a distribution from an EC2 instance
77947
+ # vpc: ec2.Vpc
77735
77948
 
77736
- lb = elb.LoadBalancer(self, "LB",
77949
+ # Create an EC2 instance in a VPC. 'subnetType' can be private.
77950
+ instance = ec2.Instance(self, "Instance",
77737
77951
  vpc=vpc,
77738
- internet_facing=True
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)
77739
77955
  )
77740
-
77741
- # instance to add as the target for load balancer.
77742
- instance = ec2.Instance(self, "targetInstance",
77743
- vpc=vpc,
77744
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
77745
- 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))
77746
77958
  )
77747
- lb.add_target(elb.InstanceTarget(instance))
77748
77959
  '''
77749
77960
  if isinstance(init_options, dict):
77750
77961
  init_options = ApplyCloudFormationInitOptions(**init_options)
@@ -78423,17 +78634,18 @@ class InstanceSize(enum.Enum):
78423
78634
 
78424
78635
  Example::
78425
78636
 
78637
+ # Creates a distribution from an EC2 instance
78426
78638
  # vpc: ec2.Vpc
78427
78639
 
78428
- instance = rds.DatabaseInstance(self, "Instance",
78429
- engine=rds.DatabaseInstanceEngine.oracle_se2(version=rds.OracleEngineVersion.VER_19_0_0_0_2020_04_R1),
78430
- # optional, defaults to m5.large
78431
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL),
78432
- 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",
78433
78642
  vpc=vpc,
78434
- vpc_subnets=ec2.SubnetSelection(
78435
- subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
78436
- )
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))
78437
78649
  )
78438
78650
  '''
78439
78651
 
@@ -85555,20 +85767,17 @@ class Peer(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Peer"):
85555
85767
 
85556
85768
  Example::
85557
85769
 
85558
- # vpc: ec2.Vpc
85770
+ # instance_type: ec2.InstanceType
85559
85771
 
85560
- cluster = msk.Cluster(self, "Cluster",
85561
- cluster_name="myCluster",
85562
- kafka_version=msk.KafkaVersion.V2_8_1,
85563
- vpc=vpc
85564
- )
85565
85772
 
85566
- cluster.connections.allow_from(
85567
- ec2.Peer.ipv4("1.2.3.4/8"),
85568
- ec2.Port.tcp(2181))
85569
- cluster.connections.allow_from(
85570
- ec2.Peer.ipv4("1.2.3.4/8"),
85571
- ec2.Port.tcp(9094))
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)
85572
85781
  '''
85573
85782
 
85574
85783
  def __init__(self) -> None:
@@ -87755,13 +87964,19 @@ class SecurityGroupProps:
87755
87964
  # vpc: ec2.Vpc
87756
87965
 
87757
87966
 
87758
- my_security_group = ec2.SecurityGroup(self, "SecurityGroup", vpc=vpc)
87759
- autoscaling.AutoScalingGroup(self, "ASG",
87760
- vpc=vpc,
87761
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
87762
- machine_image=ec2.MachineImage.latest_amazon_linux2(),
87763
- security_group=my_security_group
87967
+ sg1 = ec2.SecurityGroup(self, "sg1",
87968
+ vpc=vpc
87764
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)
87765
87980
  '''
87766
87981
  if __debug__:
87767
87982
  type_hints = typing.get_type_hints(_typecheckingstub__4e55e0c52b51f92e83b1f8d6b7a5b22268d0369a14dab808b8f2f5f233e5b622)
@@ -94242,6 +94457,17 @@ class WindowsVersion(enum.Enum):
94242
94457
  WINDOWS_SERVER_2022_ENGLISH_FULL_SQL_2022_STANDARD = "WINDOWS_SERVER_2022_ENGLISH_FULL_SQL_2022_STANDARD"
94243
94458
  WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_STANDARD = "WINDOWS_SERVER_2022_JAPANESE_FULL_SQL_2022_STANDARD"
94244
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"
94245
94471
 
94246
94472
 
94247
94473
  @jsii.data_type(
@@ -101915,6 +102141,7 @@ def _typecheckingstub__5dd8d015864426e689ac2f72f1fdd70371d242931964ab4d571ea5601
101915
102141
  scope: _constructs_77d1e7e8.Construct,
101916
102142
  id: builtins.str,
101917
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,
101918
102145
  description: typing.Optional[builtins.str] = None,
101919
102146
  enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
101920
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,
@@ -101936,6 +102163,12 @@ def _typecheckingstub__901ef9223e06c12f769b4bd36857fd88adae614a05385d54a0dd6f535
101936
102163
  """Type checking stubs"""
101937
102164
  pass
101938
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
+
101939
102172
  def _typecheckingstub__959c716c17871ad25c09c928583239d9973366c81c48b69bfc39c5c2a70898ce(
101940
102173
  value: typing.Optional[builtins.str],
101941
102174
  ) -> None:
@@ -101973,6 +102206,13 @@ def _typecheckingstub__76ae7ea9478fca86299eafd84b20c22db0b753cea0096278a3be708fd
101973
102206
  """Type checking stubs"""
101974
102207
  pass
101975
102208
 
102209
+ def _typecheckingstub__3a1e082fe403508d7f87288dfed02281b9ed00551965db1ff48cbbe30d9d4b25(
102210
+ *,
102211
+ organizations_entity_path: builtins.str,
102212
+ ) -> None:
102213
+ """Type checking stubs"""
102214
+ pass
102215
+
101976
102216
  def _typecheckingstub__ea7a8d7dc762f36c7c42acf390ff33a5d901404e11e9316d7df8d7c29c9e6af0(
101977
102217
  scope: _constructs_77d1e7e8.Construct,
101978
102218
  id: builtins.str,
@@ -102254,6 +102494,7 @@ def _typecheckingstub__c42f207097d7881d4b52878ebd2ec0ae90f2bf68e18d515c40977733d
102254
102494
 
102255
102495
  def _typecheckingstub__f1252b3f41198f9c0d9b0c751334626e1084e0106d3be9d92d77200730b95e90(
102256
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,
102257
102498
  description: typing.Optional[builtins.str] = None,
102258
102499
  enable_private_gua: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
102259
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,
@@ -102269,6 +102510,7 @@ def _typecheckingstub__b9865e76fdfd7caecfedb4df232a297c92dc11c534785272c111c4d0b
102269
102510
  *,
102270
102511
  description: typing.Optional[builtins.str] = None,
102271
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,
102272
102514
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
102273
102515
  ) -> None:
102274
102516
  """Type checking stubs"""
@@ -102298,6 +102540,12 @@ def _typecheckingstub__08b5ef93b946df5cb347a5d9e125f158c9a540a9ac51f8d045f6c3951
102298
102540
  """Type checking stubs"""
102299
102541
  pass
102300
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
+
102301
102549
  def _typecheckingstub__6e5af2028bd620ac6af11e15ae308dbbee822aa725e6ce8b9b68acafc97810a0(
102302
102550
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
102303
102551
  ) -> None:
@@ -102311,6 +102559,13 @@ def _typecheckingstub__fffd1bd7ad0ffb1481907684f9ea6caa474483fe9be95e99ef7b5bd42
102311
102559
  """Type checking stubs"""
102312
102560
  pass
102313
102561
 
102562
+ def _typecheckingstub__ccd001ab1c5cbf012c760b05292306e2019f0f9adffc25c67a35cfb3050d8d9f(
102563
+ *,
102564
+ organizations_entity_path: builtins.str,
102565
+ ) -> None:
102566
+ """Type checking stubs"""
102567
+ pass
102568
+
102314
102569
  def _typecheckingstub__fd4a98893481afc827d51d87886f223e1b30f0a19b4c90a338e76e2be3699926(
102315
102570
  scope: _constructs_77d1e7e8.Construct,
102316
102571
  id: builtins.str,
@@ -102365,6 +102620,7 @@ def _typecheckingstub__f109dd2c7d7c94b25622dd13433c13abb153fa5092da9272630e94ba4
102365
102620
  *,
102366
102621
  description: typing.Optional[builtins.str] = None,
102367
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,
102368
102624
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
102369
102625
  ) -> None:
102370
102626
  """Type checking stubs"""