aws-cdk-lib 2.128.0__py3-none-any.whl → 2.129.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +2 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.128.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +4 -0
- aws_cdk/aws_codepipeline/__init__.py +463 -11
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +157 -12
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +111 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -1548,7 +1548,7 @@ EBS volume for the bastion host can be encrypted like:
|
|
|
1548
1548
|
host = ec2.BastionHostLinux(self, "BastionHost",
|
|
1549
1549
|
vpc=vpc,
|
|
1550
1550
|
block_devices=[ec2.BlockDevice(
|
|
1551
|
-
device_name="
|
|
1551
|
+
device_name="/dev/sdh",
|
|
1552
1552
|
volume=ec2.BlockDeviceVolume.ebs(10,
|
|
1553
1553
|
encrypted=True
|
|
1554
1554
|
)
|
|
@@ -4826,7 +4826,7 @@ class BastionHostLinuxProps:
|
|
|
4826
4826
|
host = ec2.BastionHostLinux(self, "BastionHost",
|
|
4827
4827
|
vpc=vpc,
|
|
4828
4828
|
block_devices=[ec2.BlockDevice(
|
|
4829
|
-
device_name="
|
|
4829
|
+
device_name="/dev/sdh",
|
|
4830
4830
|
volume=ec2.BlockDeviceVolume.ebs(10,
|
|
4831
4831
|
encrypted=True
|
|
4832
4832
|
)
|
|
@@ -7352,9 +7352,6 @@ class CfnClientVpnEndpoint(
|
|
|
7352
7352
|
# the properties below are optional
|
|
7353
7353
|
banner_text="bannerText"
|
|
7354
7354
|
),
|
|
7355
|
-
client_route_monitoring_options=ec2.CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty(
|
|
7356
|
-
enabled=False
|
|
7357
|
-
),
|
|
7358
7355
|
description="description",
|
|
7359
7356
|
dns_servers=["dnsServers"],
|
|
7360
7357
|
security_group_ids=["securityGroupIds"],
|
|
@@ -7385,7 +7382,6 @@ class CfnClientVpnEndpoint(
|
|
|
7385
7382
|
server_certificate_arn: builtins.str,
|
|
7386
7383
|
client_connect_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnClientVpnEndpoint.ClientConnectOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7387
7384
|
client_login_banner_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7388
|
-
client_route_monitoring_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7389
7385
|
description: typing.Optional[builtins.str] = None,
|
|
7390
7386
|
dns_servers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7391
7387
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7406,7 +7402,6 @@ class CfnClientVpnEndpoint(
|
|
|
7406
7402
|
:param server_certificate_arn: The ARN of the server certificate. For more information, see the `AWS Certificate Manager User Guide <https://docs.aws.amazon.com/acm/latest/userguide/>`_ .
|
|
7407
7403
|
:param client_connect_options: The options for managing connection authorization for new client connections.
|
|
7408
7404
|
:param client_login_banner_options: Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
|
|
7409
|
-
:param client_route_monitoring_options:
|
|
7410
7405
|
:param description: A brief description of the Client VPN endpoint.
|
|
7411
7406
|
:param dns_servers: Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
|
|
7412
7407
|
:param security_group_ids: The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
|
|
@@ -7429,7 +7424,6 @@ class CfnClientVpnEndpoint(
|
|
|
7429
7424
|
server_certificate_arn=server_certificate_arn,
|
|
7430
7425
|
client_connect_options=client_connect_options,
|
|
7431
7426
|
client_login_banner_options=client_login_banner_options,
|
|
7432
|
-
client_route_monitoring_options=client_route_monitoring_options,
|
|
7433
7427
|
description=description,
|
|
7434
7428
|
dns_servers=dns_servers,
|
|
7435
7429
|
security_group_ids=security_group_ids,
|
|
@@ -7585,23 +7579,6 @@ class CfnClientVpnEndpoint(
|
|
|
7585
7579
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7586
7580
|
jsii.set(self, "clientLoginBannerOptions", value)
|
|
7587
7581
|
|
|
7588
|
-
@builtins.property
|
|
7589
|
-
@jsii.member(jsii_name="clientRouteMonitoringOptions")
|
|
7590
|
-
def client_route_monitoring_options(
|
|
7591
|
-
self,
|
|
7592
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty"]]:
|
|
7593
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty"]], jsii.get(self, "clientRouteMonitoringOptions"))
|
|
7594
|
-
|
|
7595
|
-
@client_route_monitoring_options.setter
|
|
7596
|
-
def client_route_monitoring_options(
|
|
7597
|
-
self,
|
|
7598
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty"]],
|
|
7599
|
-
) -> None:
|
|
7600
|
-
if __debug__:
|
|
7601
|
-
type_hints = typing.get_type_hints(_typecheckingstub__256286aa73ef76d9e8c01586acd7784d241671a2785ad66bbabd4271eef9d823)
|
|
7602
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7603
|
-
jsii.set(self, "clientRouteMonitoringOptions", value)
|
|
7604
|
-
|
|
7605
7582
|
@builtins.property
|
|
7606
7583
|
@jsii.member(jsii_name="description")
|
|
7607
7584
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -8089,61 +8066,6 @@ class CfnClientVpnEndpoint(
|
|
|
8089
8066
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8090
8067
|
)
|
|
8091
8068
|
|
|
8092
|
-
@jsii.data_type(
|
|
8093
|
-
jsii_type="aws-cdk-lib.aws_ec2.CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty",
|
|
8094
|
-
jsii_struct_bases=[],
|
|
8095
|
-
name_mapping={"enabled": "enabled"},
|
|
8096
|
-
)
|
|
8097
|
-
class ClientRouteMonitoringOptionsProperty:
|
|
8098
|
-
def __init__(
|
|
8099
|
-
self,
|
|
8100
|
-
*,
|
|
8101
|
-
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8102
|
-
) -> None:
|
|
8103
|
-
'''
|
|
8104
|
-
:param enabled:
|
|
8105
|
-
|
|
8106
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientroutemonitoringoptions.html
|
|
8107
|
-
:exampleMetadata: fixture=_generated
|
|
8108
|
-
|
|
8109
|
-
Example::
|
|
8110
|
-
|
|
8111
|
-
# The code below shows an example of how to instantiate this type.
|
|
8112
|
-
# The values are placeholders you should change.
|
|
8113
|
-
from aws_cdk import aws_ec2 as ec2
|
|
8114
|
-
|
|
8115
|
-
client_route_monitoring_options_property = ec2.CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty(
|
|
8116
|
-
enabled=False
|
|
8117
|
-
)
|
|
8118
|
-
'''
|
|
8119
|
-
if __debug__:
|
|
8120
|
-
type_hints = typing.get_type_hints(_typecheckingstub__a95e90764e53fffb06a3e0dcecbd41f642f3362128769eb65cf04e24be9cd71b)
|
|
8121
|
-
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
8122
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8123
|
-
if enabled is not None:
|
|
8124
|
-
self._values["enabled"] = enabled
|
|
8125
|
-
|
|
8126
|
-
@builtins.property
|
|
8127
|
-
def enabled(
|
|
8128
|
-
self,
|
|
8129
|
-
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8130
|
-
'''
|
|
8131
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientroutemonitoringoptions.html#cfn-ec2-clientvpnendpoint-clientroutemonitoringoptions-enabled
|
|
8132
|
-
'''
|
|
8133
|
-
result = self._values.get("enabled")
|
|
8134
|
-
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
8135
|
-
|
|
8136
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8137
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8138
|
-
|
|
8139
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8140
|
-
return not (rhs == self)
|
|
8141
|
-
|
|
8142
|
-
def __repr__(self) -> str:
|
|
8143
|
-
return "ClientRouteMonitoringOptionsProperty(%s)" % ", ".join(
|
|
8144
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
8145
|
-
)
|
|
8146
|
-
|
|
8147
8069
|
@jsii.data_type(
|
|
8148
8070
|
jsii_type="aws-cdk-lib.aws_ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty",
|
|
8149
8071
|
jsii_struct_bases=[],
|
|
@@ -8456,7 +8378,6 @@ class CfnClientVpnEndpoint(
|
|
|
8456
8378
|
"server_certificate_arn": "serverCertificateArn",
|
|
8457
8379
|
"client_connect_options": "clientConnectOptions",
|
|
8458
8380
|
"client_login_banner_options": "clientLoginBannerOptions",
|
|
8459
|
-
"client_route_monitoring_options": "clientRouteMonitoringOptions",
|
|
8460
8381
|
"description": "description",
|
|
8461
8382
|
"dns_servers": "dnsServers",
|
|
8462
8383
|
"security_group_ids": "securityGroupIds",
|
|
@@ -8479,7 +8400,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8479
8400
|
server_certificate_arn: builtins.str,
|
|
8480
8401
|
client_connect_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientConnectOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8481
8402
|
client_login_banner_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8482
|
-
client_route_monitoring_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8483
8403
|
description: typing.Optional[builtins.str] = None,
|
|
8484
8404
|
dns_servers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8485
8405
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8499,7 +8419,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8499
8419
|
:param server_certificate_arn: The ARN of the server certificate. For more information, see the `AWS Certificate Manager User Guide <https://docs.aws.amazon.com/acm/latest/userguide/>`_ .
|
|
8500
8420
|
:param client_connect_options: The options for managing connection authorization for new client connections.
|
|
8501
8421
|
:param client_login_banner_options: Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
|
|
8502
|
-
:param client_route_monitoring_options:
|
|
8503
8422
|
:param description: A brief description of the Client VPN endpoint.
|
|
8504
8423
|
:param dns_servers: Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
|
|
8505
8424
|
:param security_group_ids: The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
|
|
@@ -8561,9 +8480,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8561
8480
|
# the properties below are optional
|
|
8562
8481
|
banner_text="bannerText"
|
|
8563
8482
|
),
|
|
8564
|
-
client_route_monitoring_options=ec2.CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty(
|
|
8565
|
-
enabled=False
|
|
8566
|
-
),
|
|
8567
8483
|
description="description",
|
|
8568
8484
|
dns_servers=["dnsServers"],
|
|
8569
8485
|
security_group_ids=["securityGroupIds"],
|
|
@@ -8590,7 +8506,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8590
8506
|
check_type(argname="argument server_certificate_arn", value=server_certificate_arn, expected_type=type_hints["server_certificate_arn"])
|
|
8591
8507
|
check_type(argname="argument client_connect_options", value=client_connect_options, expected_type=type_hints["client_connect_options"])
|
|
8592
8508
|
check_type(argname="argument client_login_banner_options", value=client_login_banner_options, expected_type=type_hints["client_login_banner_options"])
|
|
8593
|
-
check_type(argname="argument client_route_monitoring_options", value=client_route_monitoring_options, expected_type=type_hints["client_route_monitoring_options"])
|
|
8594
8509
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
8595
8510
|
check_type(argname="argument dns_servers", value=dns_servers, expected_type=type_hints["dns_servers"])
|
|
8596
8511
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
@@ -8611,8 +8526,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8611
8526
|
self._values["client_connect_options"] = client_connect_options
|
|
8612
8527
|
if client_login_banner_options is not None:
|
|
8613
8528
|
self._values["client_login_banner_options"] = client_login_banner_options
|
|
8614
|
-
if client_route_monitoring_options is not None:
|
|
8615
|
-
self._values["client_route_monitoring_options"] = client_route_monitoring_options
|
|
8616
8529
|
if description is not None:
|
|
8617
8530
|
self._values["description"] = description
|
|
8618
8531
|
if dns_servers is not None:
|
|
@@ -8711,16 +8624,6 @@ class CfnClientVpnEndpointProps:
|
|
|
8711
8624
|
result = self._values.get("client_login_banner_options")
|
|
8712
8625
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty]], result)
|
|
8713
8626
|
|
|
8714
|
-
@builtins.property
|
|
8715
|
-
def client_route_monitoring_options(
|
|
8716
|
-
self,
|
|
8717
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty]]:
|
|
8718
|
-
'''
|
|
8719
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-clientroutemonitoringoptions
|
|
8720
|
-
'''
|
|
8721
|
-
result = self._values.get("client_route_monitoring_options")
|
|
8722
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty]], result)
|
|
8723
|
-
|
|
8724
8627
|
@builtins.property
|
|
8725
8628
|
def description(self) -> typing.Optional[builtins.str]:
|
|
8726
8629
|
'''A brief description of the Client VPN endpoint.
|
|
@@ -10047,6 +9950,7 @@ class CfnEC2Fleet(
|
|
|
10047
9950
|
instance_generations=["instanceGenerations"],
|
|
10048
9951
|
local_storage="localStorage",
|
|
10049
9952
|
local_storage_types=["localStorageTypes"],
|
|
9953
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
10050
9954
|
memory_gi_bPer_vCpu=ec2.CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty(
|
|
10051
9955
|
max=123,
|
|
10052
9956
|
min=123
|
|
@@ -10885,6 +10789,7 @@ class CfnEC2Fleet(
|
|
|
10885
10789
|
instance_generations=["instanceGenerations"],
|
|
10886
10790
|
local_storage="localStorage",
|
|
10887
10791
|
local_storage_types=["localStorageTypes"],
|
|
10792
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
10888
10793
|
memory_gi_bPer_vCpu=ec2.CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty(
|
|
10889
10794
|
max=123,
|
|
10890
10795
|
min=123
|
|
@@ -11053,6 +10958,7 @@ class CfnEC2Fleet(
|
|
|
11053
10958
|
instance_generations=["instanceGenerations"],
|
|
11054
10959
|
local_storage="localStorage",
|
|
11055
10960
|
local_storage_types=["localStorageTypes"],
|
|
10961
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
11056
10962
|
memory_gi_bPer_vCpu=ec2.CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty(
|
|
11057
10963
|
max=123,
|
|
11058
10964
|
min=123
|
|
@@ -11365,6 +11271,7 @@ class CfnEC2Fleet(
|
|
|
11365
11271
|
"instance_generations": "instanceGenerations",
|
|
11366
11272
|
"local_storage": "localStorage",
|
|
11367
11273
|
"local_storage_types": "localStorageTypes",
|
|
11274
|
+
"max_spot_price_as_percentage_of_optimal_on_demand_price": "maxSpotPriceAsPercentageOfOptimalOnDemandPrice",
|
|
11368
11275
|
"memory_gib_per_v_cpu": "memoryGiBPerVCpu",
|
|
11369
11276
|
"memory_mib": "memoryMiB",
|
|
11370
11277
|
"network_bandwidth_gbps": "networkBandwidthGbps",
|
|
@@ -11394,6 +11301,7 @@ class CfnEC2Fleet(
|
|
|
11394
11301
|
instance_generations: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11395
11302
|
local_storage: typing.Optional[builtins.str] = None,
|
|
11396
11303
|
local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11304
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: typing.Optional[jsii.Number] = None,
|
|
11397
11305
|
memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11398
11306
|
memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEC2Fleet.MemoryMiBRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11399
11307
|
network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEC2Fleet.NetworkBandwidthGbpsRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -11439,6 +11347,7 @@ class CfnEC2Fleet(
|
|
|
11439
11347
|
: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
|
|
11440
11348
|
: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``
|
|
11441
11349
|
:param local_storage_types: The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify ``hdd`` . - For instance types with solid state drive (SSD) storage, specify ``ssd`` . Default: ``hdd`` and ``ssd``
|
|
11350
|
+
:param max_spot_price_as_percentage_of_optimal_on_demand_price:
|
|
11442
11351
|
:param memory_gib_per_v_cpu: The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
|
|
11443
11352
|
:param memory_mib: The minimum and maximum amount of memory, in MiB.
|
|
11444
11353
|
:param network_bandwidth_gbps: The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see `Amazon EC2 instance network bandwidth <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
@@ -11482,6 +11391,7 @@ class CfnEC2Fleet(
|
|
|
11482
11391
|
instance_generations=["instanceGenerations"],
|
|
11483
11392
|
local_storage="localStorage",
|
|
11484
11393
|
local_storage_types=["localStorageTypes"],
|
|
11394
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
11485
11395
|
memory_gi_bPer_vCpu=ec2.CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty(
|
|
11486
11396
|
max=123,
|
|
11487
11397
|
min=123
|
|
@@ -11527,6 +11437,7 @@ class CfnEC2Fleet(
|
|
|
11527
11437
|
check_type(argname="argument instance_generations", value=instance_generations, expected_type=type_hints["instance_generations"])
|
|
11528
11438
|
check_type(argname="argument local_storage", value=local_storage, expected_type=type_hints["local_storage"])
|
|
11529
11439
|
check_type(argname="argument local_storage_types", value=local_storage_types, expected_type=type_hints["local_storage_types"])
|
|
11440
|
+
check_type(argname="argument max_spot_price_as_percentage_of_optimal_on_demand_price", value=max_spot_price_as_percentage_of_optimal_on_demand_price, expected_type=type_hints["max_spot_price_as_percentage_of_optimal_on_demand_price"])
|
|
11530
11441
|
check_type(argname="argument memory_gib_per_v_cpu", value=memory_gib_per_v_cpu, expected_type=type_hints["memory_gib_per_v_cpu"])
|
|
11531
11442
|
check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
|
|
11532
11443
|
check_type(argname="argument network_bandwidth_gbps", value=network_bandwidth_gbps, expected_type=type_hints["network_bandwidth_gbps"])
|
|
@@ -11565,6 +11476,8 @@ class CfnEC2Fleet(
|
|
|
11565
11476
|
self._values["local_storage"] = local_storage
|
|
11566
11477
|
if local_storage_types is not None:
|
|
11567
11478
|
self._values["local_storage_types"] = local_storage_types
|
|
11479
|
+
if max_spot_price_as_percentage_of_optimal_on_demand_price is not None:
|
|
11480
|
+
self._values["max_spot_price_as_percentage_of_optimal_on_demand_price"] = max_spot_price_as_percentage_of_optimal_on_demand_price
|
|
11568
11481
|
if memory_gib_per_v_cpu is not None:
|
|
11569
11482
|
self._values["memory_gib_per_v_cpu"] = memory_gib_per_v_cpu
|
|
11570
11483
|
if memory_mib is not None:
|
|
@@ -11822,6 +11735,16 @@ class CfnEC2Fleet(
|
|
|
11822
11735
|
result = self._values.get("local_storage_types")
|
|
11823
11736
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
11824
11737
|
|
|
11738
|
+
@builtins.property
|
|
11739
|
+
def max_spot_price_as_percentage_of_optimal_on_demand_price(
|
|
11740
|
+
self,
|
|
11741
|
+
) -> typing.Optional[jsii.Number]:
|
|
11742
|
+
'''
|
|
11743
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-maxspotpriceaspercentageofoptimalondemandprice
|
|
11744
|
+
'''
|
|
11745
|
+
result = self._values.get("max_spot_price_as_percentage_of_optimal_on_demand_price")
|
|
11746
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11747
|
+
|
|
11825
11748
|
@builtins.property
|
|
11826
11749
|
def memory_gib_per_v_cpu(
|
|
11827
11750
|
self,
|
|
@@ -13351,6 +13274,7 @@ class CfnEC2FleetProps:
|
|
|
13351
13274
|
instance_generations=["instanceGenerations"],
|
|
13352
13275
|
local_storage="localStorage",
|
|
13353
13276
|
local_storage_types=["localStorageTypes"],
|
|
13277
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
13354
13278
|
memory_gi_bPer_vCpu=ec2.CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty(
|
|
13355
13279
|
max=123,
|
|
13356
13280
|
min=123
|
|
@@ -26985,7 +26909,7 @@ class CfnLaunchTemplate(
|
|
|
26985
26909
|
'''The maintenance options of your instance.
|
|
26986
26910
|
|
|
26987
26911
|
:param auto_recovery: Disables the automatic recovery behavior of your instance or sets it to default.
|
|
26988
|
-
:param reboot_migration:
|
|
26912
|
+
:param reboot_migration:
|
|
26989
26913
|
|
|
26990
26914
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-maintenanceoptions.html
|
|
26991
26915
|
:exampleMetadata: fixture=_generated
|
|
@@ -27022,8 +26946,7 @@ class CfnLaunchTemplate(
|
|
|
27022
26946
|
|
|
27023
26947
|
@builtins.property
|
|
27024
26948
|
def reboot_migration(self) -> typing.Optional[builtins.str]:
|
|
27025
|
-
'''
|
|
27026
|
-
|
|
26949
|
+
'''
|
|
27027
26950
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-maintenanceoptions.html#cfn-ec2-launchtemplate-maintenanceoptions-rebootmigration
|
|
27028
26951
|
'''
|
|
27029
26952
|
result = self._values.get("reboot_migration")
|
|
@@ -32595,8 +32518,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
32595
32518
|
@builtins.property
|
|
32596
32519
|
@jsii.member(jsii_name="attrAlternatePathHints")
|
|
32597
32520
|
def attr_alternate_path_hints(self) -> _IResolvable_da3f097b:
|
|
32598
|
-
'''
|
|
32599
|
-
|
|
32521
|
+
'''
|
|
32600
32522
|
:cloudformationAttribute: AlternatePathHints
|
|
32601
32523
|
'''
|
|
32602
32524
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrAlternatePathHints"))
|
|
@@ -32604,10 +32526,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
32604
32526
|
@builtins.property
|
|
32605
32527
|
@jsii.member(jsii_name="attrExplanations")
|
|
32606
32528
|
def attr_explanations(self) -> _IResolvable_da3f097b:
|
|
32607
|
-
'''
|
|
32608
|
-
|
|
32609
|
-
For more information, see `Reachability Analyzer explanation codes <https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html>`_ .
|
|
32610
|
-
|
|
32529
|
+
'''
|
|
32611
32530
|
:cloudformationAttribute: Explanations
|
|
32612
32531
|
'''
|
|
32613
32532
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrExplanations"))
|
|
@@ -32615,8 +32534,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
32615
32534
|
@builtins.property
|
|
32616
32535
|
@jsii.member(jsii_name="attrForwardPathComponents")
|
|
32617
32536
|
def attr_forward_path_components(self) -> _IResolvable_da3f097b:
|
|
32618
|
-
'''
|
|
32619
|
-
|
|
32537
|
+
'''
|
|
32620
32538
|
:cloudformationAttribute: ForwardPathComponents
|
|
32621
32539
|
'''
|
|
32622
32540
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrForwardPathComponents"))
|
|
@@ -32651,8 +32569,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
32651
32569
|
@builtins.property
|
|
32652
32570
|
@jsii.member(jsii_name="attrReturnPathComponents")
|
|
32653
32571
|
def attr_return_path_components(self) -> _IResolvable_da3f097b:
|
|
32654
|
-
'''
|
|
32655
|
-
|
|
32572
|
+
'''
|
|
32656
32573
|
:cloudformationAttribute: ReturnPathComponents
|
|
32657
32574
|
'''
|
|
32658
32575
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrReturnPathComponents"))
|
|
@@ -32687,8 +32604,7 @@ class CfnNetworkInsightsAnalysis(
|
|
|
32687
32604
|
@builtins.property
|
|
32688
32605
|
@jsii.member(jsii_name="attrSuggestedAccounts")
|
|
32689
32606
|
def attr_suggested_accounts(self) -> typing.List[builtins.str]:
|
|
32690
|
-
'''
|
|
32691
|
-
|
|
32607
|
+
'''
|
|
32692
32608
|
:cloudformationAttribute: SuggestedAccounts
|
|
32693
32609
|
'''
|
|
32694
32610
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrSuggestedAccounts"))
|
|
@@ -36807,9 +36723,7 @@ class CfnNetworkInterface(
|
|
|
36807
36723
|
@builtins.property
|
|
36808
36724
|
@jsii.member(jsii_name="attrSecondaryPrivateIpAddresses")
|
|
36809
36725
|
def attr_secondary_private_ip_addresses(self) -> typing.List[builtins.str]:
|
|
36810
|
-
'''
|
|
36811
|
-
|
|
36812
|
-
For example, ``["10.0.0.161", "10.0.0.162", "10.0.0.163"]`` .
|
|
36726
|
+
'''Returns the secondary private IP addresses of the network interface.
|
|
36813
36727
|
|
|
36814
36728
|
:cloudformationAttribute: SecondaryPrivateIpAddresses
|
|
36815
36729
|
'''
|
|
@@ -38862,7 +38776,6 @@ class CfnPrefixList(
|
|
|
38862
38776
|
|
|
38863
38777
|
cfn_prefix_list = ec2.CfnPrefixList(self, "MyCfnPrefixList",
|
|
38864
38778
|
address_family="addressFamily",
|
|
38865
|
-
max_entries=123,
|
|
38866
38779
|
prefix_list_name="prefixListName",
|
|
38867
38780
|
|
|
38868
38781
|
# the properties below are optional
|
|
@@ -38872,6 +38785,7 @@ class CfnPrefixList(
|
|
|
38872
38785
|
# the properties below are optional
|
|
38873
38786
|
description="description"
|
|
38874
38787
|
)],
|
|
38788
|
+
max_entries=123,
|
|
38875
38789
|
tags=[CfnTag(
|
|
38876
38790
|
key="key",
|
|
38877
38791
|
value="value"
|
|
@@ -38885,18 +38799,18 @@ class CfnPrefixList(
|
|
|
38885
38799
|
id: builtins.str,
|
|
38886
38800
|
*,
|
|
38887
38801
|
address_family: builtins.str,
|
|
38888
|
-
max_entries: jsii.Number,
|
|
38889
38802
|
prefix_list_name: builtins.str,
|
|
38890
38803
|
entries: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPrefixList.EntryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
38804
|
+
max_entries: typing.Optional[jsii.Number] = None,
|
|
38891
38805
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
38892
38806
|
) -> None:
|
|
38893
38807
|
'''
|
|
38894
38808
|
:param scope: Scope in which this resource is defined.
|
|
38895
38809
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
38896
38810
|
:param address_family: The IP address type. Valid Values: ``IPv4`` | ``IPv6``
|
|
38897
|
-
:param max_entries: The maximum number of entries for the prefix list.
|
|
38898
38811
|
:param prefix_list_name: A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with ``com.amazonaws`` .
|
|
38899
38812
|
:param entries: One or more entries for the prefix list.
|
|
38813
|
+
:param max_entries: The maximum number of entries for the prefix list.
|
|
38900
38814
|
:param tags: The tags for the prefix list.
|
|
38901
38815
|
'''
|
|
38902
38816
|
if __debug__:
|
|
@@ -38905,9 +38819,9 @@ class CfnPrefixList(
|
|
|
38905
38819
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
38906
38820
|
props = CfnPrefixListProps(
|
|
38907
38821
|
address_family=address_family,
|
|
38908
|
-
max_entries=max_entries,
|
|
38909
38822
|
prefix_list_name=prefix_list_name,
|
|
38910
38823
|
entries=entries,
|
|
38824
|
+
max_entries=max_entries,
|
|
38911
38825
|
tags=tags,
|
|
38912
38826
|
)
|
|
38913
38827
|
|
|
@@ -39011,19 +38925,6 @@ class CfnPrefixList(
|
|
|
39011
38925
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39012
38926
|
jsii.set(self, "addressFamily", value)
|
|
39013
38927
|
|
|
39014
|
-
@builtins.property
|
|
39015
|
-
@jsii.member(jsii_name="maxEntries")
|
|
39016
|
-
def max_entries(self) -> jsii.Number:
|
|
39017
|
-
'''The maximum number of entries for the prefix list.'''
|
|
39018
|
-
return typing.cast(jsii.Number, jsii.get(self, "maxEntries"))
|
|
39019
|
-
|
|
39020
|
-
@max_entries.setter
|
|
39021
|
-
def max_entries(self, value: jsii.Number) -> None:
|
|
39022
|
-
if __debug__:
|
|
39023
|
-
type_hints = typing.get_type_hints(_typecheckingstub__1ed7254f10519f5d8ac376f56a0f44399f3d7551f32d71c5509ea1ccd7c2a3cd)
|
|
39024
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39025
|
-
jsii.set(self, "maxEntries", value)
|
|
39026
|
-
|
|
39027
38928
|
@builtins.property
|
|
39028
38929
|
@jsii.member(jsii_name="prefixListName")
|
|
39029
38930
|
def prefix_list_name(self) -> builtins.str:
|
|
@@ -39055,6 +38956,19 @@ class CfnPrefixList(
|
|
|
39055
38956
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39056
38957
|
jsii.set(self, "entries", value)
|
|
39057
38958
|
|
|
38959
|
+
@builtins.property
|
|
38960
|
+
@jsii.member(jsii_name="maxEntries")
|
|
38961
|
+
def max_entries(self) -> typing.Optional[jsii.Number]:
|
|
38962
|
+
'''The maximum number of entries for the prefix list.'''
|
|
38963
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxEntries"))
|
|
38964
|
+
|
|
38965
|
+
@max_entries.setter
|
|
38966
|
+
def max_entries(self, value: typing.Optional[jsii.Number]) -> None:
|
|
38967
|
+
if __debug__:
|
|
38968
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1ed7254f10519f5d8ac376f56a0f44399f3d7551f32d71c5509ea1ccd7c2a3cd)
|
|
38969
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
38970
|
+
jsii.set(self, "maxEntries", value)
|
|
38971
|
+
|
|
39058
38972
|
@builtins.property
|
|
39059
38973
|
@jsii.member(jsii_name="tagsRaw")
|
|
39060
38974
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -39149,9 +39063,9 @@ class CfnPrefixList(
|
|
|
39149
39063
|
jsii_struct_bases=[],
|
|
39150
39064
|
name_mapping={
|
|
39151
39065
|
"address_family": "addressFamily",
|
|
39152
|
-
"max_entries": "maxEntries",
|
|
39153
39066
|
"prefix_list_name": "prefixListName",
|
|
39154
39067
|
"entries": "entries",
|
|
39068
|
+
"max_entries": "maxEntries",
|
|
39155
39069
|
"tags": "tags",
|
|
39156
39070
|
},
|
|
39157
39071
|
)
|
|
@@ -39160,17 +39074,17 @@ class CfnPrefixListProps:
|
|
|
39160
39074
|
self,
|
|
39161
39075
|
*,
|
|
39162
39076
|
address_family: builtins.str,
|
|
39163
|
-
max_entries: jsii.Number,
|
|
39164
39077
|
prefix_list_name: builtins.str,
|
|
39165
39078
|
entries: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPrefixList.EntryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
39079
|
+
max_entries: typing.Optional[jsii.Number] = None,
|
|
39166
39080
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39167
39081
|
) -> None:
|
|
39168
39082
|
'''Properties for defining a ``CfnPrefixList``.
|
|
39169
39083
|
|
|
39170
39084
|
:param address_family: The IP address type. Valid Values: ``IPv4`` | ``IPv6``
|
|
39171
|
-
:param max_entries: The maximum number of entries for the prefix list.
|
|
39172
39085
|
:param prefix_list_name: A name for the prefix list. Constraints: Up to 255 characters in length. The name cannot start with ``com.amazonaws`` .
|
|
39173
39086
|
:param entries: One or more entries for the prefix list.
|
|
39087
|
+
:param max_entries: The maximum number of entries for the prefix list.
|
|
39174
39088
|
:param tags: The tags for the prefix list.
|
|
39175
39089
|
|
|
39176
39090
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html
|
|
@@ -39184,7 +39098,6 @@ class CfnPrefixListProps:
|
|
|
39184
39098
|
|
|
39185
39099
|
cfn_prefix_list_props = ec2.CfnPrefixListProps(
|
|
39186
39100
|
address_family="addressFamily",
|
|
39187
|
-
max_entries=123,
|
|
39188
39101
|
prefix_list_name="prefixListName",
|
|
39189
39102
|
|
|
39190
39103
|
# the properties below are optional
|
|
@@ -39194,6 +39107,7 @@ class CfnPrefixListProps:
|
|
|
39194
39107
|
# the properties below are optional
|
|
39195
39108
|
description="description"
|
|
39196
39109
|
)],
|
|
39110
|
+
max_entries=123,
|
|
39197
39111
|
tags=[CfnTag(
|
|
39198
39112
|
key="key",
|
|
39199
39113
|
value="value"
|
|
@@ -39203,17 +39117,18 @@ class CfnPrefixListProps:
|
|
|
39203
39117
|
if __debug__:
|
|
39204
39118
|
type_hints = typing.get_type_hints(_typecheckingstub__ee3ea534076530da265ec0754410eb853bf7da980bbeaabb96d7fe30a9204813)
|
|
39205
39119
|
check_type(argname="argument address_family", value=address_family, expected_type=type_hints["address_family"])
|
|
39206
|
-
check_type(argname="argument max_entries", value=max_entries, expected_type=type_hints["max_entries"])
|
|
39207
39120
|
check_type(argname="argument prefix_list_name", value=prefix_list_name, expected_type=type_hints["prefix_list_name"])
|
|
39208
39121
|
check_type(argname="argument entries", value=entries, expected_type=type_hints["entries"])
|
|
39122
|
+
check_type(argname="argument max_entries", value=max_entries, expected_type=type_hints["max_entries"])
|
|
39209
39123
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
39210
39124
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
39211
39125
|
"address_family": address_family,
|
|
39212
|
-
"max_entries": max_entries,
|
|
39213
39126
|
"prefix_list_name": prefix_list_name,
|
|
39214
39127
|
}
|
|
39215
39128
|
if entries is not None:
|
|
39216
39129
|
self._values["entries"] = entries
|
|
39130
|
+
if max_entries is not None:
|
|
39131
|
+
self._values["max_entries"] = max_entries
|
|
39217
39132
|
if tags is not None:
|
|
39218
39133
|
self._values["tags"] = tags
|
|
39219
39134
|
|
|
@@ -39229,16 +39144,6 @@ class CfnPrefixListProps:
|
|
|
39229
39144
|
assert result is not None, "Required property 'address_family' is missing"
|
|
39230
39145
|
return typing.cast(builtins.str, result)
|
|
39231
39146
|
|
|
39232
|
-
@builtins.property
|
|
39233
|
-
def max_entries(self) -> jsii.Number:
|
|
39234
|
-
'''The maximum number of entries for the prefix list.
|
|
39235
|
-
|
|
39236
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries
|
|
39237
|
-
'''
|
|
39238
|
-
result = self._values.get("max_entries")
|
|
39239
|
-
assert result is not None, "Required property 'max_entries' is missing"
|
|
39240
|
-
return typing.cast(jsii.Number, result)
|
|
39241
|
-
|
|
39242
39147
|
@builtins.property
|
|
39243
39148
|
def prefix_list_name(self) -> builtins.str:
|
|
39244
39149
|
'''A name for the prefix list.
|
|
@@ -39262,6 +39167,15 @@ class CfnPrefixListProps:
|
|
|
39262
39167
|
result = self._values.get("entries")
|
|
39263
39168
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPrefixList.EntryProperty]]]], result)
|
|
39264
39169
|
|
|
39170
|
+
@builtins.property
|
|
39171
|
+
def max_entries(self) -> typing.Optional[jsii.Number]:
|
|
39172
|
+
'''The maximum number of entries for the prefix list.
|
|
39173
|
+
|
|
39174
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries
|
|
39175
|
+
'''
|
|
39176
|
+
result = self._values.get("max_entries")
|
|
39177
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
39178
|
+
|
|
39265
39179
|
@builtins.property
|
|
39266
39180
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
39267
39181
|
'''The tags for the prefix list.
|
|
@@ -40958,8 +40872,7 @@ class CfnSecurityGroupEgress(
|
|
|
40958
40872
|
@builtins.property
|
|
40959
40873
|
@jsii.member(jsii_name="attrId")
|
|
40960
40874
|
def attr_id(self) -> builtins.str:
|
|
40961
|
-
'''
|
|
40962
|
-
|
|
40875
|
+
'''
|
|
40963
40876
|
:cloudformationAttribute: Id
|
|
40964
40877
|
'''
|
|
40965
40878
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -42322,6 +42235,7 @@ class CfnSpotFleet(
|
|
|
42322
42235
|
instance_generations=["instanceGenerations"],
|
|
42323
42236
|
local_storage="localStorage",
|
|
42324
42237
|
local_storage_types=["localStorageTypes"],
|
|
42238
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
42325
42239
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
42326
42240
|
max=123,
|
|
42327
42241
|
min=123
|
|
@@ -42431,6 +42345,7 @@ class CfnSpotFleet(
|
|
|
42431
42345
|
instance_generations=["instanceGenerations"],
|
|
42432
42346
|
local_storage="localStorage",
|
|
42433
42347
|
local_storage_types=["localStorageTypes"],
|
|
42348
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
42434
42349
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
42435
42350
|
max=123,
|
|
42436
42351
|
min=123
|
|
@@ -43770,6 +43685,7 @@ class CfnSpotFleet(
|
|
|
43770
43685
|
"instance_generations": "instanceGenerations",
|
|
43771
43686
|
"local_storage": "localStorage",
|
|
43772
43687
|
"local_storage_types": "localStorageTypes",
|
|
43688
|
+
"max_spot_price_as_percentage_of_optimal_on_demand_price": "maxSpotPriceAsPercentageOfOptimalOnDemandPrice",
|
|
43773
43689
|
"memory_gib_per_v_cpu": "memoryGiBPerVCpu",
|
|
43774
43690
|
"memory_mib": "memoryMiB",
|
|
43775
43691
|
"network_bandwidth_gbps": "networkBandwidthGbps",
|
|
@@ -43799,6 +43715,7 @@ class CfnSpotFleet(
|
|
|
43799
43715
|
instance_generations: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
43800
43716
|
local_storage: typing.Optional[builtins.str] = None,
|
|
43801
43717
|
local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
43718
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: typing.Optional[jsii.Number] = None,
|
|
43802
43719
|
memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpotFleet.MemoryGiBPerVCpuRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43803
43720
|
memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpotFleet.MemoryMiBRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43804
43721
|
network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpotFleet.NetworkBandwidthGbpsRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -43844,6 +43761,7 @@ class CfnSpotFleet(
|
|
|
43844
43761
|
: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
|
|
43845
43762
|
: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``
|
|
43846
43763
|
:param local_storage_types: The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify ``hdd`` . - For instance types with solid state drive (SSD) storage, specify ``ssd`` . Default: ``hdd`` and ``ssd``
|
|
43764
|
+
:param max_spot_price_as_percentage_of_optimal_on_demand_price:
|
|
43847
43765
|
:param memory_gib_per_v_cpu: The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
|
|
43848
43766
|
:param memory_mib: The minimum and maximum amount of memory, in MiB.
|
|
43849
43767
|
:param network_bandwidth_gbps: The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see `Amazon EC2 instance network bandwidth <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
@@ -43887,6 +43805,7 @@ class CfnSpotFleet(
|
|
|
43887
43805
|
instance_generations=["instanceGenerations"],
|
|
43888
43806
|
local_storage="localStorage",
|
|
43889
43807
|
local_storage_types=["localStorageTypes"],
|
|
43808
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
43890
43809
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
43891
43810
|
max=123,
|
|
43892
43811
|
min=123
|
|
@@ -43932,6 +43851,7 @@ class CfnSpotFleet(
|
|
|
43932
43851
|
check_type(argname="argument instance_generations", value=instance_generations, expected_type=type_hints["instance_generations"])
|
|
43933
43852
|
check_type(argname="argument local_storage", value=local_storage, expected_type=type_hints["local_storage"])
|
|
43934
43853
|
check_type(argname="argument local_storage_types", value=local_storage_types, expected_type=type_hints["local_storage_types"])
|
|
43854
|
+
check_type(argname="argument max_spot_price_as_percentage_of_optimal_on_demand_price", value=max_spot_price_as_percentage_of_optimal_on_demand_price, expected_type=type_hints["max_spot_price_as_percentage_of_optimal_on_demand_price"])
|
|
43935
43855
|
check_type(argname="argument memory_gib_per_v_cpu", value=memory_gib_per_v_cpu, expected_type=type_hints["memory_gib_per_v_cpu"])
|
|
43936
43856
|
check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
|
|
43937
43857
|
check_type(argname="argument network_bandwidth_gbps", value=network_bandwidth_gbps, expected_type=type_hints["network_bandwidth_gbps"])
|
|
@@ -43970,6 +43890,8 @@ class CfnSpotFleet(
|
|
|
43970
43890
|
self._values["local_storage"] = local_storage
|
|
43971
43891
|
if local_storage_types is not None:
|
|
43972
43892
|
self._values["local_storage_types"] = local_storage_types
|
|
43893
|
+
if max_spot_price_as_percentage_of_optimal_on_demand_price is not None:
|
|
43894
|
+
self._values["max_spot_price_as_percentage_of_optimal_on_demand_price"] = max_spot_price_as_percentage_of_optimal_on_demand_price
|
|
43973
43895
|
if memory_gib_per_v_cpu is not None:
|
|
43974
43896
|
self._values["memory_gib_per_v_cpu"] = memory_gib_per_v_cpu
|
|
43975
43897
|
if memory_mib is not None:
|
|
@@ -44227,6 +44149,16 @@ class CfnSpotFleet(
|
|
|
44227
44149
|
result = self._values.get("local_storage_types")
|
|
44228
44150
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
44229
44151
|
|
|
44152
|
+
@builtins.property
|
|
44153
|
+
def max_spot_price_as_percentage_of_optimal_on_demand_price(
|
|
44154
|
+
self,
|
|
44155
|
+
) -> typing.Optional[jsii.Number]:
|
|
44156
|
+
'''
|
|
44157
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-maxspotpriceaspercentageofoptimalondemandprice
|
|
44158
|
+
'''
|
|
44159
|
+
result = self._values.get("max_spot_price_as_percentage_of_optimal_on_demand_price")
|
|
44160
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
44161
|
+
|
|
44230
44162
|
@builtins.property
|
|
44231
44163
|
def memory_gib_per_v_cpu(
|
|
44232
44164
|
self,
|
|
@@ -44442,6 +44374,7 @@ class CfnSpotFleet(
|
|
|
44442
44374
|
instance_generations=["instanceGenerations"],
|
|
44443
44375
|
local_storage="localStorage",
|
|
44444
44376
|
local_storage_types=["localStorageTypes"],
|
|
44377
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
44445
44378
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
44446
44379
|
max=123,
|
|
44447
44380
|
min=123
|
|
@@ -44593,6 +44526,7 @@ class CfnSpotFleet(
|
|
|
44593
44526
|
instance_generations=["instanceGenerations"],
|
|
44594
44527
|
local_storage="localStorage",
|
|
44595
44528
|
local_storage_types=["localStorageTypes"],
|
|
44529
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
44596
44530
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
44597
44531
|
max=123,
|
|
44598
44532
|
min=123
|
|
@@ -45418,6 +45352,7 @@ class CfnSpotFleet(
|
|
|
45418
45352
|
instance_generations=["instanceGenerations"],
|
|
45419
45353
|
local_storage="localStorage",
|
|
45420
45354
|
local_storage_types=["localStorageTypes"],
|
|
45355
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
45421
45356
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
45422
45357
|
max=123,
|
|
45423
45358
|
min=123
|
|
@@ -45991,6 +45926,7 @@ class CfnSpotFleet(
|
|
|
45991
45926
|
instance_generations=["instanceGenerations"],
|
|
45992
45927
|
local_storage="localStorage",
|
|
45993
45928
|
local_storage_types=["localStorageTypes"],
|
|
45929
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
45994
45930
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
45995
45931
|
max=123,
|
|
45996
45932
|
min=123
|
|
@@ -46100,6 +46036,7 @@ class CfnSpotFleet(
|
|
|
46100
46036
|
instance_generations=["instanceGenerations"],
|
|
46101
46037
|
local_storage="localStorage",
|
|
46102
46038
|
local_storage_types=["localStorageTypes"],
|
|
46039
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
46103
46040
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
46104
46041
|
max=123,
|
|
46105
46042
|
min=123
|
|
@@ -47112,6 +47049,7 @@ class CfnSpotFleetProps:
|
|
|
47112
47049
|
instance_generations=["instanceGenerations"],
|
|
47113
47050
|
local_storage="localStorage",
|
|
47114
47051
|
local_storage_types=["localStorageTypes"],
|
|
47052
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
47115
47053
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
47116
47054
|
max=123,
|
|
47117
47055
|
min=123
|
|
@@ -47221,6 +47159,7 @@ class CfnSpotFleetProps:
|
|
|
47221
47159
|
instance_generations=["instanceGenerations"],
|
|
47222
47160
|
local_storage="localStorage",
|
|
47223
47161
|
local_storage_types=["localStorageTypes"],
|
|
47162
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price=123,
|
|
47224
47163
|
memory_gi_bPer_vCpu=ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty(
|
|
47225
47164
|
max=123,
|
|
47226
47165
|
min=123
|
|
@@ -52900,8 +52839,7 @@ class CfnTransitGatewayPeeringAttachment(
|
|
|
52900
52839
|
@builtins.property
|
|
52901
52840
|
@jsii.member(jsii_name="attrStatus")
|
|
52902
52841
|
def attr_status(self) -> _IResolvable_da3f097b:
|
|
52903
|
-
'''
|
|
52904
|
-
|
|
52842
|
+
'''
|
|
52905
52843
|
:cloudformationAttribute: Status
|
|
52906
52844
|
'''
|
|
52907
52845
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrStatus"))
|
|
@@ -54934,10 +54872,7 @@ class CfnVPC(
|
|
|
54934
54872
|
@builtins.property
|
|
54935
54873
|
@jsii.member(jsii_name="attrCidrBlockAssociations")
|
|
54936
54874
|
def attr_cidr_block_associations(self) -> typing.List[builtins.str]:
|
|
54937
|
-
'''
|
|
54938
|
-
|
|
54939
|
-
For example, [ vpc-cidr-assoc-0280ab6b ].
|
|
54940
|
-
|
|
54875
|
+
'''
|
|
54941
54876
|
:cloudformationAttribute: CidrBlockAssociations
|
|
54942
54877
|
'''
|
|
54943
54878
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrCidrBlockAssociations"))
|
|
@@ -54967,10 +54902,7 @@ class CfnVPC(
|
|
|
54967
54902
|
@builtins.property
|
|
54968
54903
|
@jsii.member(jsii_name="attrIpv6CidrBlocks")
|
|
54969
54904
|
def attr_ipv6_cidr_blocks(self) -> typing.List[builtins.str]:
|
|
54970
|
-
'''
|
|
54971
|
-
|
|
54972
|
-
For example, [ 2001:db8:1234:1a00::/56 ].
|
|
54973
|
-
|
|
54905
|
+
'''
|
|
54974
54906
|
:cloudformationAttribute: Ipv6CidrBlocks
|
|
54975
54907
|
'''
|
|
54976
54908
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrIpv6CidrBlocks"))
|
|
@@ -55884,16 +55816,7 @@ class CfnVPCEndpoint(
|
|
|
55884
55816
|
@builtins.property
|
|
55885
55817
|
@jsii.member(jsii_name="attrDnsEntries")
|
|
55886
55818
|
def attr_dns_entries(self) -> typing.List[builtins.str]:
|
|
55887
|
-
'''
|
|
55888
|
-
|
|
55889
|
-
Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services.
|
|
55890
|
-
|
|
55891
|
-
The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com.
|
|
55892
|
-
|
|
55893
|
-
["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"]
|
|
55894
|
-
|
|
55895
|
-
If you update the ``PrivateDnsEnabled`` or ``SubnetIds`` properties, the DNS entries in the list will change.
|
|
55896
|
-
|
|
55819
|
+
'''
|
|
55897
55820
|
:cloudformationAttribute: DnsEntries
|
|
55898
55821
|
'''
|
|
55899
55822
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrDnsEntries"))
|
|
@@ -55910,10 +55833,7 @@ class CfnVPCEndpoint(
|
|
|
55910
55833
|
@builtins.property
|
|
55911
55834
|
@jsii.member(jsii_name="attrNetworkInterfaceIds")
|
|
55912
55835
|
def attr_network_interface_ids(self) -> typing.List[builtins.str]:
|
|
55913
|
-
'''
|
|
55914
|
-
|
|
55915
|
-
If you update the ``PrivateDnsEnabled`` or ``SubnetIds`` properties, the items in this list might change.
|
|
55916
|
-
|
|
55836
|
+
'''
|
|
55917
55837
|
:cloudformationAttribute: NetworkInterfaceIds
|
|
55918
55838
|
'''
|
|
55919
55839
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrNetworkInterfaceIds"))
|
|
@@ -78186,21 +78106,21 @@ class NatProvider(
|
|
|
78186
78106
|
Determines what type of NAT provider to create, either NAT gateways or NAT
|
|
78187
78107
|
instance.
|
|
78188
78108
|
|
|
78189
|
-
:exampleMetadata:
|
|
78109
|
+
:exampleMetadata: infused
|
|
78190
78110
|
|
|
78191
78111
|
Example::
|
|
78192
78112
|
|
|
78193
|
-
#
|
|
78194
|
-
nat_gateway_provider = ec2.NatProvider.instance(
|
|
78195
|
-
instance_type=ec2.InstanceType("t3.small")
|
|
78196
|
-
)
|
|
78113
|
+
# instance_type: ec2.InstanceType
|
|
78197
78114
|
|
|
78198
|
-
vpc = ec2.Vpc(self, "MyVpc",
|
|
78199
|
-
nat_gateway_provider=nat_gateway_provider,
|
|
78200
78115
|
|
|
78201
|
-
|
|
78202
|
-
|
|
78116
|
+
provider = ec2.NatProvider.instance(
|
|
78117
|
+
instance_type=instance_type,
|
|
78118
|
+
default_allowed_traffic=ec2.NatTrafficDirection.OUTBOUND_ONLY
|
|
78119
|
+
)
|
|
78120
|
+
ec2.Vpc(self, "TheVPC",
|
|
78121
|
+
nat_gateway_provider=provider
|
|
78203
78122
|
)
|
|
78123
|
+
provider.connections.allow_from(ec2.Peer.ipv4("1.2.3.4/8"), ec2.Port.tcp(80))
|
|
78204
78124
|
'''
|
|
78205
78125
|
|
|
78206
78126
|
def __init__(self) -> None:
|
|
@@ -87969,7 +87889,7 @@ class BastionHostLinux(
|
|
|
87969
87889
|
host = ec2.BastionHostLinux(self, "BastionHost",
|
|
87970
87890
|
vpc=vpc,
|
|
87971
87891
|
block_devices=[ec2.BlockDevice(
|
|
87972
|
-
device_name="
|
|
87892
|
+
device_name="/dev/sdh",
|
|
87973
87893
|
volume=ec2.BlockDeviceVolume.ebs(10,
|
|
87974
87894
|
encrypted=True
|
|
87975
87895
|
)
|
|
@@ -88512,7 +88432,7 @@ class EbsDeviceOptions(EbsDeviceOptionsBase):
|
|
|
88512
88432
|
host = ec2.BastionHostLinux(self, "BastionHost",
|
|
88513
88433
|
vpc=vpc,
|
|
88514
88434
|
block_devices=[ec2.BlockDevice(
|
|
88515
|
-
device_name="
|
|
88435
|
+
device_name="/dev/sdh",
|
|
88516
88436
|
volume=ec2.BlockDeviceVolume.ebs(10,
|
|
88517
88437
|
encrypted=True
|
|
88518
88438
|
)
|
|
@@ -93383,7 +93303,6 @@ def _typecheckingstub__1880bffa9253aaedfa6af6175da6262a96ea34dadf82dc678a1eef91c
|
|
|
93383
93303
|
server_certificate_arn: builtins.str,
|
|
93384
93304
|
client_connect_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientConnectOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93385
93305
|
client_login_banner_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93386
|
-
client_route_monitoring_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93387
93306
|
description: typing.Optional[builtins.str] = None,
|
|
93388
93307
|
dns_servers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
93389
93308
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -93446,12 +93365,6 @@ def _typecheckingstub__497c1bea9e9caa987aeafc2d4334f07cd2d9664a3f3cd38bebd561170
|
|
|
93446
93365
|
"""Type checking stubs"""
|
|
93447
93366
|
pass
|
|
93448
93367
|
|
|
93449
|
-
def _typecheckingstub__256286aa73ef76d9e8c01586acd7784d241671a2785ad66bbabd4271eef9d823(
|
|
93450
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty]],
|
|
93451
|
-
) -> None:
|
|
93452
|
-
"""Type checking stubs"""
|
|
93453
|
-
pass
|
|
93454
|
-
|
|
93455
93368
|
def _typecheckingstub__bb1d5fb0102c1b6de24ad13acfc13837ec5422291e23048395fe03350aea2188(
|
|
93456
93369
|
value: typing.Optional[builtins.str],
|
|
93457
93370
|
) -> None:
|
|
@@ -93545,13 +93458,6 @@ def _typecheckingstub__907ff3a3bd097ac37a720bbc18cf4e29748beb226ddf13641e4835016
|
|
|
93545
93458
|
"""Type checking stubs"""
|
|
93546
93459
|
pass
|
|
93547
93460
|
|
|
93548
|
-
def _typecheckingstub__a95e90764e53fffb06a3e0dcecbd41f642f3362128769eb65cf04e24be9cd71b(
|
|
93549
|
-
*,
|
|
93550
|
-
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
93551
|
-
) -> None:
|
|
93552
|
-
"""Type checking stubs"""
|
|
93553
|
-
pass
|
|
93554
|
-
|
|
93555
93461
|
def _typecheckingstub__2c142e5322bb8bda4ace9616736c0e12d7c7b9b219932b4168a975e68d0d9395(
|
|
93556
93462
|
*,
|
|
93557
93463
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
@@ -93592,7 +93498,6 @@ def _typecheckingstub__05994467e800c33b4a01e884b4b20bef2569d710f5dc323617cd814e5
|
|
|
93592
93498
|
server_certificate_arn: builtins.str,
|
|
93593
93499
|
client_connect_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientConnectOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93594
93500
|
client_login_banner_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93595
|
-
client_route_monitoring_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClientVpnEndpoint.ClientRouteMonitoringOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
93596
93501
|
description: typing.Optional[builtins.str] = None,
|
|
93597
93502
|
dns_servers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
93598
93503
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -94037,6 +93942,7 @@ def _typecheckingstub__a5fc35aff5e96972c3cf7c89fef75da6adc5eb146fd5504925579235a
|
|
|
94037
93942
|
instance_generations: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
94038
93943
|
local_storage: typing.Optional[builtins.str] = None,
|
|
94039
93944
|
local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
93945
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: typing.Optional[jsii.Number] = None,
|
|
94040
93946
|
memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEC2Fleet.MemoryGiBPerVCpuRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
94041
93947
|
memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEC2Fleet.MemoryMiBRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
94042
93948
|
network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEC2Fleet.NetworkBandwidthGbpsRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -97686,9 +97592,9 @@ def _typecheckingstub__ca40c21d744d74a8d12faa4a15d3401bfb9dfbec7caccc06e6b5e838a
|
|
|
97686
97592
|
id: builtins.str,
|
|
97687
97593
|
*,
|
|
97688
97594
|
address_family: builtins.str,
|
|
97689
|
-
max_entries: jsii.Number,
|
|
97690
97595
|
prefix_list_name: builtins.str,
|
|
97691
97596
|
entries: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPrefixList.EntryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
97597
|
+
max_entries: typing.Optional[jsii.Number] = None,
|
|
97692
97598
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
97693
97599
|
) -> None:
|
|
97694
97600
|
"""Type checking stubs"""
|
|
@@ -97712,12 +97618,6 @@ def _typecheckingstub__543e8dfefad13c341bd9c21b253b583e2dfc0a1d6ec147009533000ad
|
|
|
97712
97618
|
"""Type checking stubs"""
|
|
97713
97619
|
pass
|
|
97714
97620
|
|
|
97715
|
-
def _typecheckingstub__1ed7254f10519f5d8ac376f56a0f44399f3d7551f32d71c5509ea1ccd7c2a3cd(
|
|
97716
|
-
value: jsii.Number,
|
|
97717
|
-
) -> None:
|
|
97718
|
-
"""Type checking stubs"""
|
|
97719
|
-
pass
|
|
97720
|
-
|
|
97721
97621
|
def _typecheckingstub__1b27e5253beae7ef8a4554ded2f450182a10af89fc784f4ddc89aae6fc1df8dd(
|
|
97722
97622
|
value: builtins.str,
|
|
97723
97623
|
) -> None:
|
|
@@ -97730,6 +97630,12 @@ def _typecheckingstub__020c41fe6785b20283e5bef3edd50f44004ef8ff7348a874b2dc0f408
|
|
|
97730
97630
|
"""Type checking stubs"""
|
|
97731
97631
|
pass
|
|
97732
97632
|
|
|
97633
|
+
def _typecheckingstub__1ed7254f10519f5d8ac376f56a0f44399f3d7551f32d71c5509ea1ccd7c2a3cd(
|
|
97634
|
+
value: typing.Optional[jsii.Number],
|
|
97635
|
+
) -> None:
|
|
97636
|
+
"""Type checking stubs"""
|
|
97637
|
+
pass
|
|
97638
|
+
|
|
97733
97639
|
def _typecheckingstub__712ae4f3a545a01afff1ee8200ddcf83e24e0045c90518644081a2620e86972b(
|
|
97734
97640
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
97735
97641
|
) -> None:
|
|
@@ -97747,9 +97653,9 @@ def _typecheckingstub__836b191de61cf7c801ffbe6a52116262c188564ff3b6f7de40d432b6a
|
|
|
97747
97653
|
def _typecheckingstub__ee3ea534076530da265ec0754410eb853bf7da980bbeaabb96d7fe30a9204813(
|
|
97748
97654
|
*,
|
|
97749
97655
|
address_family: builtins.str,
|
|
97750
|
-
max_entries: jsii.Number,
|
|
97751
97656
|
prefix_list_name: builtins.str,
|
|
97752
97657
|
entries: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPrefixList.EntryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
97658
|
+
max_entries: typing.Optional[jsii.Number] = None,
|
|
97753
97659
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
97754
97660
|
) -> None:
|
|
97755
97661
|
"""Type checking stubs"""
|
|
@@ -98451,6 +98357,7 @@ def _typecheckingstub__d87a87ea48430983e2d408471599b12b60b4f49c59df11756641689db
|
|
|
98451
98357
|
instance_generations: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
98452
98358
|
local_storage: typing.Optional[builtins.str] = None,
|
|
98453
98359
|
local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
98360
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: typing.Optional[jsii.Number] = None,
|
|
98454
98361
|
memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpotFleet.MemoryGiBPerVCpuRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
98455
98362
|
memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpotFleet.MemoryMiBRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
98456
98363
|
network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpotFleet.NetworkBandwidthGbpsRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|