aws-cdk-lib 2.172.0__py3-none-any.whl → 2.173.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +57 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.172.0.jsii.tgz → aws-cdk-lib@2.173.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +111 -64
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_autoscaling/__init__.py +15 -6
- aws_cdk/aws_bedrock/__init__.py +32 -44
- aws_cdk/aws_chatbot/__init__.py +72 -46
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudfront/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +104 -68
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +221 -53
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +25 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +130 -48
- aws_cdk/aws_ecs/__init__.py +25 -13
- aws_cdk/aws_eks/__init__.py +86 -24
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +138 -128
- aws_cdk/aws_events/__init__.py +39 -26
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +28 -22
- aws_cdk/aws_iotfleetwise/__init__.py +473 -332
- aws_cdk/aws_iotsitewise/__init__.py +6 -4
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +258 -156
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_qbusiness/__init__.py +2018 -66
- aws_cdk/aws_rds/__init__.py +30 -0
- aws_cdk/aws_resourcegroups/__init__.py +26 -17
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +224 -100
- aws_cdk/aws_route53resolver/__init__.py +4 -2
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +30 -19
- aws_cdk/aws_sagemaker/__init__.py +783 -9
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +109 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +2698 -232
- aws_cdk/aws_workspacesweb/__init__.py +118 -61
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -5693,16 +5693,16 @@ class CfnCapacityReservation(
|
|
|
5693
5693
|
:param scope: Scope in which this resource is defined.
|
|
5694
5694
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5695
5695
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
5696
|
-
:param instance_count: The number of instances for which to reserve capacity. Valid range: 1 - 1000
|
|
5696
|
+
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000
|
|
5697
5697
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
5698
|
-
:param instance_type: The instance type for which to reserve capacity. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
5698
|
+
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and T instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
5699
5699
|
:param ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
5700
|
-
:param end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to ``expired`` when it reaches its end date and time. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.
|
|
5700
|
+
:param end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to ``expired`` when it reaches its end date and time. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.
|
|
5701
5701
|
:param end_date_type: Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: - ``unlimited`` - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an ``EndDate`` if the ``EndDateType`` is ``unlimited`` . - ``limited`` - The Capacity Reservation expires automatically at a specified date and time. You must provide an ``EndDate`` value if the ``EndDateType`` value is ``limited`` .
|
|
5702
5702
|
:param ephemeral_storage: *Deprecated.*.
|
|
5703
|
-
:param instance_match_criteria: Indicates the type of instance launches that the Capacity Reservation accepts. The options include:. - ``open`` - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters. - ``targeted`` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. Default: ``open``
|
|
5704
|
-
:param out_post_arn: The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
|
5705
|
-
:param placement_group_arn: The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see `Capacity Reservations for cluster placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html>`_ in the *Amazon EC2 User Guide* .
|
|
5703
|
+
:param instance_match_criteria: Indicates the type of instance launches that the Capacity Reservation accepts. The options include:. - ``open`` - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters. - ``targeted`` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. .. epigraph:: If you are requesting a future-dated Capacity Reservation, you must specify ``targeted`` . Default: ``open``
|
|
5704
|
+
:param out_post_arn: .. epigraph:: Not supported for future-dated Capacity Reservations. The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
|
5705
|
+
:param placement_group_arn: .. epigraph:: Not supported for future-dated Capacity Reservations. The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see `Capacity Reservations for cluster placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html>`_ in the *Amazon EC2 User Guide* .
|
|
5706
5706
|
:param tag_specifications: The tags to apply to the Capacity Reservation during launch.
|
|
5707
5707
|
:param tenancy: Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:. - ``default`` - The Capacity Reservation is created on hardware that is shared with other AWS accounts . - ``dedicated`` - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single AWS account .
|
|
5708
5708
|
:param unused_reservation_billing_owner_id: The ID of the AWS account to which to assign billing of the unused capacity of the Capacity Reservation. A request will be sent to the specified account. That account must accept the request for the billing to be assigned to their account. For more information, see `Billing assignment for shared Amazon EC2 Capacity Reservations <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html>`_ . You can assign billing only for shared Capacity Reservations. To share a Capacity Reservation, you must add it to a resource share. For more information, see `AWS::RAM::ResourceShare <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html>`_ .
|
|
@@ -5962,7 +5962,9 @@ class CfnCapacityReservation(
|
|
|
5962
5962
|
@builtins.property
|
|
5963
5963
|
@jsii.member(jsii_name="outPostArn")
|
|
5964
5964
|
def out_post_arn(self) -> typing.Optional[builtins.str]:
|
|
5965
|
-
'''
|
|
5965
|
+
'''.. epigraph::
|
|
5966
|
+
|
|
5967
|
+
Not supported for future-dated Capacity Reservations.'''
|
|
5966
5968
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "outPostArn"))
|
|
5967
5969
|
|
|
5968
5970
|
@out_post_arn.setter
|
|
@@ -5975,7 +5977,9 @@ class CfnCapacityReservation(
|
|
|
5975
5977
|
@builtins.property
|
|
5976
5978
|
@jsii.member(jsii_name="placementGroupArn")
|
|
5977
5979
|
def placement_group_arn(self) -> typing.Optional[builtins.str]:
|
|
5978
|
-
'''
|
|
5980
|
+
'''.. epigraph::
|
|
5981
|
+
|
|
5982
|
+
Not supported for future-dated Capacity Reservations.'''
|
|
5979
5983
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "placementGroupArn"))
|
|
5980
5984
|
|
|
5981
5985
|
@placement_group_arn.setter
|
|
@@ -6912,16 +6916,16 @@ class CfnCapacityReservationProps:
|
|
|
6912
6916
|
'''Properties for defining a ``CfnCapacityReservation``.
|
|
6913
6917
|
|
|
6914
6918
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
6915
|
-
:param instance_count: The number of instances for which to reserve capacity. Valid range: 1 - 1000
|
|
6919
|
+
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ). Valid range: 1 - 1000
|
|
6916
6920
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
6917
|
-
:param instance_type: The instance type for which to reserve capacity. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
6921
|
+
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and T instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
6918
6922
|
:param ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
6919
|
-
:param end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to ``expired`` when it reaches its end date and time. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.
|
|
6923
|
+
:param end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to ``expired`` when it reaches its end date and time. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.
|
|
6920
6924
|
:param end_date_type: Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: - ``unlimited`` - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an ``EndDate`` if the ``EndDateType`` is ``unlimited`` . - ``limited`` - The Capacity Reservation expires automatically at a specified date and time. You must provide an ``EndDate`` value if the ``EndDateType`` value is ``limited`` .
|
|
6921
6925
|
:param ephemeral_storage: *Deprecated.*.
|
|
6922
|
-
:param instance_match_criteria: Indicates the type of instance launches that the Capacity Reservation accepts. The options include:. - ``open`` - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters. - ``targeted`` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. Default: ``open``
|
|
6923
|
-
:param out_post_arn: The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
|
6924
|
-
:param placement_group_arn: The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see `Capacity Reservations for cluster placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html>`_ in the *Amazon EC2 User Guide* .
|
|
6926
|
+
:param instance_match_criteria: Indicates the type of instance launches that the Capacity Reservation accepts. The options include:. - ``open`` - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters. - ``targeted`` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. .. epigraph:: If you are requesting a future-dated Capacity Reservation, you must specify ``targeted`` . Default: ``open``
|
|
6927
|
+
:param out_post_arn: .. epigraph:: Not supported for future-dated Capacity Reservations. The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
|
6928
|
+
:param placement_group_arn: .. epigraph:: Not supported for future-dated Capacity Reservations. The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see `Capacity Reservations for cluster placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html>`_ in the *Amazon EC2 User Guide* .
|
|
6925
6929
|
:param tag_specifications: The tags to apply to the Capacity Reservation during launch.
|
|
6926
6930
|
:param tenancy: Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:. - ``default`` - The Capacity Reservation is created on hardware that is shared with other AWS accounts . - ``dedicated`` - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single AWS account .
|
|
6927
6931
|
:param unused_reservation_billing_owner_id: The ID of the AWS account to which to assign billing of the unused capacity of the Capacity Reservation. A request will be sent to the specified account. That account must accept the request for the billing to be assigned to their account. For more information, see `Billing assignment for shared Amazon EC2 Capacity Reservations <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html>`_ . You can assign billing only for shared Capacity Reservations. To share a Capacity Reservation, you must add it to a resource share. For more information, see `AWS::RAM::ResourceShare <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html>`_ .
|
|
@@ -7017,6 +7021,10 @@ class CfnCapacityReservationProps:
|
|
|
7017
7021
|
def instance_count(self) -> jsii.Number:
|
|
7018
7022
|
'''The number of instances for which to reserve capacity.
|
|
7019
7023
|
|
|
7024
|
+
.. epigraph::
|
|
7025
|
+
|
|
7026
|
+
You can request future-dated Capacity Reservations for an instance count with a minimum of 100 VPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *25 * m5.xlarge = 100 vCPUs* ).
|
|
7027
|
+
|
|
7020
7028
|
Valid range: 1 - 1000
|
|
7021
7029
|
|
|
7022
7030
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancecount
|
|
@@ -7039,6 +7047,10 @@ class CfnCapacityReservationProps:
|
|
|
7039
7047
|
def instance_type(self) -> builtins.str:
|
|
7040
7048
|
'''The instance type for which to reserve capacity.
|
|
7041
7049
|
|
|
7050
|
+
.. epigraph::
|
|
7051
|
+
|
|
7052
|
+
You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and T instance families only.
|
|
7053
|
+
|
|
7042
7054
|
For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
7043
7055
|
|
|
7044
7056
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancetype
|
|
@@ -7070,6 +7082,8 @@ class CfnCapacityReservationProps:
|
|
|
7070
7082
|
|
|
7071
7083
|
If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.
|
|
7072
7084
|
|
|
7085
|
+
If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.
|
|
7086
|
+
|
|
7073
7087
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddate
|
|
7074
7088
|
'''
|
|
7075
7089
|
result = self._values.get("end_date")
|
|
@@ -7107,6 +7121,10 @@ class CfnCapacityReservationProps:
|
|
|
7107
7121
|
- ``open`` - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.
|
|
7108
7122
|
- ``targeted`` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
|
|
7109
7123
|
|
|
7124
|
+
.. epigraph::
|
|
7125
|
+
|
|
7126
|
+
If you are requesting a future-dated Capacity Reservation, you must specify ``targeted`` .
|
|
7127
|
+
|
|
7110
7128
|
Default: ``open``
|
|
7111
7129
|
|
|
7112
7130
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancematchcriteria
|
|
@@ -7116,7 +7134,11 @@ class CfnCapacityReservationProps:
|
|
|
7116
7134
|
|
|
7117
7135
|
@builtins.property
|
|
7118
7136
|
def out_post_arn(self) -> typing.Optional[builtins.str]:
|
|
7119
|
-
'''
|
|
7137
|
+
'''.. epigraph::
|
|
7138
|
+
|
|
7139
|
+
Not supported for future-dated Capacity Reservations.
|
|
7140
|
+
|
|
7141
|
+
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
|
7120
7142
|
|
|
7121
7143
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-outpostarn
|
|
7122
7144
|
'''
|
|
@@ -7125,9 +7147,11 @@ class CfnCapacityReservationProps:
|
|
|
7125
7147
|
|
|
7126
7148
|
@builtins.property
|
|
7127
7149
|
def placement_group_arn(self) -> typing.Optional[builtins.str]:
|
|
7128
|
-
'''
|
|
7150
|
+
'''.. epigraph::
|
|
7129
7151
|
|
|
7130
|
-
|
|
7152
|
+
Not supported for future-dated Capacity Reservations.
|
|
7153
|
+
|
|
7154
|
+
The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see `Capacity Reservations for cluster placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html>`_ in the *Amazon EC2 User Guide* .
|
|
7131
7155
|
|
|
7132
7156
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-placementgrouparn
|
|
7133
7157
|
'''
|
|
@@ -11884,7 +11908,7 @@ class CfnEC2Fleet(
|
|
|
11884
11908
|
:param bare_metal: Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify ``included`` . - To require only bare metal instance types, specify ``required`` . - To exclude bare metal instance types, specify ``excluded`` . Default: ``excluded``
|
|
11885
11909
|
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
11886
11910
|
:param burstable_performance: Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ . - To include burstable performance instance types, specify ``included`` . - To require only burstable performance instance types, specify ``required`` . - To exclude burstable performance instance types, specify ``excluded`` . Default: ``excluded``
|
|
11887
|
-
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
11911
|
+
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . - For instance types with Apple CPUs, specify ``apple`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
11888
11912
|
:param excluded_instance_types: The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``ExcludedInstanceTypes`` , you can't specify ``AllowedInstanceTypes`` . Default: No excluded instance types
|
|
11889
11913
|
:param instance_generations: Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* . For current generation instance types, specify ``current`` . For previous generation instance types, specify ``previous`` . Default: Current and previous generation instance types
|
|
11890
11914
|
:param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide* . - To include instance types with instance store volumes, specify ``included`` . - To require only instance types with instance store volumes, specify ``required`` . - To exclude instance types with instance store volumes, specify ``excluded`` . Default: ``included``
|
|
@@ -12198,6 +12222,7 @@ class CfnEC2Fleet(
|
|
|
12198
12222
|
- For instance types with Intel CPUs, specify ``intel`` .
|
|
12199
12223
|
- For instance types with AMD CPUs, specify ``amd`` .
|
|
12200
12224
|
- For instance types with AWS CPUs, specify ``amazon-web-services`` .
|
|
12225
|
+
- For instance types with Apple CPUs, specify ``apple`` .
|
|
12201
12226
|
|
|
12202
12227
|
.. epigraph::
|
|
12203
12228
|
|
|
@@ -24545,8 +24570,13 @@ class CfnLaunchTemplate(
|
|
|
24545
24570
|
*,
|
|
24546
24571
|
cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLaunchTemplate.CpuProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24547
24572
|
) -> None:
|
|
24548
|
-
'''
|
|
24549
|
-
|
|
24573
|
+
'''The baseline performance to consider, using an instance family as a baseline reference.
|
|
24574
|
+
|
|
24575
|
+
The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
|
|
24576
|
+
|
|
24577
|
+
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying ``c6i`` would use the CPU performance of the ``c6i`` family as the baseline reference.
|
|
24578
|
+
|
|
24579
|
+
:param cpu: The CPU performance to consider, using an instance family as the baseline reference.
|
|
24550
24580
|
|
|
24551
24581
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-baselineperformancefactors.html
|
|
24552
24582
|
:exampleMetadata: fixture=_generated
|
|
@@ -24576,7 +24606,8 @@ class CfnLaunchTemplate(
|
|
|
24576
24606
|
def cpu(
|
|
24577
24607
|
self,
|
|
24578
24608
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.CpuProperty"]]:
|
|
24579
|
-
'''
|
|
24609
|
+
'''The CPU performance to consider, using an instance family as the baseline reference.
|
|
24610
|
+
|
|
24580
24611
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-baselineperformancefactors.html#cfn-ec2-launchtemplate-baselineperformancefactors-cpu
|
|
24581
24612
|
'''
|
|
24582
24613
|
result = self._values.get("cpu")
|
|
@@ -24734,7 +24765,7 @@ class CfnLaunchTemplate(
|
|
|
24734
24765
|
|
|
24735
24766
|
``CapacityReservationSpecification`` is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
|
|
24736
24767
|
|
|
24737
|
-
:param capacity_reservation_preference: Indicates the instance's Capacity Reservation preferences. Possible preferences include:. - ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). - ``none`` - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
|
|
24768
|
+
:param capacity_reservation_preference: Indicates the instance's Capacity Reservation preferences. Possible preferences include:. - ``capacity-reservations-only`` - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch. - ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy). - ``none`` - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
|
|
24738
24769
|
:param capacity_reservation_target: Information about the target Capacity Reservation or Capacity Reservation group.
|
|
24739
24770
|
|
|
24740
24771
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html
|
|
@@ -24768,7 +24799,8 @@ class CfnLaunchTemplate(
|
|
|
24768
24799
|
def capacity_reservation_preference(self) -> typing.Optional[builtins.str]:
|
|
24769
24800
|
'''Indicates the instance's Capacity Reservation preferences. Possible preferences include:.
|
|
24770
24801
|
|
|
24771
|
-
- ``
|
|
24802
|
+
- ``capacity-reservations-only`` - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
|
|
24803
|
+
- ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
|
|
24772
24804
|
- ``none`` - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
|
|
24773
24805
|
|
|
24774
24806
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html#cfn-ec2-launchtemplate-capacityreservationspecification-capacityreservationpreference
|
|
@@ -25960,9 +25992,9 @@ class CfnLaunchTemplate(
|
|
|
25960
25992
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
25961
25993
|
:param bare_metal: Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify ``included`` . - To require only bare metal instance types, specify ``required`` . - To exclude bare metal instance types, specify ``excluded`` . Default: ``excluded``
|
|
25962
25994
|
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
25963
|
-
:param baseline_performance_factors:
|
|
25995
|
+
:param baseline_performance_factors: The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see `Performance protection <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection>`_ in the *Amazon EC2 User Guide* .
|
|
25964
25996
|
:param burstable_performance: Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ . - To include burstable performance instance types, specify ``included`` . - To require only burstable performance instance types, specify ``required`` . - To exclude burstable performance instance types, specify ``excluded`` . Default: ``excluded``
|
|
25965
|
-
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
25997
|
+
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . - For instance types with Apple CPUs, specify ``apple`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
25966
25998
|
:param excluded_instance_types: The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to exclude an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``ExcludedInstanceTypes`` , you can't specify ``AllowedInstanceTypes`` . Default: No excluded instance types
|
|
25967
25999
|
:param instance_generations: Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* . For current generation instance types, specify ``current`` . For previous generation instance types, specify ``previous`` . Default: Current and previous generation instance types
|
|
25968
26000
|
:param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide* . - To include instance types with instance store volumes, specify ``included`` . - To require only instance types with instance store volumes, specify ``required`` . - To exclude instance types with instance store volumes, specify ``excluded`` . Default: ``included``
|
|
@@ -26266,7 +26298,10 @@ class CfnLaunchTemplate(
|
|
|
26266
26298
|
def baseline_performance_factors(
|
|
26267
26299
|
self,
|
|
26268
26300
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.BaselinePerformanceFactorsProperty"]]:
|
|
26269
|
-
'''
|
|
26301
|
+
'''The baseline performance to consider, using an instance family as a baseline reference.
|
|
26302
|
+
|
|
26303
|
+
The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see `Performance protection <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection>`_ in the *Amazon EC2 User Guide* .
|
|
26304
|
+
|
|
26270
26305
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-baselineperformancefactors
|
|
26271
26306
|
'''
|
|
26272
26307
|
result = self._values.get("baseline_performance_factors")
|
|
@@ -26296,6 +26331,7 @@ class CfnLaunchTemplate(
|
|
|
26296
26331
|
- For instance types with Intel CPUs, specify ``intel`` .
|
|
26297
26332
|
- For instance types with AMD CPUs, specify ``amd`` .
|
|
26298
26333
|
- For instance types with AWS CPUs, specify ``amazon-web-services`` .
|
|
26334
|
+
- For instance types with Apple CPUs, specify ``apple`` .
|
|
26299
26335
|
|
|
26300
26336
|
.. epigraph::
|
|
26301
26337
|
|
|
@@ -45106,7 +45142,7 @@ class CfnSpotFleet(
|
|
|
45106
45142
|
:param bare_metal: Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify ``included`` . - To require only bare metal instance types, specify ``required`` . - To exclude bare metal instance types, specify ``excluded`` . Default: ``excluded``
|
|
45107
45143
|
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
45108
45144
|
:param burstable_performance: Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ . - To include burstable performance instance types, specify ``included`` . - To require only burstable performance instance types, specify ``required`` . - To exclude burstable performance instance types, specify ``excluded`` . Default: ``excluded``
|
|
45109
|
-
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
45145
|
+
:param cpu_manufacturers: The CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . - For instance types with Apple CPUs, specify ``apple`` . .. epigraph:: Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
45110
45146
|
:param excluded_instance_types: The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``ExcludedInstanceTypes`` , you can't specify ``AllowedInstanceTypes`` . Default: No excluded instance types
|
|
45111
45147
|
:param instance_generations: Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* . For current generation instance types, specify ``current`` . For previous generation instance types, specify ``previous`` . Default: Current and previous generation instance types
|
|
45112
45148
|
:param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide* . - To include instance types with instance store volumes, specify ``included`` . - To require only instance types with instance store volumes, specify ``required`` . - To exclude instance types with instance store volumes, specify ``excluded`` . Default: ``included``
|
|
@@ -45420,6 +45456,7 @@ class CfnSpotFleet(
|
|
|
45420
45456
|
- For instance types with Intel CPUs, specify ``intel`` .
|
|
45421
45457
|
- For instance types with AMD CPUs, specify ``amd`` .
|
|
45422
45458
|
- For instance types with AWS CPUs, specify ``amazon-web-services`` .
|
|
45459
|
+
- For instance types with Apple CPUs, specify ``apple`` .
|
|
45423
45460
|
|
|
45424
45461
|
.. epigraph::
|
|
45425
45462
|
|
|
@@ -56512,7 +56549,9 @@ class CfnVPCBlockPublicAccessExclusion(
|
|
|
56512
56549
|
metaclass=jsii.JSIIMeta,
|
|
56513
56550
|
jsii_type="aws-cdk-lib.aws_ec2.CfnVPCBlockPublicAccessExclusion",
|
|
56514
56551
|
):
|
|
56515
|
-
'''
|
|
56552
|
+
'''Create a VPC Block Public Access (BPA) exclusion.
|
|
56553
|
+
|
|
56554
|
+
A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see `Block public access to VPCs and subnets <https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html>`_ in the *Amazon VPC User Guide* .
|
|
56516
56555
|
|
|
56517
56556
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html
|
|
56518
56557
|
:cloudformationResource: AWS::EC2::VPCBlockPublicAccessExclusion
|
|
@@ -56550,10 +56589,10 @@ class CfnVPCBlockPublicAccessExclusion(
|
|
|
56550
56589
|
'''
|
|
56551
56590
|
:param scope: Scope in which this resource is defined.
|
|
56552
56591
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
56553
|
-
:param internet_gateway_exclusion_mode: The desired Block Public Access
|
|
56554
|
-
:param subnet_id: The ID of the subnet. Required only if you don't specify VpcId
|
|
56592
|
+
:param internet_gateway_exclusion_mode: The desired VPC Block Public Access mode for a specific VPC or subnet exclusion. - ``allow-bidirectional`` : Allow all internet traffic to and from the excluded VPCs and subnets. - ``allow-egress`` : Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to ``block-bidirectional`` .
|
|
56593
|
+
:param subnet_id: The ID of the subnet you want to exclude. Required only if you don't specify VpcId.
|
|
56555
56594
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
56556
|
-
:param vpc_id: The ID of the
|
|
56595
|
+
:param vpc_id: The ID of the VPC you want to exclude. Required only if you don't specify SubnetId.
|
|
56557
56596
|
'''
|
|
56558
56597
|
if __debug__:
|
|
56559
56598
|
type_hints = typing.get_type_hints(_typecheckingstub__25326e9b68ca765acd9653308fa5b739c5caacf8774e9af4f184caeb59c1f9bd)
|
|
@@ -56621,7 +56660,7 @@ class CfnVPCBlockPublicAccessExclusion(
|
|
|
56621
56660
|
@builtins.property
|
|
56622
56661
|
@jsii.member(jsii_name="internetGatewayExclusionMode")
|
|
56623
56662
|
def internet_gateway_exclusion_mode(self) -> builtins.str:
|
|
56624
|
-
'''The desired Block Public Access
|
|
56663
|
+
'''The desired VPC Block Public Access mode for a specific VPC or subnet exclusion.'''
|
|
56625
56664
|
return typing.cast(builtins.str, jsii.get(self, "internetGatewayExclusionMode"))
|
|
56626
56665
|
|
|
56627
56666
|
@internet_gateway_exclusion_mode.setter
|
|
@@ -56634,7 +56673,7 @@ class CfnVPCBlockPublicAccessExclusion(
|
|
|
56634
56673
|
@builtins.property
|
|
56635
56674
|
@jsii.member(jsii_name="subnetId")
|
|
56636
56675
|
def subnet_id(self) -> typing.Optional[builtins.str]:
|
|
56637
|
-
'''The ID of the subnet.'''
|
|
56676
|
+
'''The ID of the subnet you want to exclude.'''
|
|
56638
56677
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "subnetId"))
|
|
56639
56678
|
|
|
56640
56679
|
@subnet_id.setter
|
|
@@ -56660,7 +56699,7 @@ class CfnVPCBlockPublicAccessExclusion(
|
|
|
56660
56699
|
@builtins.property
|
|
56661
56700
|
@jsii.member(jsii_name="vpcId")
|
|
56662
56701
|
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
56663
|
-
'''The ID of the
|
|
56702
|
+
'''The ID of the VPC you want to exclude.'''
|
|
56664
56703
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vpcId"))
|
|
56665
56704
|
|
|
56666
56705
|
@vpc_id.setter
|
|
@@ -56692,10 +56731,10 @@ class CfnVPCBlockPublicAccessExclusionProps:
|
|
|
56692
56731
|
) -> None:
|
|
56693
56732
|
'''Properties for defining a ``CfnVPCBlockPublicAccessExclusion``.
|
|
56694
56733
|
|
|
56695
|
-
:param internet_gateway_exclusion_mode: The desired Block Public Access
|
|
56696
|
-
:param subnet_id: The ID of the subnet. Required only if you don't specify VpcId
|
|
56734
|
+
:param internet_gateway_exclusion_mode: The desired VPC Block Public Access mode for a specific VPC or subnet exclusion. - ``allow-bidirectional`` : Allow all internet traffic to and from the excluded VPCs and subnets. - ``allow-egress`` : Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to ``block-bidirectional`` .
|
|
56735
|
+
:param subnet_id: The ID of the subnet you want to exclude. Required only if you don't specify VpcId.
|
|
56697
56736
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
56698
|
-
:param vpc_id: The ID of the
|
|
56737
|
+
:param vpc_id: The ID of the VPC you want to exclude. Required only if you don't specify SubnetId.
|
|
56699
56738
|
|
|
56700
56739
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html
|
|
56701
56740
|
:exampleMetadata: fixture=_generated
|
|
@@ -56736,7 +56775,10 @@ class CfnVPCBlockPublicAccessExclusionProps:
|
|
|
56736
56775
|
|
|
56737
56776
|
@builtins.property
|
|
56738
56777
|
def internet_gateway_exclusion_mode(self) -> builtins.str:
|
|
56739
|
-
'''The desired Block Public Access
|
|
56778
|
+
'''The desired VPC Block Public Access mode for a specific VPC or subnet exclusion.
|
|
56779
|
+
|
|
56780
|
+
- ``allow-bidirectional`` : Allow all internet traffic to and from the excluded VPCs and subnets.
|
|
56781
|
+
- ``allow-egress`` : Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to ``block-bidirectional`` .
|
|
56740
56782
|
|
|
56741
56783
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-internetgatewayexclusionmode
|
|
56742
56784
|
'''
|
|
@@ -56746,9 +56788,9 @@ class CfnVPCBlockPublicAccessExclusionProps:
|
|
|
56746
56788
|
|
|
56747
56789
|
@builtins.property
|
|
56748
56790
|
def subnet_id(self) -> typing.Optional[builtins.str]:
|
|
56749
|
-
'''The ID of the subnet.
|
|
56791
|
+
'''The ID of the subnet you want to exclude.
|
|
56750
56792
|
|
|
56751
|
-
Required only if you don't specify VpcId
|
|
56793
|
+
Required only if you don't specify VpcId.
|
|
56752
56794
|
|
|
56753
56795
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-subnetid
|
|
56754
56796
|
'''
|
|
@@ -56766,7 +56808,7 @@ class CfnVPCBlockPublicAccessExclusionProps:
|
|
|
56766
56808
|
|
|
56767
56809
|
@builtins.property
|
|
56768
56810
|
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
56769
|
-
'''The ID of the
|
|
56811
|
+
'''The ID of the VPC you want to exclude.
|
|
56770
56812
|
|
|
56771
56813
|
Required only if you don't specify SubnetId.
|
|
56772
56814
|
|
|
@@ -56793,7 +56835,9 @@ class CfnVPCBlockPublicAccessOptions(
|
|
|
56793
56835
|
metaclass=jsii.JSIIMeta,
|
|
56794
56836
|
jsii_type="aws-cdk-lib.aws_ec2.CfnVPCBlockPublicAccessOptions",
|
|
56795
56837
|
):
|
|
56796
|
-
'''
|
|
56838
|
+
'''VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways.
|
|
56839
|
+
|
|
56840
|
+
To learn more about VPC BPA, see `Block public access to VPCs and subnets <https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html>`_ in the *Amazon VPC User Guide* .
|
|
56797
56841
|
|
|
56798
56842
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html
|
|
56799
56843
|
:cloudformationResource: AWS::EC2::VPCBlockPublicAccessOptions
|
|
@@ -56820,7 +56864,7 @@ class CfnVPCBlockPublicAccessOptions(
|
|
|
56820
56864
|
'''
|
|
56821
56865
|
:param scope: Scope in which this resource is defined.
|
|
56822
56866
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
56823
|
-
:param internet_gateway_block_mode: The desired Block Public Access mode for
|
|
56867
|
+
:param internet_gateway_block_mode: The desired VPC Block Public Access mode for internet gateways in your account. We do not allow you to create this resource type in an "off" mode since off is the default value. - ``block-bidirectional`` : Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets). - ``block-ingress`` : Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.
|
|
56824
56868
|
'''
|
|
56825
56869
|
if __debug__:
|
|
56826
56870
|
type_hints = typing.get_type_hints(_typecheckingstub__24d31c53909b617dc4fc1905f3c6a7fb631c56e6a160f59064795a8c003a6ea4)
|
|
@@ -56865,7 +56909,7 @@ class CfnVPCBlockPublicAccessOptions(
|
|
|
56865
56909
|
@builtins.property
|
|
56866
56910
|
@jsii.member(jsii_name="attrAccountId")
|
|
56867
56911
|
def attr_account_id(self) -> builtins.str:
|
|
56868
|
-
'''The
|
|
56912
|
+
'''The ID of the AWS account.
|
|
56869
56913
|
|
|
56870
56914
|
:cloudformationAttribute: AccountId
|
|
56871
56915
|
'''
|
|
@@ -56879,7 +56923,7 @@ class CfnVPCBlockPublicAccessOptions(
|
|
|
56879
56923
|
@builtins.property
|
|
56880
56924
|
@jsii.member(jsii_name="internetGatewayBlockMode")
|
|
56881
56925
|
def internet_gateway_block_mode(self) -> builtins.str:
|
|
56882
|
-
'''The desired Block Public Access mode for
|
|
56926
|
+
'''The desired VPC Block Public Access mode for internet gateways in your account.'''
|
|
56883
56927
|
return typing.cast(builtins.str, jsii.get(self, "internetGatewayBlockMode"))
|
|
56884
56928
|
|
|
56885
56929
|
@internet_gateway_block_mode.setter
|
|
@@ -56899,7 +56943,7 @@ class CfnVPCBlockPublicAccessOptionsProps:
|
|
|
56899
56943
|
def __init__(self, *, internet_gateway_block_mode: builtins.str) -> None:
|
|
56900
56944
|
'''Properties for defining a ``CfnVPCBlockPublicAccessOptions``.
|
|
56901
56945
|
|
|
56902
|
-
:param internet_gateway_block_mode: The desired Block Public Access mode for
|
|
56946
|
+
:param internet_gateway_block_mode: The desired VPC Block Public Access mode for internet gateways in your account. We do not allow you to create this resource type in an "off" mode since off is the default value. - ``block-bidirectional`` : Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets). - ``block-ingress`` : Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.
|
|
56903
56947
|
|
|
56904
56948
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html
|
|
56905
56949
|
:exampleMetadata: fixture=_generated
|
|
@@ -56923,9 +56967,12 @@ class CfnVPCBlockPublicAccessOptionsProps:
|
|
|
56923
56967
|
|
|
56924
56968
|
@builtins.property
|
|
56925
56969
|
def internet_gateway_block_mode(self) -> builtins.str:
|
|
56926
|
-
'''The desired Block Public Access mode for
|
|
56970
|
+
'''The desired VPC Block Public Access mode for internet gateways in your account.
|
|
56971
|
+
|
|
56972
|
+
We do not allow you to create this resource type in an "off" mode since off is the default value.
|
|
56927
56973
|
|
|
56928
|
-
|
|
56974
|
+
- ``block-bidirectional`` : Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).
|
|
56975
|
+
- ``block-ingress`` : Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.
|
|
56929
56976
|
|
|
56930
56977
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html#cfn-ec2-vpcblockpublicaccessoptions-internetgatewayblockmode
|
|
56931
56978
|
'''
|
|
@@ -77532,6 +77579,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
77532
77579
|
def GLUE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77533
77580
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GLUE"))
|
|
77534
77581
|
|
|
77582
|
+
@jsii.python.classproperty
|
|
77583
|
+
@jsii.member(jsii_name="GLUE_DASHBOARD")
|
|
77584
|
+
def GLUE_DASHBOARD(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77585
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GLUE_DASHBOARD"))
|
|
77586
|
+
|
|
77535
77587
|
@jsii.python.classproperty
|
|
77536
77588
|
@jsii.member(jsii_name="GLUE_DATABREW")
|
|
77537
77589
|
def GLUE_DATABREW(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -77622,6 +77674,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
77622
77674
|
def INSPECTOR_SCAN(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77623
77675
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "INSPECTOR_SCAN"))
|
|
77624
77676
|
|
|
77677
|
+
@jsii.python.classproperty
|
|
77678
|
+
@jsii.member(jsii_name="INVOICING")
|
|
77679
|
+
def INVOICING(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77680
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "INVOICING"))
|
|
77681
|
+
|
|
77625
77682
|
@jsii.python.classproperty
|
|
77626
77683
|
@jsii.member(jsii_name="IOT_CORE")
|
|
77627
77684
|
def IOT_CORE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -77879,6 +77936,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
77879
77936
|
def MIGRATIONHUB_STRATEGY(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77880
77937
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "MIGRATIONHUB_STRATEGY"))
|
|
77881
77938
|
|
|
77939
|
+
@jsii.python.classproperty
|
|
77940
|
+
@jsii.member(jsii_name="MQ")
|
|
77941
|
+
def MQ(cls) -> "InterfaceVpcEndpointAwsService":
|
|
77942
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "MQ"))
|
|
77943
|
+
|
|
77882
77944
|
@jsii.python.classproperty
|
|
77883
77945
|
@jsii.member(jsii_name="NEPTUNE_ANALYTICS")
|
|
77884
77946
|
def NEPTUNE_ANALYTICS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -78228,11 +78290,21 @@ class InterfaceVpcEndpointAwsService(
|
|
|
78228
78290
|
def S3_OUTPOSTS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78229
78291
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "S3_OUTPOSTS"))
|
|
78230
78292
|
|
|
78293
|
+
@jsii.python.classproperty
|
|
78294
|
+
@jsii.member(jsii_name="S3_TABLES")
|
|
78295
|
+
def S3_TABLES(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78296
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "S3_TABLES"))
|
|
78297
|
+
|
|
78231
78298
|
@jsii.python.classproperty
|
|
78232
78299
|
@jsii.member(jsii_name="SAGEMAKER_API")
|
|
78233
78300
|
def SAGEMAKER_API(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78234
78301
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAGEMAKER_API"))
|
|
78235
78302
|
|
|
78303
|
+
@jsii.python.classproperty
|
|
78304
|
+
@jsii.member(jsii_name="SAGEMAKER_DATA_SCIENCE_ASSISTANT")
|
|
78305
|
+
def SAGEMAKER_DATA_SCIENCE_ASSISTANT(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78306
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAGEMAKER_DATA_SCIENCE_ASSISTANT"))
|
|
78307
|
+
|
|
78236
78308
|
@jsii.python.classproperty
|
|
78237
78309
|
@jsii.member(jsii_name="SAGEMAKER_EXPERIMENTS")
|
|
78238
78310
|
def SAGEMAKER_EXPERIMENTS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -78258,6 +78330,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
78258
78330
|
def SAGEMAKER_NOTEBOOK(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78259
78331
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAGEMAKER_NOTEBOOK"))
|
|
78260
78332
|
|
|
78333
|
+
@jsii.python.classproperty
|
|
78334
|
+
@jsii.member(jsii_name="SAGEMAKER_PARTNER_APP")
|
|
78335
|
+
def SAGEMAKER_PARTNER_APP(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78336
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAGEMAKER_PARTNER_APP"))
|
|
78337
|
+
|
|
78261
78338
|
@jsii.python.classproperty
|
|
78262
78339
|
@jsii.member(jsii_name="SAGEMAKER_RUNTIME")
|
|
78263
78340
|
def SAGEMAKER_RUNTIME(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -78273,6 +78350,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
78273
78350
|
def SAGEMAKER_STUDIO(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78274
78351
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAGEMAKER_STUDIO"))
|
|
78275
78352
|
|
|
78353
|
+
@jsii.python.classproperty
|
|
78354
|
+
@jsii.member(jsii_name="SAVINGS_PLANS")
|
|
78355
|
+
def SAVINGS_PLANS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
78356
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SAVINGS_PLANS"))
|
|
78357
|
+
|
|
78276
78358
|
@jsii.python.classproperty
|
|
78277
78359
|
@jsii.member(jsii_name="SECRETS_MANAGER")
|
|
78278
78360
|
def SECRETS_MANAGER(cls) -> "InterfaceVpcEndpointAwsService":
|