aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 +383 -145
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplify/__init__.py +124 -0
- aws_cdk/aws_apigateway/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +363 -3
- aws_cdk/aws_appsync/__init__.py +74 -3
- aws_cdk/aws_bedrock/__init__.py +395 -14
- aws_cdk/aws_cassandra/__init__.py +2 -2
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +15 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +9 -0
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datazone/__init__.py +3540 -10
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +714 -37
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +66 -20
- aws_cdk/aws_eks/__init__.py +114 -0
- aws_cdk/aws_events/__init__.py +26 -6
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +264 -0
- aws_cdk/aws_identitystore/__init__.py +16 -16
- aws_cdk/aws_imagebuilder/__init__.py +3 -27
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +112 -5
- aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +981 -5
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_msk/__init__.py +8 -2
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +60 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_omics/__init__.py +216 -0
- aws_cdk/aws_quicksight/__init__.py +250 -108
- aws_cdk/aws_rds/__init__.py +102 -10
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_route53/__init__.py +2 -2
- aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
- aws_cdk/aws_rum/__init__.py +315 -52
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +6 -4
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +1117 -1446
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -0
- aws_cdk/pipelines/__init__.py +20 -2
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -1230,6 +1230,33 @@ ec2.VpcEndpointService(self, "EndpointService",
|
|
|
1230
1230
|
)
|
|
1231
1231
|
```
|
|
1232
1232
|
|
|
1233
|
+
You can specify which IP address types (IPv4, IPv6, or both) are supported for your VPC endpoint service:
|
|
1234
|
+
|
|
1235
|
+
```python
|
|
1236
|
+
# network_load_balancer: elbv2.NetworkLoadBalancer
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
ec2.VpcEndpointService(self, "EndpointService",
|
|
1240
|
+
vpc_endpoint_service_load_balancers=[network_load_balancer],
|
|
1241
|
+
# Support both IPv4 and IPv6 connections to the endpoint service
|
|
1242
|
+
supported_ip_address_types=[ec2.IpAddressType.IPV4, ec2.IpAddressType.IPV6
|
|
1243
|
+
]
|
|
1244
|
+
)
|
|
1245
|
+
```
|
|
1246
|
+
|
|
1247
|
+
You can restrict access to your endpoint service to specific AWS regions:
|
|
1248
|
+
|
|
1249
|
+
```python
|
|
1250
|
+
# network_load_balancer: elbv2.NetworkLoadBalancer
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
ec2.VpcEndpointService(self, "EndpointService",
|
|
1254
|
+
vpc_endpoint_service_load_balancers=[network_load_balancer],
|
|
1255
|
+
# Allow service consumers from these regions only
|
|
1256
|
+
allowed_regions=["us-east-1", "eu-west-1"]
|
|
1257
|
+
)
|
|
1258
|
+
```
|
|
1259
|
+
|
|
1233
1260
|
Endpoint services support private DNS, which makes it easier for clients to connect to your service by automatically setting up DNS in their VPC.
|
|
1234
1261
|
You can enable private DNS on an endpoint service like so:
|
|
1235
1262
|
|
|
@@ -2542,6 +2569,25 @@ launch_template = ec2.LaunchTemplate(self, "LaunchTemplate",
|
|
|
2542
2569
|
)
|
|
2543
2570
|
```
|
|
2544
2571
|
|
|
2572
|
+
### Placement Group
|
|
2573
|
+
|
|
2574
|
+
Specify `placementGroup` to enable the placement group support:
|
|
2575
|
+
|
|
2576
|
+
```python
|
|
2577
|
+
# instance_type: ec2.InstanceType
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
pg = ec2.PlacementGroup(self, "test-pg",
|
|
2581
|
+
strategy=ec2.PlacementGroupStrategy.SPREAD
|
|
2582
|
+
)
|
|
2583
|
+
|
|
2584
|
+
ec2.LaunchTemplate(self, "LaunchTemplate",
|
|
2585
|
+
instance_type=instance_type,
|
|
2586
|
+
machine_image=ec2.MachineImage.latest_amazon_linux2023(),
|
|
2587
|
+
placement_group=pg
|
|
2588
|
+
)
|
|
2589
|
+
```
|
|
2590
|
+
|
|
2545
2591
|
Please note this feature does not support Launch Configurations.
|
|
2546
2592
|
|
|
2547
2593
|
## Detailed Monitoring
|
|
@@ -2616,7 +2662,15 @@ ec2.PrefixList(self, "PrefixList",
|
|
|
2616
2662
|
)
|
|
2617
2663
|
```
|
|
2618
2664
|
|
|
2619
|
-
|
|
2665
|
+
To import AWS-managed prefix list, you can use `PrefixList.fromLookup()`.
|
|
2666
|
+
|
|
2667
|
+
```python
|
|
2668
|
+
ec2.PrefixList.from_lookup(self, "PrefixListFromName",
|
|
2669
|
+
prefix_list_name="com.amazonaws.global.cloudfront.origin-facing"
|
|
2670
|
+
)
|
|
2671
|
+
```
|
|
2672
|
+
|
|
2673
|
+
For more information see [Work with customer-managed prefix lists](https://docs.aws.amazon.com/vpc/latest/userguide/working-with-managed-prefix-lists.html).
|
|
2620
2674
|
|
|
2621
2675
|
### IAM instance profile
|
|
2622
2676
|
|
|
@@ -5786,6 +5840,62 @@ class CfnCapacityReservation(
|
|
|
5786
5840
|
'''
|
|
5787
5841
|
return typing.cast(jsii.Number, jsii.get(self, "attrAvailableInstanceCount"))
|
|
5788
5842
|
|
|
5843
|
+
@builtins.property
|
|
5844
|
+
@jsii.member(jsii_name="attrCapacityAllocationSet")
|
|
5845
|
+
def attr_capacity_allocation_set(self) -> _IResolvable_da3f097b:
|
|
5846
|
+
'''
|
|
5847
|
+
:cloudformationAttribute: CapacityAllocationSet
|
|
5848
|
+
'''
|
|
5849
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrCapacityAllocationSet"))
|
|
5850
|
+
|
|
5851
|
+
@builtins.property
|
|
5852
|
+
@jsii.member(jsii_name="attrCapacityReservationArn")
|
|
5853
|
+
def attr_capacity_reservation_arn(self) -> builtins.str:
|
|
5854
|
+
'''The Amazon Resource Name (ARN) of the Capacity Reservation.
|
|
5855
|
+
|
|
5856
|
+
:cloudformationAttribute: CapacityReservationArn
|
|
5857
|
+
'''
|
|
5858
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCapacityReservationArn"))
|
|
5859
|
+
|
|
5860
|
+
@builtins.property
|
|
5861
|
+
@jsii.member(jsii_name="attrCapacityReservationFleetId")
|
|
5862
|
+
def attr_capacity_reservation_fleet_id(self) -> builtins.str:
|
|
5863
|
+
'''The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs.
|
|
5864
|
+
|
|
5865
|
+
Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.
|
|
5866
|
+
|
|
5867
|
+
:cloudformationAttribute: CapacityReservationFleetId
|
|
5868
|
+
'''
|
|
5869
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCapacityReservationFleetId"))
|
|
5870
|
+
|
|
5871
|
+
@builtins.property
|
|
5872
|
+
@jsii.member(jsii_name="attrCommitmentInfo")
|
|
5873
|
+
def attr_commitment_info(self) -> _IResolvable_da3f097b:
|
|
5874
|
+
'''
|
|
5875
|
+
:cloudformationAttribute: CommitmentInfo
|
|
5876
|
+
'''
|
|
5877
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrCommitmentInfo"))
|
|
5878
|
+
|
|
5879
|
+
@builtins.property
|
|
5880
|
+
@jsii.member(jsii_name="attrCreateDate")
|
|
5881
|
+
def attr_create_date(self) -> builtins.str:
|
|
5882
|
+
'''The date and time at which the Capacity Reservation was created.
|
|
5883
|
+
|
|
5884
|
+
:cloudformationAttribute: CreateDate
|
|
5885
|
+
'''
|
|
5886
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreateDate"))
|
|
5887
|
+
|
|
5888
|
+
@builtins.property
|
|
5889
|
+
@jsii.member(jsii_name="attrDeliveryPreference")
|
|
5890
|
+
def attr_delivery_preference(self) -> builtins.str:
|
|
5891
|
+
'''The delivery method for a future-dated Capacity Reservation.
|
|
5892
|
+
|
|
5893
|
+
``incremental`` indicates that the requested capacity is delivered in addition to any running instances and reserved capacity that you have in your account at the requested date and time.
|
|
5894
|
+
|
|
5895
|
+
:cloudformationAttribute: DeliveryPreference
|
|
5896
|
+
'''
|
|
5897
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDeliveryPreference"))
|
|
5898
|
+
|
|
5789
5899
|
@builtins.property
|
|
5790
5900
|
@jsii.member(jsii_name="attrId")
|
|
5791
5901
|
def attr_id(self) -> builtins.str:
|
|
@@ -5806,6 +5916,54 @@ class CfnCapacityReservation(
|
|
|
5806
5916
|
'''
|
|
5807
5917
|
return typing.cast(builtins.str, jsii.get(self, "attrInstanceType"))
|
|
5808
5918
|
|
|
5919
|
+
@builtins.property
|
|
5920
|
+
@jsii.member(jsii_name="attrOwnerId")
|
|
5921
|
+
def attr_owner_id(self) -> builtins.str:
|
|
5922
|
+
'''The ID of the AWS account that owns the Capacity Reservation.
|
|
5923
|
+
|
|
5924
|
+
:cloudformationAttribute: OwnerId
|
|
5925
|
+
'''
|
|
5926
|
+
return typing.cast(builtins.str, jsii.get(self, "attrOwnerId"))
|
|
5927
|
+
|
|
5928
|
+
@builtins.property
|
|
5929
|
+
@jsii.member(jsii_name="attrReservationType")
|
|
5930
|
+
def attr_reservation_type(self) -> builtins.str:
|
|
5931
|
+
'''The type of Capacity Reservation.
|
|
5932
|
+
|
|
5933
|
+
:cloudformationAttribute: ReservationType
|
|
5934
|
+
'''
|
|
5935
|
+
return typing.cast(builtins.str, jsii.get(self, "attrReservationType"))
|
|
5936
|
+
|
|
5937
|
+
@builtins.property
|
|
5938
|
+
@jsii.member(jsii_name="attrStartDate")
|
|
5939
|
+
def attr_start_date(self) -> builtins.str:
|
|
5940
|
+
'''The date and time at which the Capacity Reservation was started.
|
|
5941
|
+
|
|
5942
|
+
:cloudformationAttribute: StartDate
|
|
5943
|
+
'''
|
|
5944
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStartDate"))
|
|
5945
|
+
|
|
5946
|
+
@builtins.property
|
|
5947
|
+
@jsii.member(jsii_name="attrState")
|
|
5948
|
+
def attr_state(self) -> builtins.str:
|
|
5949
|
+
'''The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:.
|
|
5950
|
+
|
|
5951
|
+
- ``active`` - The capacity is available for use.
|
|
5952
|
+
- ``expired`` - The Capacity Reservation expired automatically at the date and time specified in your reservation request. The reserved capacity is no longer available for your use.
|
|
5953
|
+
- ``cancelled`` - The Capacity Reservation was canceled. The reserved capacity is no longer available for your use.
|
|
5954
|
+
- ``pending`` - The Capacity Reservation request was successful but the capacity provisioning is still pending.
|
|
5955
|
+
- ``failed`` - The Capacity Reservation request has failed. A request can fail due to request parameters that are not valid, capacity constraints, or instance limit constraints. You can view a failed request for 60 minutes.
|
|
5956
|
+
- ``scheduled`` - ( *Future-dated Capacity Reservations* ) The future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled for delivery on the requested start date.
|
|
5957
|
+
- ``payment-pending`` - ( *Capacity Blocks* ) The upfront payment has not been processed yet.
|
|
5958
|
+
- ``payment-failed`` - ( *Capacity Blocks* ) The upfront payment was not processed in the 12-hour time frame. Your Capacity Block was released.
|
|
5959
|
+
- ``assessing`` - ( *Future-dated Capacity Reservations* ) Amazon EC2 is assessing your request for a future-dated Capacity Reservation.
|
|
5960
|
+
- ``delayed`` - ( *Future-dated Capacity Reservations* ) Amazon EC2 encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is unable to deliver the requested capacity by the requested start date and time.
|
|
5961
|
+
- ``unsupported`` - ( *Future-dated Capacity Reservations* ) Amazon EC2 can't support the future-dated Capacity Reservation request due to capacity constraints. You can view unsupported requests for 30 days. The Capacity Reservation will not be delivered.
|
|
5962
|
+
|
|
5963
|
+
:cloudformationAttribute: State
|
|
5964
|
+
'''
|
|
5965
|
+
return typing.cast(builtins.str, jsii.get(self, "attrState"))
|
|
5966
|
+
|
|
5809
5967
|
@builtins.property
|
|
5810
5968
|
@jsii.member(jsii_name="attrTenancy")
|
|
5811
5969
|
def attr_tenancy(self) -> builtins.str:
|
|
@@ -6062,6 +6220,153 @@ class CfnCapacityReservation(
|
|
|
6062
6220
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6063
6221
|
jsii.set(self, "unusedReservationBillingOwnerId", value) # pyright: ignore[reportArgumentType]
|
|
6064
6222
|
|
|
6223
|
+
@jsii.data_type(
|
|
6224
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnCapacityReservation.CapacityAllocationProperty",
|
|
6225
|
+
jsii_struct_bases=[],
|
|
6226
|
+
name_mapping={"allocation_type": "allocationType", "count": "count"},
|
|
6227
|
+
)
|
|
6228
|
+
class CapacityAllocationProperty:
|
|
6229
|
+
def __init__(
|
|
6230
|
+
self,
|
|
6231
|
+
*,
|
|
6232
|
+
allocation_type: typing.Optional[builtins.str] = None,
|
|
6233
|
+
count: typing.Optional[jsii.Number] = None,
|
|
6234
|
+
) -> None:
|
|
6235
|
+
'''Information about instance capacity usage for a Capacity Reservation.
|
|
6236
|
+
|
|
6237
|
+
:param allocation_type: The usage type. ``used`` indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.
|
|
6238
|
+
:param count: The amount of instance capacity associated with the usage. For example a value of ``4`` indicates that instance capacity for 4 instances is currently in use.
|
|
6239
|
+
|
|
6240
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html
|
|
6241
|
+
:exampleMetadata: fixture=_generated
|
|
6242
|
+
|
|
6243
|
+
Example::
|
|
6244
|
+
|
|
6245
|
+
# The code below shows an example of how to instantiate this type.
|
|
6246
|
+
# The values are placeholders you should change.
|
|
6247
|
+
from aws_cdk import aws_ec2 as ec2
|
|
6248
|
+
|
|
6249
|
+
capacity_allocation_property = ec2.CfnCapacityReservation.CapacityAllocationProperty(
|
|
6250
|
+
allocation_type="allocationType",
|
|
6251
|
+
count=123
|
|
6252
|
+
)
|
|
6253
|
+
'''
|
|
6254
|
+
if __debug__:
|
|
6255
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb73541f409f83260eb045bf4e0e3879b1c1c509522736f018397f8ac1cf955c)
|
|
6256
|
+
check_type(argname="argument allocation_type", value=allocation_type, expected_type=type_hints["allocation_type"])
|
|
6257
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
6258
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6259
|
+
if allocation_type is not None:
|
|
6260
|
+
self._values["allocation_type"] = allocation_type
|
|
6261
|
+
if count is not None:
|
|
6262
|
+
self._values["count"] = count
|
|
6263
|
+
|
|
6264
|
+
@builtins.property
|
|
6265
|
+
def allocation_type(self) -> typing.Optional[builtins.str]:
|
|
6266
|
+
'''The usage type.
|
|
6267
|
+
|
|
6268
|
+
``used`` indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.
|
|
6269
|
+
|
|
6270
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html#cfn-ec2-capacityreservation-capacityallocation-allocationtype
|
|
6271
|
+
'''
|
|
6272
|
+
result = self._values.get("allocation_type")
|
|
6273
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6274
|
+
|
|
6275
|
+
@builtins.property
|
|
6276
|
+
def count(self) -> typing.Optional[jsii.Number]:
|
|
6277
|
+
'''The amount of instance capacity associated with the usage.
|
|
6278
|
+
|
|
6279
|
+
For example a value of ``4`` indicates that instance capacity for 4 instances is currently in use.
|
|
6280
|
+
|
|
6281
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html#cfn-ec2-capacityreservation-capacityallocation-count
|
|
6282
|
+
'''
|
|
6283
|
+
result = self._values.get("count")
|
|
6284
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6285
|
+
|
|
6286
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6287
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6288
|
+
|
|
6289
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6290
|
+
return not (rhs == self)
|
|
6291
|
+
|
|
6292
|
+
def __repr__(self) -> str:
|
|
6293
|
+
return "CapacityAllocationProperty(%s)" % ", ".join(
|
|
6294
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6295
|
+
)
|
|
6296
|
+
|
|
6297
|
+
@jsii.data_type(
|
|
6298
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnCapacityReservation.CommitmentInfoProperty",
|
|
6299
|
+
jsii_struct_bases=[],
|
|
6300
|
+
name_mapping={
|
|
6301
|
+
"commitment_end_date": "commitmentEndDate",
|
|
6302
|
+
"committed_instance_count": "committedInstanceCount",
|
|
6303
|
+
},
|
|
6304
|
+
)
|
|
6305
|
+
class CommitmentInfoProperty:
|
|
6306
|
+
def __init__(
|
|
6307
|
+
self,
|
|
6308
|
+
*,
|
|
6309
|
+
commitment_end_date: typing.Optional[builtins.str] = None,
|
|
6310
|
+
committed_instance_count: typing.Optional[jsii.Number] = None,
|
|
6311
|
+
) -> None:
|
|
6312
|
+
'''Information about your commitment for a future-dated Capacity Reservation.
|
|
6313
|
+
|
|
6314
|
+
:param commitment_end_date: The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone ( ``YYYY-MM-DDThh:mm:ss.sssZ`` ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.
|
|
6315
|
+
:param committed_instance_count: The instance capacity that you committed to when you requested the future-dated Capacity Reservation.
|
|
6316
|
+
|
|
6317
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-commitmentinfo.html
|
|
6318
|
+
:exampleMetadata: fixture=_generated
|
|
6319
|
+
|
|
6320
|
+
Example::
|
|
6321
|
+
|
|
6322
|
+
# The code below shows an example of how to instantiate this type.
|
|
6323
|
+
# The values are placeholders you should change.
|
|
6324
|
+
from aws_cdk import aws_ec2 as ec2
|
|
6325
|
+
|
|
6326
|
+
commitment_info_property = ec2.CfnCapacityReservation.CommitmentInfoProperty(
|
|
6327
|
+
commitment_end_date="commitmentEndDate",
|
|
6328
|
+
committed_instance_count=123
|
|
6329
|
+
)
|
|
6330
|
+
'''
|
|
6331
|
+
if __debug__:
|
|
6332
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3c56a4c8d14f2a52b13c3cf61a95ca1ca01e35305d2313a0778cf6fad31ac4ef)
|
|
6333
|
+
check_type(argname="argument commitment_end_date", value=commitment_end_date, expected_type=type_hints["commitment_end_date"])
|
|
6334
|
+
check_type(argname="argument committed_instance_count", value=committed_instance_count, expected_type=type_hints["committed_instance_count"])
|
|
6335
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6336
|
+
if commitment_end_date is not None:
|
|
6337
|
+
self._values["commitment_end_date"] = commitment_end_date
|
|
6338
|
+
if committed_instance_count is not None:
|
|
6339
|
+
self._values["committed_instance_count"] = committed_instance_count
|
|
6340
|
+
|
|
6341
|
+
@builtins.property
|
|
6342
|
+
def commitment_end_date(self) -> typing.Optional[builtins.str]:
|
|
6343
|
+
'''The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone ( ``YYYY-MM-DDThh:mm:ss.sssZ`` ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.
|
|
6344
|
+
|
|
6345
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-commitmentinfo.html#cfn-ec2-capacityreservation-commitmentinfo-commitmentenddate
|
|
6346
|
+
'''
|
|
6347
|
+
result = self._values.get("commitment_end_date")
|
|
6348
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6349
|
+
|
|
6350
|
+
@builtins.property
|
|
6351
|
+
def committed_instance_count(self) -> typing.Optional[jsii.Number]:
|
|
6352
|
+
'''The instance capacity that you committed to when you requested the future-dated Capacity Reservation.
|
|
6353
|
+
|
|
6354
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-commitmentinfo.html#cfn-ec2-capacityreservation-commitmentinfo-committedinstancecount
|
|
6355
|
+
'''
|
|
6356
|
+
result = self._values.get("committed_instance_count")
|
|
6357
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6358
|
+
|
|
6359
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6360
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6361
|
+
|
|
6362
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6363
|
+
return not (rhs == self)
|
|
6364
|
+
|
|
6365
|
+
def __repr__(self) -> str:
|
|
6366
|
+
return "CommitmentInfoProperty(%s)" % ", ".join(
|
|
6367
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6368
|
+
)
|
|
6369
|
+
|
|
6065
6370
|
@jsii.data_type(
|
|
6066
6371
|
jsii_type="aws-cdk-lib.aws_ec2.CfnCapacityReservation.TagSpecificationProperty",
|
|
6067
6372
|
jsii_struct_bases=[],
|
|
@@ -12138,7 +12443,7 @@ class CfnEC2Fleet(
|
|
|
12138
12443
|
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
12139
12444
|
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
12140
12445
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
12141
|
-
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` .
|
|
12446
|
+
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` . Default: Any accelerator type
|
|
12142
12447
|
: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
|
|
12143
12448
|
: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``
|
|
12144
12449
|
: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
|
|
@@ -12386,7 +12691,6 @@ class CfnEC2Fleet(
|
|
|
12386
12691
|
|
|
12387
12692
|
- For instance types with FPGA accelerators, specify ``fpga`` .
|
|
12388
12693
|
- For instance types with GPU accelerators, specify ``gpu`` .
|
|
12389
|
-
- For instance types with Inference accelerators, specify ``inference`` .
|
|
12390
12694
|
|
|
12391
12695
|
Default: Any accelerator type
|
|
12392
12696
|
|
|
@@ -26531,7 +26835,7 @@ class CfnLaunchTemplate(
|
|
|
26531
26835
|
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
26532
26836
|
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
26533
26837
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
26534
|
-
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` .
|
|
26838
|
+
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` . Default: Any accelerator type
|
|
26535
26839
|
: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
|
|
26536
26840
|
: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``
|
|
26537
26841
|
: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
|
|
@@ -26779,7 +27083,6 @@ class CfnLaunchTemplate(
|
|
|
26779
27083
|
|
|
26780
27084
|
- For instance types with FPGA accelerators, specify ``fpga`` .
|
|
26781
27085
|
- For instance types with GPU accelerators, specify ``gpu`` .
|
|
26782
|
-
- For instance types with Inference accelerators, specify ``inference`` .
|
|
26783
27086
|
|
|
26784
27087
|
Default: Any accelerator type
|
|
26785
27088
|
|
|
@@ -29428,8 +29731,9 @@ class CfnLaunchTemplate(
|
|
|
29428
29731
|
*,
|
|
29429
29732
|
bandwidth_weighting: typing.Optional[builtins.str] = None,
|
|
29430
29733
|
) -> None:
|
|
29431
|
-
'''
|
|
29432
|
-
|
|
29734
|
+
'''Contains settings for the network performance options for the instance.
|
|
29735
|
+
|
|
29736
|
+
:param bandwidth_weighting: Specify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:. - **default** - This option uses the standard bandwidth configuration for your instance type. - **vpc-1** - This option boosts your networking baseline bandwidth and reduces your EBS baseline bandwidth. - **ebs-1** - This option boosts your EBS baseline bandwidth and reduces your networking baseline bandwidth.
|
|
29433
29737
|
|
|
29434
29738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkperformanceoptions.html
|
|
29435
29739
|
:exampleMetadata: fixture=_generated
|
|
@@ -29453,7 +29757,11 @@ class CfnLaunchTemplate(
|
|
|
29453
29757
|
|
|
29454
29758
|
@builtins.property
|
|
29455
29759
|
def bandwidth_weighting(self) -> typing.Optional[builtins.str]:
|
|
29456
|
-
'''
|
|
29760
|
+
'''Specify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:.
|
|
29761
|
+
|
|
29762
|
+
- **default** - This option uses the standard bandwidth configuration for your instance type.
|
|
29763
|
+
- **vpc-1** - This option boosts your networking baseline bandwidth and reduces your EBS baseline bandwidth.
|
|
29764
|
+
- **ebs-1** - This option boosts your EBS baseline bandwidth and reduces your networking baseline bandwidth.
|
|
29457
29765
|
|
|
29458
29766
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkperformanceoptions.html#cfn-ec2-launchtemplate-networkperformanceoptions-bandwidthweighting
|
|
29459
29767
|
'''
|
|
@@ -45922,7 +46230,7 @@ class CfnSpotFleet(
|
|
|
45922
46230
|
:param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with Habana devices, specify ``habana`` . - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
|
|
45923
46231
|
:param accelerator_names: The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify ``a10g`` . - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA H100 GPUs, specify ``h100`` . - For instance types with AWS Inferentia chips, specify ``inferentia`` . - For instance types with NVIDIA GRID K520 GPUs, specify ``k520`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA T4G GPUs, specify ``t4g`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . Default: Any accelerator
|
|
45924
46232
|
:param accelerator_total_memory_mib: The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
|
|
45925
|
-
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` .
|
|
46233
|
+
:param accelerator_types: The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with GPU accelerators, specify ``gpu`` . Default: Any accelerator type
|
|
45926
46234
|
: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
|
|
45927
46235
|
: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``
|
|
45928
46236
|
: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
|
|
@@ -46170,7 +46478,6 @@ class CfnSpotFleet(
|
|
|
46170
46478
|
|
|
46171
46479
|
- For instance types with FPGA accelerators, specify ``fpga`` .
|
|
46172
46480
|
- For instance types with GPU accelerators, specify ``gpu`` .
|
|
46173
|
-
- For instance types with Inference accelerators, specify ``inference`` .
|
|
46174
46481
|
|
|
46175
46482
|
Default: Any accelerator type
|
|
46176
46483
|
|
|
@@ -59710,6 +60017,7 @@ class CfnVPCEndpointService(
|
|
|
59710
60017
|
network_load_balancer_arns=["networkLoadBalancerArns"],
|
|
59711
60018
|
payer_responsibility="payerResponsibility",
|
|
59712
60019
|
supported_ip_address_types=["supportedIpAddressTypes"],
|
|
60020
|
+
supported_regions=["supportedRegions"],
|
|
59713
60021
|
tags=[CfnTag(
|
|
59714
60022
|
key="key",
|
|
59715
60023
|
value="value"
|
|
@@ -59728,6 +60036,7 @@ class CfnVPCEndpointService(
|
|
|
59728
60036
|
network_load_balancer_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
59729
60037
|
payer_responsibility: typing.Optional[builtins.str] = None,
|
|
59730
60038
|
supported_ip_address_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
60039
|
+
supported_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
59731
60040
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
59732
60041
|
) -> None:
|
|
59733
60042
|
'''
|
|
@@ -59738,7 +60047,8 @@ class CfnVPCEndpointService(
|
|
|
59738
60047
|
:param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
|
59739
60048
|
:param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
|
59740
60049
|
:param payer_responsibility: The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
|
|
59741
|
-
:param supported_ip_address_types:
|
|
60050
|
+
:param supported_ip_address_types: The supported IP address types. The possible values are ``ipv4`` and ``ipv6`` .
|
|
60051
|
+
:param supported_regions: The Regions from which service consumers can access the service.
|
|
59742
60052
|
:param tags: The tags to associate with the service.
|
|
59743
60053
|
'''
|
|
59744
60054
|
if __debug__:
|
|
@@ -59752,6 +60062,7 @@ class CfnVPCEndpointService(
|
|
|
59752
60062
|
network_load_balancer_arns=network_load_balancer_arns,
|
|
59753
60063
|
payer_responsibility=payer_responsibility,
|
|
59754
60064
|
supported_ip_address_types=supported_ip_address_types,
|
|
60065
|
+
supported_regions=supported_regions,
|
|
59755
60066
|
tags=tags,
|
|
59756
60067
|
)
|
|
59757
60068
|
|
|
@@ -59891,7 +60202,7 @@ class CfnVPCEndpointService(
|
|
|
59891
60202
|
@builtins.property
|
|
59892
60203
|
@jsii.member(jsii_name="supportedIpAddressTypes")
|
|
59893
60204
|
def supported_ip_address_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
59894
|
-
'''
|
|
60205
|
+
'''The supported IP address types.'''
|
|
59895
60206
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "supportedIpAddressTypes"))
|
|
59896
60207
|
|
|
59897
60208
|
@supported_ip_address_types.setter
|
|
@@ -59904,6 +60215,22 @@ class CfnVPCEndpointService(
|
|
|
59904
60215
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
59905
60216
|
jsii.set(self, "supportedIpAddressTypes", value) # pyright: ignore[reportArgumentType]
|
|
59906
60217
|
|
|
60218
|
+
@builtins.property
|
|
60219
|
+
@jsii.member(jsii_name="supportedRegions")
|
|
60220
|
+
def supported_regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
60221
|
+
'''The Regions from which service consumers can access the service.'''
|
|
60222
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "supportedRegions"))
|
|
60223
|
+
|
|
60224
|
+
@supported_regions.setter
|
|
60225
|
+
def supported_regions(
|
|
60226
|
+
self,
|
|
60227
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
60228
|
+
) -> None:
|
|
60229
|
+
if __debug__:
|
|
60230
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5c4b6c5e3132a3db9ac1919f84f1acb15ff2a21f1f6ba6d102fb4c3ec4c36bc2)
|
|
60231
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
60232
|
+
jsii.set(self, "supportedRegions", value) # pyright: ignore[reportArgumentType]
|
|
60233
|
+
|
|
59907
60234
|
@builtins.property
|
|
59908
60235
|
@jsii.member(jsii_name="tags")
|
|
59909
60236
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -60124,6 +60451,7 @@ class CfnVPCEndpointServicePermissionsProps:
|
|
|
60124
60451
|
"network_load_balancer_arns": "networkLoadBalancerArns",
|
|
60125
60452
|
"payer_responsibility": "payerResponsibility",
|
|
60126
60453
|
"supported_ip_address_types": "supportedIpAddressTypes",
|
|
60454
|
+
"supported_regions": "supportedRegions",
|
|
60127
60455
|
"tags": "tags",
|
|
60128
60456
|
},
|
|
60129
60457
|
)
|
|
@@ -60137,6 +60465,7 @@ class CfnVPCEndpointServiceProps:
|
|
|
60137
60465
|
network_load_balancer_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
60138
60466
|
payer_responsibility: typing.Optional[builtins.str] = None,
|
|
60139
60467
|
supported_ip_address_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
60468
|
+
supported_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
60140
60469
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
60141
60470
|
) -> None:
|
|
60142
60471
|
'''Properties for defining a ``CfnVPCEndpointService``.
|
|
@@ -60146,7 +60475,8 @@ class CfnVPCEndpointServiceProps:
|
|
|
60146
60475
|
:param gateway_load_balancer_arns: The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
|
|
60147
60476
|
:param network_load_balancer_arns: The Amazon Resource Names (ARNs) of the Network Load Balancers.
|
|
60148
60477
|
:param payer_responsibility: The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
|
|
60149
|
-
:param supported_ip_address_types:
|
|
60478
|
+
:param supported_ip_address_types: The supported IP address types. The possible values are ``ipv4`` and ``ipv6`` .
|
|
60479
|
+
:param supported_regions: The Regions from which service consumers can access the service.
|
|
60150
60480
|
:param tags: The tags to associate with the service.
|
|
60151
60481
|
|
|
60152
60482
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html
|
|
@@ -60165,6 +60495,7 @@ class CfnVPCEndpointServiceProps:
|
|
|
60165
60495
|
network_load_balancer_arns=["networkLoadBalancerArns"],
|
|
60166
60496
|
payer_responsibility="payerResponsibility",
|
|
60167
60497
|
supported_ip_address_types=["supportedIpAddressTypes"],
|
|
60498
|
+
supported_regions=["supportedRegions"],
|
|
60168
60499
|
tags=[CfnTag(
|
|
60169
60500
|
key="key",
|
|
60170
60501
|
value="value"
|
|
@@ -60179,6 +60510,7 @@ class CfnVPCEndpointServiceProps:
|
|
|
60179
60510
|
check_type(argname="argument network_load_balancer_arns", value=network_load_balancer_arns, expected_type=type_hints["network_load_balancer_arns"])
|
|
60180
60511
|
check_type(argname="argument payer_responsibility", value=payer_responsibility, expected_type=type_hints["payer_responsibility"])
|
|
60181
60512
|
check_type(argname="argument supported_ip_address_types", value=supported_ip_address_types, expected_type=type_hints["supported_ip_address_types"])
|
|
60513
|
+
check_type(argname="argument supported_regions", value=supported_regions, expected_type=type_hints["supported_regions"])
|
|
60182
60514
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
60183
60515
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
60184
60516
|
if acceptance_required is not None:
|
|
@@ -60193,6 +60525,8 @@ class CfnVPCEndpointServiceProps:
|
|
|
60193
60525
|
self._values["payer_responsibility"] = payer_responsibility
|
|
60194
60526
|
if supported_ip_address_types is not None:
|
|
60195
60527
|
self._values["supported_ip_address_types"] = supported_ip_address_types
|
|
60528
|
+
if supported_regions is not None:
|
|
60529
|
+
self._values["supported_regions"] = supported_regions
|
|
60196
60530
|
if tags is not None:
|
|
60197
60531
|
self._values["tags"] = tags
|
|
60198
60532
|
|
|
@@ -60249,13 +60583,24 @@ class CfnVPCEndpointServiceProps:
|
|
|
60249
60583
|
|
|
60250
60584
|
@builtins.property
|
|
60251
60585
|
def supported_ip_address_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
60252
|
-
'''
|
|
60586
|
+
'''The supported IP address types.
|
|
60587
|
+
|
|
60588
|
+
The possible values are ``ipv4`` and ``ipv6`` .
|
|
60253
60589
|
|
|
60254
60590
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-supportedipaddresstypes
|
|
60255
60591
|
'''
|
|
60256
60592
|
result = self._values.get("supported_ip_address_types")
|
|
60257
60593
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
60258
60594
|
|
|
60595
|
+
@builtins.property
|
|
60596
|
+
def supported_regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
60597
|
+
'''The Regions from which service consumers can access the service.
|
|
60598
|
+
|
|
60599
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-supportedregions
|
|
60600
|
+
'''
|
|
60601
|
+
result = self._values.get("supported_regions")
|
|
60602
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
60603
|
+
|
|
60259
60604
|
@builtins.property
|
|
60260
60605
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
60261
60606
|
'''The tags to associate with the service.
|
|
@@ -70687,6 +71032,12 @@ class DefaultInstanceTenancy(enum.Enum):
|
|
|
70687
71032
|
'''Instances can be launched with any tenancy.'''
|
|
70688
71033
|
DEDICATED = "DEDICATED"
|
|
70689
71034
|
'''Any instance launched into the VPC automatically has dedicated tenancy, unless you launch it with the default tenancy.'''
|
|
71035
|
+
HOST = "HOST"
|
|
71036
|
+
'''Instances must be launched on dedicated hosts.
|
|
71037
|
+
|
|
71038
|
+
This provides additional visibility
|
|
71039
|
+
and control over instance placement at the physical host level.
|
|
71040
|
+
'''
|
|
70690
71041
|
|
|
70691
71042
|
|
|
70692
71043
|
@jsii.data_type(
|
|
@@ -75329,6 +75680,7 @@ class InitFile(
|
|
|
75329
75680
|
owner: typing.Optional[builtins.str] = None,
|
|
75330
75681
|
service_restart_handles: typing.Optional[typing.Sequence["InitServiceRestartHandle"]] = None,
|
|
75331
75682
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
75683
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
75332
75684
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
75333
75685
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
75334
75686
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -75350,6 +75702,7 @@ class InitFile(
|
|
|
75350
75702
|
:param owner: The name of the owning user for this file. Not supported for Windows systems. Default: 'root'
|
|
75351
75703
|
:param service_restart_handles: Restart the given service after this file has been written. Default: - Do not restart any service
|
|
75352
75704
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
75705
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
75353
75706
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
75354
75707
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
75355
75708
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -75370,6 +75723,7 @@ class InitFile(
|
|
|
75370
75723
|
owner=owner,
|
|
75371
75724
|
service_restart_handles=service_restart_handles,
|
|
75372
75725
|
deploy_time=deploy_time,
|
|
75726
|
+
display_name=display_name,
|
|
75373
75727
|
readers=readers,
|
|
75374
75728
|
source_kms_key=source_kms_key,
|
|
75375
75729
|
asset_hash=asset_hash,
|
|
@@ -76493,6 +76847,7 @@ class InitSource(
|
|
|
76493
76847
|
*,
|
|
76494
76848
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
76495
76849
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
76850
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
76496
76851
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
76497
76852
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
76498
76853
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -76508,6 +76863,7 @@ class InitSource(
|
|
|
76508
76863
|
:param path: -
|
|
76509
76864
|
:param service_restart_handles: Restart the given services after this archive has been extracted. Default: - Do not restart any service
|
|
76510
76865
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
76866
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
76511
76867
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
76512
76868
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
76513
76869
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -76524,6 +76880,7 @@ class InitSource(
|
|
|
76524
76880
|
options = InitSourceAssetOptions(
|
|
76525
76881
|
service_restart_handles=service_restart_handles,
|
|
76526
76882
|
deploy_time=deploy_time,
|
|
76883
|
+
display_name=display_name,
|
|
76527
76884
|
readers=readers,
|
|
76528
76885
|
source_kms_key=source_kms_key,
|
|
76529
76886
|
asset_hash=asset_hash,
|
|
@@ -81439,6 +81796,31 @@ class InterfaceVpcEndpointService(
|
|
|
81439
81796
|
return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "privateDnsDefault"))
|
|
81440
81797
|
|
|
81441
81798
|
|
|
81799
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_ec2.IpAddressType")
|
|
81800
|
+
class IpAddressType(enum.Enum):
|
|
81801
|
+
'''IP address types supported for VPC endpoint service.
|
|
81802
|
+
|
|
81803
|
+
:exampleMetadata: infused
|
|
81804
|
+
|
|
81805
|
+
Example::
|
|
81806
|
+
|
|
81807
|
+
# network_load_balancer: elbv2.NetworkLoadBalancer
|
|
81808
|
+
|
|
81809
|
+
|
|
81810
|
+
ec2.VpcEndpointService(self, "EndpointService",
|
|
81811
|
+
vpc_endpoint_service_load_balancers=[network_load_balancer],
|
|
81812
|
+
# Support both IPv4 and IPv6 connections to the endpoint service
|
|
81813
|
+
supported_ip_address_types=[ec2.IpAddressType.IPV4, ec2.IpAddressType.IPV6
|
|
81814
|
+
]
|
|
81815
|
+
)
|
|
81816
|
+
'''
|
|
81817
|
+
|
|
81818
|
+
IPV4 = "IPV4"
|
|
81819
|
+
'''ipv4 address type.'''
|
|
81820
|
+
IPV6 = "IPV6"
|
|
81821
|
+
'''ipv6 address type.'''
|
|
81822
|
+
|
|
81823
|
+
|
|
81442
81824
|
class IpAddresses(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.IpAddresses"):
|
|
81443
81825
|
'''An abstract Provider of IpAddresses.
|
|
81444
81826
|
|
|
@@ -82146,6 +82528,7 @@ class LaunchTemplate(
|
|
|
82146
82528
|
launch_template_name: typing.Optional[builtins.str] = None,
|
|
82147
82529
|
machine_image: typing.Optional[IMachineImage] = None,
|
|
82148
82530
|
nitro_enclave_enabled: typing.Optional[builtins.bool] = None,
|
|
82531
|
+
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
82149
82532
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
82150
82533
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
82151
82534
|
security_group: typing.Optional[ISecurityGroup] = None,
|
|
@@ -82176,6 +82559,7 @@ class LaunchTemplate(
|
|
|
82176
82559
|
:param launch_template_name: Name for this launch template. Default: Automatically generated name
|
|
82177
82560
|
:param machine_image: The AMI that will be used by instances. Default: - This Launch Template does not specify a default AMI.
|
|
82178
82561
|
:param nitro_enclave_enabled: If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. Default: - Enablement of Nitro enclaves is not specified in the launch template; defaulting to false.
|
|
82562
|
+
:param placement_group: The placement group that you want to launch the instance into. Default: - no placement group will be used for this launch template.
|
|
82179
82563
|
:param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: - false
|
|
82180
82564
|
:param role: An IAM role to associate with the instance profile that is used by instances. The role must be assumable by the service principal ``ec2.amazonaws.com``. Note: You can provide an instanceProfile or a role, but not both. Default: - No new role is created.
|
|
82181
82565
|
:param security_group: Security group to assign to instances created with the launch template. Default: No security group is assigned.
|
|
@@ -82208,6 +82592,7 @@ class LaunchTemplate(
|
|
|
82208
82592
|
launch_template_name=launch_template_name,
|
|
82209
82593
|
machine_image=machine_image,
|
|
82210
82594
|
nitro_enclave_enabled=nitro_enclave_enabled,
|
|
82595
|
+
placement_group=placement_group,
|
|
82211
82596
|
require_imdsv2=require_imdsv2,
|
|
82212
82597
|
role=role,
|
|
82213
82598
|
security_group=security_group,
|
|
@@ -82517,6 +82902,7 @@ class LaunchTemplateHttpTokens(enum.Enum):
|
|
|
82517
82902
|
"launch_template_name": "launchTemplateName",
|
|
82518
82903
|
"machine_image": "machineImage",
|
|
82519
82904
|
"nitro_enclave_enabled": "nitroEnclaveEnabled",
|
|
82905
|
+
"placement_group": "placementGroup",
|
|
82520
82906
|
"require_imdsv2": "requireImdsv2",
|
|
82521
82907
|
"role": "role",
|
|
82522
82908
|
"security_group": "securityGroup",
|
|
@@ -82549,6 +82935,7 @@ class LaunchTemplateProps:
|
|
|
82549
82935
|
launch_template_name: typing.Optional[builtins.str] = None,
|
|
82550
82936
|
machine_image: typing.Optional[IMachineImage] = None,
|
|
82551
82937
|
nitro_enclave_enabled: typing.Optional[builtins.bool] = None,
|
|
82938
|
+
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
82552
82939
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
82553
82940
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
82554
82941
|
security_group: typing.Optional[ISecurityGroup] = None,
|
|
@@ -82578,6 +82965,7 @@ class LaunchTemplateProps:
|
|
|
82578
82965
|
:param launch_template_name: Name for this launch template. Default: Automatically generated name
|
|
82579
82966
|
:param machine_image: The AMI that will be used by instances. Default: - This Launch Template does not specify a default AMI.
|
|
82580
82967
|
:param nitro_enclave_enabled: If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. Default: - Enablement of Nitro enclaves is not specified in the launch template; defaulting to false.
|
|
82968
|
+
:param placement_group: The placement group that you want to launch the instance into. Default: - no placement group will be used for this launch template.
|
|
82581
82969
|
:param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: - false
|
|
82582
82970
|
:param role: An IAM role to associate with the instance profile that is used by instances. The role must be assumable by the service principal ``ec2.amazonaws.com``. Note: You can provide an instanceProfile or a role, but not both. Default: - No new role is created.
|
|
82583
82971
|
:param security_group: Security group to assign to instances created with the launch template. Default: No security group is assigned.
|
|
@@ -82630,6 +83018,7 @@ class LaunchTemplateProps:
|
|
|
82630
83018
|
check_type(argname="argument launch_template_name", value=launch_template_name, expected_type=type_hints["launch_template_name"])
|
|
82631
83019
|
check_type(argname="argument machine_image", value=machine_image, expected_type=type_hints["machine_image"])
|
|
82632
83020
|
check_type(argname="argument nitro_enclave_enabled", value=nitro_enclave_enabled, expected_type=type_hints["nitro_enclave_enabled"])
|
|
83021
|
+
check_type(argname="argument placement_group", value=placement_group, expected_type=type_hints["placement_group"])
|
|
82633
83022
|
check_type(argname="argument require_imdsv2", value=require_imdsv2, expected_type=type_hints["require_imdsv2"])
|
|
82634
83023
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
82635
83024
|
check_type(argname="argument security_group", value=security_group, expected_type=type_hints["security_group"])
|
|
@@ -82677,6 +83066,8 @@ class LaunchTemplateProps:
|
|
|
82677
83066
|
self._values["machine_image"] = machine_image
|
|
82678
83067
|
if nitro_enclave_enabled is not None:
|
|
82679
83068
|
self._values["nitro_enclave_enabled"] = nitro_enclave_enabled
|
|
83069
|
+
if placement_group is not None:
|
|
83070
|
+
self._values["placement_group"] = placement_group
|
|
82680
83071
|
if require_imdsv2 is not None:
|
|
82681
83072
|
self._values["require_imdsv2"] = require_imdsv2
|
|
82682
83073
|
if role is not None:
|
|
@@ -82916,6 +83307,15 @@ class LaunchTemplateProps:
|
|
|
82916
83307
|
result = self._values.get("nitro_enclave_enabled")
|
|
82917
83308
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
82918
83309
|
|
|
83310
|
+
@builtins.property
|
|
83311
|
+
def placement_group(self) -> typing.Optional[IPlacementGroup]:
|
|
83312
|
+
'''The placement group that you want to launch the instance into.
|
|
83313
|
+
|
|
83314
|
+
:default: - no placement group will be used for this launch template.
|
|
83315
|
+
'''
|
|
83316
|
+
result = self._values.get("placement_group")
|
|
83317
|
+
return typing.cast(typing.Optional[IPlacementGroup], result)
|
|
83318
|
+
|
|
82919
83319
|
@builtins.property
|
|
82920
83320
|
def require_imdsv2(self) -> typing.Optional[builtins.bool]:
|
|
82921
83321
|
'''Whether IMDSv2 should be required on launched instances.
|
|
@@ -85958,17 +86358,20 @@ class Peer(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Peer"):
|
|
|
85958
86358
|
|
|
85959
86359
|
Example::
|
|
85960
86360
|
|
|
85961
|
-
#
|
|
85962
|
-
|
|
86361
|
+
# vpc: ec2.Vpc
|
|
85963
86362
|
|
|
85964
|
-
|
|
85965
|
-
|
|
85966
|
-
|
|
85967
|
-
|
|
85968
|
-
ec2.Vpc(self, "TheVPC",
|
|
85969
|
-
nat_gateway_provider=provider
|
|
86363
|
+
cluster = msk.Cluster(self, "Cluster",
|
|
86364
|
+
cluster_name="myCluster",
|
|
86365
|
+
kafka_version=msk.KafkaVersion.V3_8_X,
|
|
86366
|
+
vpc=vpc
|
|
85970
86367
|
)
|
|
85971
|
-
|
|
86368
|
+
|
|
86369
|
+
cluster.connections.allow_from(
|
|
86370
|
+
ec2.Peer.ipv4("1.2.3.4/8"),
|
|
86371
|
+
ec2.Port.tcp(2181))
|
|
86372
|
+
cluster.connections.allow_from(
|
|
86373
|
+
ec2.Peer.ipv4("1.2.3.4/8"),
|
|
86374
|
+
ec2.Port.tcp(9094))
|
|
85972
86375
|
'''
|
|
85973
86376
|
|
|
85974
86377
|
def __init__(self) -> None:
|
|
@@ -86752,8 +87155,8 @@ class PrefixList(
|
|
|
86752
87155
|
|
|
86753
87156
|
Example::
|
|
86754
87157
|
|
|
86755
|
-
ec2.PrefixList(self, "
|
|
86756
|
-
|
|
87158
|
+
ec2.PrefixList.from_lookup(self, "PrefixListFromName",
|
|
87159
|
+
prefix_list_name="com.amazonaws.global.cloudfront.origin-facing"
|
|
86757
87160
|
)
|
|
86758
87161
|
'''
|
|
86759
87162
|
|
|
@@ -86788,6 +87191,37 @@ class PrefixList(
|
|
|
86788
87191
|
|
|
86789
87192
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
86790
87193
|
|
|
87194
|
+
@jsii.member(jsii_name="fromLookup")
|
|
87195
|
+
@builtins.classmethod
|
|
87196
|
+
def from_lookup(
|
|
87197
|
+
cls,
|
|
87198
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
87199
|
+
id: builtins.str,
|
|
87200
|
+
*,
|
|
87201
|
+
prefix_list_name: builtins.str,
|
|
87202
|
+
address_family: typing.Optional[AddressFamily] = None,
|
|
87203
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
87204
|
+
) -> IPrefixList:
|
|
87205
|
+
'''Look up prefix list by name.
|
|
87206
|
+
|
|
87207
|
+
:param scope: -
|
|
87208
|
+
:param id: -
|
|
87209
|
+
:param prefix_list_name: The name of the managed prefix list.
|
|
87210
|
+
:param address_family: The address family of the managed prefix list. Default: - Don't filter on addressFamily
|
|
87211
|
+
:param owner_id: The ID of the AWS account that owns the managed prefix list. Default: - Don't filter on ownerId
|
|
87212
|
+
'''
|
|
87213
|
+
if __debug__:
|
|
87214
|
+
type_hints = typing.get_type_hints(_typecheckingstub__deb5818afac672a99613bc37d186a04e6a9cd2bae585fd43a7bbbe7b2c4de0e6)
|
|
87215
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
87216
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
87217
|
+
options = PrefixListLookupOptions(
|
|
87218
|
+
prefix_list_name=prefix_list_name,
|
|
87219
|
+
address_family=address_family,
|
|
87220
|
+
owner_id=owner_id,
|
|
87221
|
+
)
|
|
87222
|
+
|
|
87223
|
+
return typing.cast(IPrefixList, jsii.sinvoke(cls, "fromLookup", [scope, id, options]))
|
|
87224
|
+
|
|
86791
87225
|
@jsii.member(jsii_name="fromPrefixListId")
|
|
86792
87226
|
@builtins.classmethod
|
|
86793
87227
|
def from_prefix_list_id(
|
|
@@ -86855,6 +87289,91 @@ class PrefixList(
|
|
|
86855
87289
|
return typing.cast(jsii.Number, jsii.get(self, "version"))
|
|
86856
87290
|
|
|
86857
87291
|
|
|
87292
|
+
@jsii.data_type(
|
|
87293
|
+
jsii_type="aws-cdk-lib.aws_ec2.PrefixListLookupOptions",
|
|
87294
|
+
jsii_struct_bases=[],
|
|
87295
|
+
name_mapping={
|
|
87296
|
+
"prefix_list_name": "prefixListName",
|
|
87297
|
+
"address_family": "addressFamily",
|
|
87298
|
+
"owner_id": "ownerId",
|
|
87299
|
+
},
|
|
87300
|
+
)
|
|
87301
|
+
class PrefixListLookupOptions:
|
|
87302
|
+
def __init__(
|
|
87303
|
+
self,
|
|
87304
|
+
*,
|
|
87305
|
+
prefix_list_name: builtins.str,
|
|
87306
|
+
address_family: typing.Optional[AddressFamily] = None,
|
|
87307
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
87308
|
+
) -> None:
|
|
87309
|
+
'''Properties for looking up an existing managed prefix list.
|
|
87310
|
+
|
|
87311
|
+
:param prefix_list_name: The name of the managed prefix list.
|
|
87312
|
+
:param address_family: The address family of the managed prefix list. Default: - Don't filter on addressFamily
|
|
87313
|
+
:param owner_id: The ID of the AWS account that owns the managed prefix list. Default: - Don't filter on ownerId
|
|
87314
|
+
|
|
87315
|
+
:exampleMetadata: infused
|
|
87316
|
+
|
|
87317
|
+
Example::
|
|
87318
|
+
|
|
87319
|
+
# alb: elbv2.ApplicationLoadBalancer
|
|
87320
|
+
|
|
87321
|
+
|
|
87322
|
+
cf_origin_facing = ec2.PrefixList.from_lookup(self, "CloudFrontOriginFacing",
|
|
87323
|
+
prefix_list_name="com.amazonaws.global.cloudfront.origin-facing"
|
|
87324
|
+
)
|
|
87325
|
+
alb.connections.allow_from(ec2.Peer.prefix_list(cf_origin_facing.prefix_list_id), ec2.Port.HTTP)
|
|
87326
|
+
'''
|
|
87327
|
+
if __debug__:
|
|
87328
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4353f67b97f73eaeb1fbd94df299a14d0727dbc31a3319f8619e9b6d60f5c1bb)
|
|
87329
|
+
check_type(argname="argument prefix_list_name", value=prefix_list_name, expected_type=type_hints["prefix_list_name"])
|
|
87330
|
+
check_type(argname="argument address_family", value=address_family, expected_type=type_hints["address_family"])
|
|
87331
|
+
check_type(argname="argument owner_id", value=owner_id, expected_type=type_hints["owner_id"])
|
|
87332
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
87333
|
+
"prefix_list_name": prefix_list_name,
|
|
87334
|
+
}
|
|
87335
|
+
if address_family is not None:
|
|
87336
|
+
self._values["address_family"] = address_family
|
|
87337
|
+
if owner_id is not None:
|
|
87338
|
+
self._values["owner_id"] = owner_id
|
|
87339
|
+
|
|
87340
|
+
@builtins.property
|
|
87341
|
+
def prefix_list_name(self) -> builtins.str:
|
|
87342
|
+
'''The name of the managed prefix list.'''
|
|
87343
|
+
result = self._values.get("prefix_list_name")
|
|
87344
|
+
assert result is not None, "Required property 'prefix_list_name' is missing"
|
|
87345
|
+
return typing.cast(builtins.str, result)
|
|
87346
|
+
|
|
87347
|
+
@builtins.property
|
|
87348
|
+
def address_family(self) -> typing.Optional[AddressFamily]:
|
|
87349
|
+
'''The address family of the managed prefix list.
|
|
87350
|
+
|
|
87351
|
+
:default: - Don't filter on addressFamily
|
|
87352
|
+
'''
|
|
87353
|
+
result = self._values.get("address_family")
|
|
87354
|
+
return typing.cast(typing.Optional[AddressFamily], result)
|
|
87355
|
+
|
|
87356
|
+
@builtins.property
|
|
87357
|
+
def owner_id(self) -> typing.Optional[builtins.str]:
|
|
87358
|
+
'''The ID of the AWS account that owns the managed prefix list.
|
|
87359
|
+
|
|
87360
|
+
:default: - Don't filter on ownerId
|
|
87361
|
+
'''
|
|
87362
|
+
result = self._values.get("owner_id")
|
|
87363
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
87364
|
+
|
|
87365
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
87366
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
87367
|
+
|
|
87368
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
87369
|
+
return not (rhs == self)
|
|
87370
|
+
|
|
87371
|
+
def __repr__(self) -> str:
|
|
87372
|
+
return "PrefixListLookupOptions(%s)" % ", ".join(
|
|
87373
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
87374
|
+
)
|
|
87375
|
+
|
|
87376
|
+
|
|
86858
87377
|
@jsii.data_type(
|
|
86859
87378
|
jsii_type="aws-cdk-lib.aws_ec2.PrefixListOptions",
|
|
86860
87379
|
jsii_struct_bases=[],
|
|
@@ -92239,15 +92758,14 @@ class VpcEndpointService(
|
|
|
92239
92758
|
|
|
92240
92759
|
Example::
|
|
92241
92760
|
|
|
92242
|
-
#
|
|
92243
|
-
# network_load_balancer2: elbv2.NetworkLoadBalancer
|
|
92761
|
+
# network_load_balancer: elbv2.NetworkLoadBalancer
|
|
92244
92762
|
|
|
92245
92763
|
|
|
92246
92764
|
ec2.VpcEndpointService(self, "EndpointService",
|
|
92247
|
-
vpc_endpoint_service_load_balancers=[
|
|
92248
|
-
|
|
92249
|
-
|
|
92250
|
-
|
|
92765
|
+
vpc_endpoint_service_load_balancers=[network_load_balancer],
|
|
92766
|
+
# Support both IPv4 and IPv6 connections to the endpoint service
|
|
92767
|
+
supported_ip_address_types=[ec2.IpAddressType.IPV4, ec2.IpAddressType.IPV6
|
|
92768
|
+
]
|
|
92251
92769
|
)
|
|
92252
92770
|
'''
|
|
92253
92771
|
|
|
@@ -92259,7 +92777,9 @@ class VpcEndpointService(
|
|
|
92259
92777
|
vpc_endpoint_service_load_balancers: typing.Sequence[IVpcEndpointServiceLoadBalancer],
|
|
92260
92778
|
acceptance_required: typing.Optional[builtins.bool] = None,
|
|
92261
92779
|
allowed_principals: typing.Optional[typing.Sequence[_ArnPrincipal_d31ca6bc]] = None,
|
|
92780
|
+
allowed_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
92262
92781
|
contributor_insights: typing.Optional[builtins.bool] = None,
|
|
92782
|
+
supported_ip_address_types: typing.Optional[typing.Sequence[IpAddressType]] = None,
|
|
92263
92783
|
) -> None:
|
|
92264
92784
|
'''
|
|
92265
92785
|
:param scope: -
|
|
@@ -92267,7 +92787,9 @@ class VpcEndpointService(
|
|
|
92267
92787
|
:param vpc_endpoint_service_load_balancers: One or more load balancers to host the VPC Endpoint Service.
|
|
92268
92788
|
:param acceptance_required: Whether requests from service consumers to connect to the service through an endpoint must be accepted. Default: true
|
|
92269
92789
|
:param allowed_principals: IAM users, IAM roles, or AWS accounts to allow inbound connections from. These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal. Default: - no principals
|
|
92790
|
+
:param allowed_regions: The Regions from which service consumers can access the service. Default: - No Region restrictions
|
|
92270
92791
|
:param contributor_insights: Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink. Default: false
|
|
92792
|
+
:param supported_ip_address_types: Specify which IP address types are supported for VPC endpoint service. Default: - No specific IP address types configured
|
|
92271
92793
|
'''
|
|
92272
92794
|
if __debug__:
|
|
92273
92795
|
type_hints = typing.get_type_hints(_typecheckingstub__e9a177a308c941d9422cff7194d8a56d967004d3230efd826dc934ef5358129e)
|
|
@@ -92277,7 +92799,9 @@ class VpcEndpointService(
|
|
|
92277
92799
|
vpc_endpoint_service_load_balancers=vpc_endpoint_service_load_balancers,
|
|
92278
92800
|
acceptance_required=acceptance_required,
|
|
92279
92801
|
allowed_principals=allowed_principals,
|
|
92802
|
+
allowed_regions=allowed_regions,
|
|
92280
92803
|
contributor_insights=contributor_insights,
|
|
92804
|
+
supported_ip_address_types=supported_ip_address_types,
|
|
92281
92805
|
)
|
|
92282
92806
|
|
|
92283
92807
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -92343,7 +92867,9 @@ class VpcEndpointService(
|
|
|
92343
92867
|
"vpc_endpoint_service_load_balancers": "vpcEndpointServiceLoadBalancers",
|
|
92344
92868
|
"acceptance_required": "acceptanceRequired",
|
|
92345
92869
|
"allowed_principals": "allowedPrincipals",
|
|
92870
|
+
"allowed_regions": "allowedRegions",
|
|
92346
92871
|
"contributor_insights": "contributorInsights",
|
|
92872
|
+
"supported_ip_address_types": "supportedIpAddressTypes",
|
|
92347
92873
|
},
|
|
92348
92874
|
)
|
|
92349
92875
|
class VpcEndpointServiceProps:
|
|
@@ -92353,28 +92879,31 @@ class VpcEndpointServiceProps:
|
|
|
92353
92879
|
vpc_endpoint_service_load_balancers: typing.Sequence[IVpcEndpointServiceLoadBalancer],
|
|
92354
92880
|
acceptance_required: typing.Optional[builtins.bool] = None,
|
|
92355
92881
|
allowed_principals: typing.Optional[typing.Sequence[_ArnPrincipal_d31ca6bc]] = None,
|
|
92882
|
+
allowed_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
92356
92883
|
contributor_insights: typing.Optional[builtins.bool] = None,
|
|
92884
|
+
supported_ip_address_types: typing.Optional[typing.Sequence[IpAddressType]] = None,
|
|
92357
92885
|
) -> None:
|
|
92358
92886
|
'''Construction properties for a VpcEndpointService.
|
|
92359
92887
|
|
|
92360
92888
|
:param vpc_endpoint_service_load_balancers: One or more load balancers to host the VPC Endpoint Service.
|
|
92361
92889
|
:param acceptance_required: Whether requests from service consumers to connect to the service through an endpoint must be accepted. Default: true
|
|
92362
92890
|
:param allowed_principals: IAM users, IAM roles, or AWS accounts to allow inbound connections from. These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal. Default: - no principals
|
|
92891
|
+
:param allowed_regions: The Regions from which service consumers can access the service. Default: - No Region restrictions
|
|
92363
92892
|
:param contributor_insights: Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink. Default: false
|
|
92893
|
+
:param supported_ip_address_types: Specify which IP address types are supported for VPC endpoint service. Default: - No specific IP address types configured
|
|
92364
92894
|
|
|
92365
92895
|
:exampleMetadata: infused
|
|
92366
92896
|
|
|
92367
92897
|
Example::
|
|
92368
92898
|
|
|
92369
|
-
#
|
|
92370
|
-
# network_load_balancer2: elbv2.NetworkLoadBalancer
|
|
92899
|
+
# network_load_balancer: elbv2.NetworkLoadBalancer
|
|
92371
92900
|
|
|
92372
92901
|
|
|
92373
92902
|
ec2.VpcEndpointService(self, "EndpointService",
|
|
92374
|
-
vpc_endpoint_service_load_balancers=[
|
|
92375
|
-
|
|
92376
|
-
|
|
92377
|
-
|
|
92903
|
+
vpc_endpoint_service_load_balancers=[network_load_balancer],
|
|
92904
|
+
# Support both IPv4 and IPv6 connections to the endpoint service
|
|
92905
|
+
supported_ip_address_types=[ec2.IpAddressType.IPV4, ec2.IpAddressType.IPV6
|
|
92906
|
+
]
|
|
92378
92907
|
)
|
|
92379
92908
|
'''
|
|
92380
92909
|
if __debug__:
|
|
@@ -92382,7 +92911,9 @@ class VpcEndpointServiceProps:
|
|
|
92382
92911
|
check_type(argname="argument vpc_endpoint_service_load_balancers", value=vpc_endpoint_service_load_balancers, expected_type=type_hints["vpc_endpoint_service_load_balancers"])
|
|
92383
92912
|
check_type(argname="argument acceptance_required", value=acceptance_required, expected_type=type_hints["acceptance_required"])
|
|
92384
92913
|
check_type(argname="argument allowed_principals", value=allowed_principals, expected_type=type_hints["allowed_principals"])
|
|
92914
|
+
check_type(argname="argument allowed_regions", value=allowed_regions, expected_type=type_hints["allowed_regions"])
|
|
92385
92915
|
check_type(argname="argument contributor_insights", value=contributor_insights, expected_type=type_hints["contributor_insights"])
|
|
92916
|
+
check_type(argname="argument supported_ip_address_types", value=supported_ip_address_types, expected_type=type_hints["supported_ip_address_types"])
|
|
92386
92917
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
92387
92918
|
"vpc_endpoint_service_load_balancers": vpc_endpoint_service_load_balancers,
|
|
92388
92919
|
}
|
|
@@ -92390,8 +92921,12 @@ class VpcEndpointServiceProps:
|
|
|
92390
92921
|
self._values["acceptance_required"] = acceptance_required
|
|
92391
92922
|
if allowed_principals is not None:
|
|
92392
92923
|
self._values["allowed_principals"] = allowed_principals
|
|
92924
|
+
if allowed_regions is not None:
|
|
92925
|
+
self._values["allowed_regions"] = allowed_regions
|
|
92393
92926
|
if contributor_insights is not None:
|
|
92394
92927
|
self._values["contributor_insights"] = contributor_insights
|
|
92928
|
+
if supported_ip_address_types is not None:
|
|
92929
|
+
self._values["supported_ip_address_types"] = supported_ip_address_types
|
|
92395
92930
|
|
|
92396
92931
|
@builtins.property
|
|
92397
92932
|
def vpc_endpoint_service_load_balancers(
|
|
@@ -92425,6 +92960,15 @@ class VpcEndpointServiceProps:
|
|
|
92425
92960
|
result = self._values.get("allowed_principals")
|
|
92426
92961
|
return typing.cast(typing.Optional[typing.List[_ArnPrincipal_d31ca6bc]], result)
|
|
92427
92962
|
|
|
92963
|
+
@builtins.property
|
|
92964
|
+
def allowed_regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
92965
|
+
'''The Regions from which service consumers can access the service.
|
|
92966
|
+
|
|
92967
|
+
:default: - No Region restrictions
|
|
92968
|
+
'''
|
|
92969
|
+
result = self._values.get("allowed_regions")
|
|
92970
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
92971
|
+
|
|
92428
92972
|
@builtins.property
|
|
92429
92973
|
def contributor_insights(self) -> typing.Optional[builtins.bool]:
|
|
92430
92974
|
'''Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
|
|
@@ -92434,6 +92978,15 @@ class VpcEndpointServiceProps:
|
|
|
92434
92978
|
result = self._values.get("contributor_insights")
|
|
92435
92979
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
92436
92980
|
|
|
92981
|
+
@builtins.property
|
|
92982
|
+
def supported_ip_address_types(self) -> typing.Optional[typing.List[IpAddressType]]:
|
|
92983
|
+
'''Specify which IP address types are supported for VPC endpoint service.
|
|
92984
|
+
|
|
92985
|
+
:default: - No specific IP address types configured
|
|
92986
|
+
'''
|
|
92987
|
+
result = self._values.get("supported_ip_address_types")
|
|
92988
|
+
return typing.cast(typing.Optional[typing.List[IpAddressType]], result)
|
|
92989
|
+
|
|
92437
92990
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
92438
92991
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
92439
92992
|
|
|
@@ -92463,6 +93016,12 @@ class VpcEndpointType(enum.Enum):
|
|
|
92463
93016
|
A gateway endpoint is a gateway that is a target for a specified route in
|
|
92464
93017
|
your route table, used for traffic destined to a supported AWS service.
|
|
92465
93018
|
'''
|
|
93019
|
+
GATEWAYLOADBALANCER = "GATEWAYLOADBALANCER"
|
|
93020
|
+
'''A Gateway Load Balancer (GWLB) endpoint is an entry/exit point in your VPC that allows traffic to flow between your VPC and Gateway Load Balancer appliances (like firewalls, intrusion detection systems, or other security appliances) deployed in a separate VPC.'''
|
|
93021
|
+
SERVICENETWORK = "SERVICENETWORK"
|
|
93022
|
+
'''A ServiceNetwork VPC endpoint is a feature to connect your VPC to an AWS Cloud WAN (Wide Area Network) or Amazon VPC Lattice service.'''
|
|
93023
|
+
RESOURCE = "RESOURCE"
|
|
93024
|
+
'''A Resource VPC endpoint in AWS is specifically designed to connect to AWS Resource Access Manager (RAM) service privately within your VPC, without requiring access through the public internet.'''
|
|
92466
93025
|
|
|
92467
93026
|
|
|
92468
93027
|
@jsii.data_type(
|
|
@@ -96790,6 +97349,7 @@ class InitCommand(
|
|
|
96790
97349
|
"follow_symlinks": "followSymlinks",
|
|
96791
97350
|
"ignore_mode": "ignoreMode",
|
|
96792
97351
|
"deploy_time": "deployTime",
|
|
97352
|
+
"display_name": "displayName",
|
|
96793
97353
|
"readers": "readers",
|
|
96794
97354
|
"source_kms_key": "sourceKMSKey",
|
|
96795
97355
|
},
|
|
@@ -96810,6 +97370,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
96810
97370
|
follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
|
|
96811
97371
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
96812
97372
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
97373
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
96813
97374
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
96814
97375
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
96815
97376
|
) -> None:
|
|
@@ -96827,6 +97388,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
96827
97388
|
:param follow_symlinks: A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER
|
|
96828
97389
|
:param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
|
|
96829
97390
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
97391
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
96830
97392
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
96831
97393
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
96832
97394
|
|
|
@@ -96878,6 +97440,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
96878
97440
|
working_directory="workingDirectory"
|
|
96879
97441
|
),
|
|
96880
97442
|
deploy_time=False,
|
|
97443
|
+
display_name="displayName",
|
|
96881
97444
|
exclude=["exclude"],
|
|
96882
97445
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
96883
97446
|
group="group",
|
|
@@ -96905,6 +97468,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
96905
97468
|
check_type(argname="argument follow_symlinks", value=follow_symlinks, expected_type=type_hints["follow_symlinks"])
|
|
96906
97469
|
check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
|
|
96907
97470
|
check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
|
|
97471
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
96908
97472
|
check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
|
|
96909
97473
|
check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
|
|
96910
97474
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -96932,6 +97496,8 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
96932
97496
|
self._values["ignore_mode"] = ignore_mode
|
|
96933
97497
|
if deploy_time is not None:
|
|
96934
97498
|
self._values["deploy_time"] = deploy_time
|
|
97499
|
+
if display_name is not None:
|
|
97500
|
+
self._values["display_name"] = display_name
|
|
96935
97501
|
if readers is not None:
|
|
96936
97502
|
self._values["readers"] = readers
|
|
96937
97503
|
if source_kms_key is not None:
|
|
@@ -97098,6 +97664,30 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
97098
97664
|
result = self._values.get("deploy_time")
|
|
97099
97665
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
97100
97666
|
|
|
97667
|
+
@builtins.property
|
|
97668
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
97669
|
+
'''A display name for this asset.
|
|
97670
|
+
|
|
97671
|
+
If supplied, the display name will be used in locations where the asset
|
|
97672
|
+
identifier is printed, like in the CLI progress information. If the same
|
|
97673
|
+
asset is added multiple times, the display name of the first occurrence is
|
|
97674
|
+
used.
|
|
97675
|
+
|
|
97676
|
+
The default is the construct path of the Asset construct, with respect to
|
|
97677
|
+
the enclosing stack. If the asset is produced by a construct helper
|
|
97678
|
+
function (such as ``lambda.Code.fromAsset()``), this will look like
|
|
97679
|
+
``MyFunction/Code``.
|
|
97680
|
+
|
|
97681
|
+
We use the stack-relative construct path so that in the common case where
|
|
97682
|
+
you have multiple stacks with the same asset, we won't show something like
|
|
97683
|
+
``/MyBetaStack/MyFunction/Code`` when you are actually deploying to
|
|
97684
|
+
production.
|
|
97685
|
+
|
|
97686
|
+
:default: - Stack-relative construct path
|
|
97687
|
+
'''
|
|
97688
|
+
result = self._values.get("display_name")
|
|
97689
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
97690
|
+
|
|
97101
97691
|
@builtins.property
|
|
97102
97692
|
def readers(self) -> typing.Optional[typing.List[_IGrantable_71c4f5de]]:
|
|
97103
97693
|
'''A list of principals that should be able to read this asset from S3.
|
|
@@ -97142,6 +97732,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
97142
97732
|
"follow_symlinks": "followSymlinks",
|
|
97143
97733
|
"ignore_mode": "ignoreMode",
|
|
97144
97734
|
"deploy_time": "deployTime",
|
|
97735
|
+
"display_name": "displayName",
|
|
97145
97736
|
"readers": "readers",
|
|
97146
97737
|
"source_kms_key": "sourceKMSKey",
|
|
97147
97738
|
},
|
|
@@ -97158,6 +97749,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97158
97749
|
follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
|
|
97159
97750
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
97160
97751
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
97752
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
97161
97753
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
97162
97754
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
97163
97755
|
) -> None:
|
|
@@ -97171,6 +97763,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97171
97763
|
:param follow_symlinks: A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER
|
|
97172
97764
|
:param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
|
|
97173
97765
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
97766
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
97174
97767
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
97175
97768
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
97176
97769
|
|
|
@@ -97221,6 +97814,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97221
97814
|
working_directory="workingDirectory"
|
|
97222
97815
|
),
|
|
97223
97816
|
deploy_time=False,
|
|
97817
|
+
display_name="displayName",
|
|
97224
97818
|
exclude=["exclude"],
|
|
97225
97819
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
97226
97820
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
@@ -97241,6 +97835,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97241
97835
|
check_type(argname="argument follow_symlinks", value=follow_symlinks, expected_type=type_hints["follow_symlinks"])
|
|
97242
97836
|
check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
|
|
97243
97837
|
check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
|
|
97838
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
97244
97839
|
check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
|
|
97245
97840
|
check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
|
|
97246
97841
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -97260,6 +97855,8 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97260
97855
|
self._values["ignore_mode"] = ignore_mode
|
|
97261
97856
|
if deploy_time is not None:
|
|
97262
97857
|
self._values["deploy_time"] = deploy_time
|
|
97858
|
+
if display_name is not None:
|
|
97859
|
+
self._values["display_name"] = display_name
|
|
97263
97860
|
if readers is not None:
|
|
97264
97861
|
self._values["readers"] = readers
|
|
97265
97862
|
if source_kms_key is not None:
|
|
@@ -97377,6 +97974,30 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
97377
97974
|
result = self._values.get("deploy_time")
|
|
97378
97975
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
97379
97976
|
|
|
97977
|
+
@builtins.property
|
|
97978
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
97979
|
+
'''A display name for this asset.
|
|
97980
|
+
|
|
97981
|
+
If supplied, the display name will be used in locations where the asset
|
|
97982
|
+
identifier is printed, like in the CLI progress information. If the same
|
|
97983
|
+
asset is added multiple times, the display name of the first occurrence is
|
|
97984
|
+
used.
|
|
97985
|
+
|
|
97986
|
+
The default is the construct path of the Asset construct, with respect to
|
|
97987
|
+
the enclosing stack. If the asset is produced by a construct helper
|
|
97988
|
+
function (such as ``lambda.Code.fromAsset()``), this will look like
|
|
97989
|
+
``MyFunction/Code``.
|
|
97990
|
+
|
|
97991
|
+
We use the stack-relative construct path so that in the common case where
|
|
97992
|
+
you have multiple stacks with the same asset, we won't show something like
|
|
97993
|
+
``/MyBetaStack/MyFunction/Code`` when you are actually deploying to
|
|
97994
|
+
production.
|
|
97995
|
+
|
|
97996
|
+
:default: - Stack-relative construct path
|
|
97997
|
+
'''
|
|
97998
|
+
result = self._values.get("display_name")
|
|
97999
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
98000
|
+
|
|
97380
98001
|
@builtins.property
|
|
97381
98002
|
def readers(self) -> typing.Optional[typing.List[_IGrantable_71c4f5de]]:
|
|
97382
98003
|
'''A list of principals that should be able to read this asset from S3.
|
|
@@ -100211,6 +100832,7 @@ __all__ = [
|
|
|
100211
100832
|
"InterfaceVpcEndpointOptions",
|
|
100212
100833
|
"InterfaceVpcEndpointProps",
|
|
100213
100834
|
"InterfaceVpcEndpointService",
|
|
100835
|
+
"IpAddressType",
|
|
100214
100836
|
"IpAddresses",
|
|
100215
100837
|
"IpProtocol",
|
|
100216
100838
|
"Ipv6Addresses",
|
|
@@ -100260,6 +100882,7 @@ __all__ = [
|
|
|
100260
100882
|
"Port",
|
|
100261
100883
|
"PortProps",
|
|
100262
100884
|
"PrefixList",
|
|
100885
|
+
"PrefixListLookupOptions",
|
|
100263
100886
|
"PrefixListOptions",
|
|
100264
100887
|
"PrefixListProps",
|
|
100265
100888
|
"PrivateSubnet",
|
|
@@ -100728,6 +101351,22 @@ def _typecheckingstub__2a09cfe18a64a35ca3513da8b832d14a3961e5101708c3d59880377b4
|
|
|
100728
101351
|
"""Type checking stubs"""
|
|
100729
101352
|
pass
|
|
100730
101353
|
|
|
101354
|
+
def _typecheckingstub__bb73541f409f83260eb045bf4e0e3879b1c1c509522736f018397f8ac1cf955c(
|
|
101355
|
+
*,
|
|
101356
|
+
allocation_type: typing.Optional[builtins.str] = None,
|
|
101357
|
+
count: typing.Optional[jsii.Number] = None,
|
|
101358
|
+
) -> None:
|
|
101359
|
+
"""Type checking stubs"""
|
|
101360
|
+
pass
|
|
101361
|
+
|
|
101362
|
+
def _typecheckingstub__3c56a4c8d14f2a52b13c3cf61a95ca1ca01e35305d2313a0778cf6fad31ac4ef(
|
|
101363
|
+
*,
|
|
101364
|
+
commitment_end_date: typing.Optional[builtins.str] = None,
|
|
101365
|
+
committed_instance_count: typing.Optional[jsii.Number] = None,
|
|
101366
|
+
) -> None:
|
|
101367
|
+
"""Type checking stubs"""
|
|
101368
|
+
pass
|
|
101369
|
+
|
|
100731
101370
|
def _typecheckingstub__578daf872c6424406c4ac67bfb16e1a373fb40f41078950b64a62c991d0be846(
|
|
100732
101371
|
*,
|
|
100733
101372
|
resource_type: typing.Optional[builtins.str] = None,
|
|
@@ -108470,6 +109109,7 @@ def _typecheckingstub__bd65bb2d0beb1d62ef8b72a33a352ac48e00600bc2b025bdec06b82cf
|
|
|
108470
109109
|
network_load_balancer_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
108471
109110
|
payer_responsibility: typing.Optional[builtins.str] = None,
|
|
108472
109111
|
supported_ip_address_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
109112
|
+
supported_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
108473
109113
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
108474
109114
|
) -> None:
|
|
108475
109115
|
"""Type checking stubs"""
|
|
@@ -108523,6 +109163,12 @@ def _typecheckingstub__4f3f2000badada7fa5b32f7a5144ba0ad0a0da831f8211c47464b99d0
|
|
|
108523
109163
|
"""Type checking stubs"""
|
|
108524
109164
|
pass
|
|
108525
109165
|
|
|
109166
|
+
def _typecheckingstub__5c4b6c5e3132a3db9ac1919f84f1acb15ff2a21f1f6ba6d102fb4c3ec4c36bc2(
|
|
109167
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
109168
|
+
) -> None:
|
|
109169
|
+
"""Type checking stubs"""
|
|
109170
|
+
pass
|
|
109171
|
+
|
|
108526
109172
|
def _typecheckingstub__fb88e38ee31fea753761176490a0c4f49435705e0e51b6d055979684ea151b42(
|
|
108527
109173
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
108528
109174
|
) -> None:
|
|
@@ -108579,6 +109225,7 @@ def _typecheckingstub__0924bdc7dd965ab8320d62e573fa88bcec434cb586b2ba9e4f2916169
|
|
|
108579
109225
|
network_load_balancer_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
108580
109226
|
payer_responsibility: typing.Optional[builtins.str] = None,
|
|
108581
109227
|
supported_ip_address_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
109228
|
+
supported_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
108582
109229
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
108583
109230
|
) -> None:
|
|
108584
109231
|
"""Type checking stubs"""
|
|
@@ -110475,6 +111122,7 @@ def _typecheckingstub__164f7ae4723652c2e5c3189a870d0dbd16f8bec14d0e807d648248a60
|
|
|
110475
111122
|
owner: typing.Optional[builtins.str] = None,
|
|
110476
111123
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
110477
111124
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
111125
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
110478
111126
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
110479
111127
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
110480
111128
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -110723,6 +111371,7 @@ def _typecheckingstub__28af50587b7c2068b2cb49dbac75ce38a6ffdaf070d2c430abde336ae
|
|
|
110723
111371
|
*,
|
|
110724
111372
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
110725
111373
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
111374
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
110726
111375
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
110727
111376
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
110728
111377
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -111108,6 +111757,7 @@ def _typecheckingstub__544aef11081ec87047935491f75a3d5bc9d5075de77f96969bd2ffd1a
|
|
|
111108
111757
|
launch_template_name: typing.Optional[builtins.str] = None,
|
|
111109
111758
|
machine_image: typing.Optional[IMachineImage] = None,
|
|
111110
111759
|
nitro_enclave_enabled: typing.Optional[builtins.bool] = None,
|
|
111760
|
+
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
111111
111761
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
111112
111762
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
111113
111763
|
security_group: typing.Optional[ISecurityGroup] = None,
|
|
@@ -111166,6 +111816,7 @@ def _typecheckingstub__e2ebb1bf0fbb2f9e894169a610cd9fb7cc3f827d34d3a10351bd2f517
|
|
|
111166
111816
|
launch_template_name: typing.Optional[builtins.str] = None,
|
|
111167
111817
|
machine_image: typing.Optional[IMachineImage] = None,
|
|
111168
111818
|
nitro_enclave_enabled: typing.Optional[builtins.bool] = None,
|
|
111819
|
+
placement_group: typing.Optional[IPlacementGroup] = None,
|
|
111169
111820
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
111170
111821
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
111171
111822
|
security_group: typing.Optional[ISecurityGroup] = None,
|
|
@@ -111569,6 +112220,17 @@ def _typecheckingstub__a8acc7e3b44d925ae96c4cd41872cf18233bdd11aba643610749ed9a4
|
|
|
111569
112220
|
"""Type checking stubs"""
|
|
111570
112221
|
pass
|
|
111571
112222
|
|
|
112223
|
+
def _typecheckingstub__deb5818afac672a99613bc37d186a04e6a9cd2bae585fd43a7bbbe7b2c4de0e6(
|
|
112224
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
112225
|
+
id: builtins.str,
|
|
112226
|
+
*,
|
|
112227
|
+
prefix_list_name: builtins.str,
|
|
112228
|
+
address_family: typing.Optional[AddressFamily] = None,
|
|
112229
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
112230
|
+
) -> None:
|
|
112231
|
+
"""Type checking stubs"""
|
|
112232
|
+
pass
|
|
112233
|
+
|
|
111572
112234
|
def _typecheckingstub__11d084123507c2ab32a82e79ad64d9ff7d0962d3562cc06f04b8e900b3c6622b(
|
|
111573
112235
|
scope: _constructs_77d1e7e8.Construct,
|
|
111574
112236
|
id: builtins.str,
|
|
@@ -111577,6 +112239,15 @@ def _typecheckingstub__11d084123507c2ab32a82e79ad64d9ff7d0962d3562cc06f04b8e900b
|
|
|
111577
112239
|
"""Type checking stubs"""
|
|
111578
112240
|
pass
|
|
111579
112241
|
|
|
112242
|
+
def _typecheckingstub__4353f67b97f73eaeb1fbd94df299a14d0727dbc31a3319f8619e9b6d60f5c1bb(
|
|
112243
|
+
*,
|
|
112244
|
+
prefix_list_name: builtins.str,
|
|
112245
|
+
address_family: typing.Optional[AddressFamily] = None,
|
|
112246
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
112247
|
+
) -> None:
|
|
112248
|
+
"""Type checking stubs"""
|
|
112249
|
+
pass
|
|
112250
|
+
|
|
111580
112251
|
def _typecheckingstub__7cc34528909d71054422fc4b6e3439757c430d31f6f33a0af82b4c5b61e57e19(
|
|
111581
112252
|
*,
|
|
111582
112253
|
max_entries: typing.Optional[jsii.Number] = None,
|
|
@@ -112308,7 +112979,9 @@ def _typecheckingstub__e9a177a308c941d9422cff7194d8a56d967004d3230efd826dc934ef5
|
|
|
112308
112979
|
vpc_endpoint_service_load_balancers: typing.Sequence[IVpcEndpointServiceLoadBalancer],
|
|
112309
112980
|
acceptance_required: typing.Optional[builtins.bool] = None,
|
|
112310
112981
|
allowed_principals: typing.Optional[typing.Sequence[_ArnPrincipal_d31ca6bc]] = None,
|
|
112982
|
+
allowed_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
112311
112983
|
contributor_insights: typing.Optional[builtins.bool] = None,
|
|
112984
|
+
supported_ip_address_types: typing.Optional[typing.Sequence[IpAddressType]] = None,
|
|
112312
112985
|
) -> None:
|
|
112313
112986
|
"""Type checking stubs"""
|
|
112314
112987
|
pass
|
|
@@ -112318,7 +112991,9 @@ def _typecheckingstub__c8d3e17059165270b27192911c5b63d78564836ce9d6a1d2e41f5d272
|
|
|
112318
112991
|
vpc_endpoint_service_load_balancers: typing.Sequence[IVpcEndpointServiceLoadBalancer],
|
|
112319
112992
|
acceptance_required: typing.Optional[builtins.bool] = None,
|
|
112320
112993
|
allowed_principals: typing.Optional[typing.Sequence[_ArnPrincipal_d31ca6bc]] = None,
|
|
112994
|
+
allowed_regions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
112321
112995
|
contributor_insights: typing.Optional[builtins.bool] = None,
|
|
112996
|
+
supported_ip_address_types: typing.Optional[typing.Sequence[IpAddressType]] = None,
|
|
112322
112997
|
) -> None:
|
|
112323
112998
|
"""Type checking stubs"""
|
|
112324
112999
|
pass
|
|
@@ -112776,6 +113451,7 @@ def _typecheckingstub__6ce391dd6a64744f1d308a93bd2b78efee46c104a775f9153a5171d8a
|
|
|
112776
113451
|
follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
|
|
112777
113452
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
112778
113453
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
113454
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
112779
113455
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
112780
113456
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
112781
113457
|
) -> None:
|
|
@@ -112792,6 +113468,7 @@ def _typecheckingstub__f3d9778b6f3d55d750d385b361f8381c51ee484d3c8920175605233fb
|
|
|
112792
113468
|
follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
|
|
112793
113469
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
112794
113470
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
113471
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
112795
113472
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
112796
113473
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
112797
113474
|
) -> None:
|