aws-cdk-lib 2.138.0__py3-none-any.whl → 2.139.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (37) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.138.0.jsii.tgz → aws-cdk-lib@2.139.1.jsii.tgz} +0 -0
  3. aws_cdk/aws_apigateway/__init__.py +29 -16
  4. aws_cdk/aws_appconfig/__init__.py +289 -44
  5. aws_cdk/aws_appintegrations/__init__.py +55 -6
  6. aws_cdk/aws_autoscaling/__init__.py +62 -60
  7. aws_cdk/aws_backup/__init__.py +34 -42
  8. aws_cdk/aws_batch/__init__.py +9 -3
  9. aws_cdk/aws_bedrock/__init__.py +4144 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +120 -0
  11. aws_cdk/aws_datazone/__init__.py +22 -0
  12. aws_cdk/aws_dms/__init__.py +2 -4
  13. aws_cdk/aws_ec2/__init__.py +123 -84
  14. aws_cdk/aws_ecr/__init__.py +630 -0
  15. aws_cdk/aws_ecs/__init__.py +121 -19
  16. aws_cdk/aws_efs/__init__.py +592 -0
  17. aws_cdk/aws_elasticloadbalancingv2/__init__.py +23 -8
  18. aws_cdk/aws_events_targets/__init__.py +17 -4
  19. aws_cdk/aws_kms/__init__.py +44 -0
  20. aws_cdk/aws_lambda/__init__.py +9 -0
  21. aws_cdk/aws_oam/__init__.py +204 -0
  22. aws_cdk/aws_rds/__init__.py +15 -11
  23. aws_cdk/aws_redshiftserverless/__init__.py +157 -0
  24. aws_cdk/aws_securitylake/__init__.py +160 -105
  25. aws_cdk/aws_ses_actions/__init__.py +155 -0
  26. aws_cdk/aws_ssm/__init__.py +5 -2
  27. aws_cdk/aws_timestream/__init__.py +1045 -0
  28. aws_cdk/aws_transfer/__init__.py +15 -6
  29. aws_cdk/aws_wisdom/__init__.py +2 -2
  30. aws_cdk/custom_resources/__init__.py +440 -0
  31. aws_cdk/cx_api/__init__.py +17 -0
  32. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/METADATA +1 -1
  33. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/RECORD +37 -37
  34. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/LICENSE +0 -0
  35. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/NOTICE +0 -0
  36. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/WHEEL +0 -0
  37. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/top_level.txt +0 -0
@@ -9349,11 +9349,12 @@ class CfnCustomerGateway(
9349
9349
  from aws_cdk import aws_ec2 as ec2
9350
9350
 
9351
9351
  cfn_customer_gateway = ec2.CfnCustomerGateway(self, "MyCfnCustomerGateway",
9352
- bgp_asn=123,
9353
9352
  ip_address="ipAddress",
9354
9353
  type="type",
9355
9354
 
9356
9355
  # the properties below are optional
9356
+ bgp_asn=123,
9357
+ bgp_asn_extended=123,
9357
9358
  certificate_arn="certificateArn",
9358
9359
  device_name="deviceName",
9359
9360
  tags=[CfnTag(
@@ -9368,9 +9369,10 @@ class CfnCustomerGateway(
9368
9369
  scope: _constructs_77d1e7e8.Construct,
9369
9370
  id: builtins.str,
9370
9371
  *,
9371
- bgp_asn: jsii.Number,
9372
9372
  ip_address: builtins.str,
9373
9373
  type: builtins.str,
9374
+ bgp_asn: typing.Optional[jsii.Number] = None,
9375
+ bgp_asn_extended: typing.Optional[jsii.Number] = None,
9374
9376
  certificate_arn: typing.Optional[builtins.str] = None,
9375
9377
  device_name: typing.Optional[builtins.str] = None,
9376
9378
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -9378,9 +9380,10 @@ class CfnCustomerGateway(
9378
9380
  '''
9379
9381
  :param scope: Scope in which this resource is defined.
9380
9382
  :param id: Construct identifier for this resource (unique in its scope).
9381
- :param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
9382
9383
  :param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static.
9383
9384
  :param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
9385
+ :param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
9386
+ :param bgp_asn_extended:
9384
9387
  :param certificate_arn: The Amazon Resource Name (ARN) for the customer gateway certificate.
9385
9388
  :param device_name: The name of customer gateway device.
9386
9389
  :param tags: One or more tags for the customer gateway.
@@ -9390,9 +9393,10 @@ class CfnCustomerGateway(
9390
9393
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9391
9394
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9392
9395
  props = CfnCustomerGatewayProps(
9393
- bgp_asn=bgp_asn,
9394
9396
  ip_address=ip_address,
9395
9397
  type=type,
9398
+ bgp_asn=bgp_asn,
9399
+ bgp_asn_extended=bgp_asn_extended,
9396
9400
  certificate_arn=certificate_arn,
9397
9401
  device_name=device_name,
9398
9402
  tags=tags,
@@ -9450,19 +9454,6 @@ class CfnCustomerGateway(
9450
9454
  '''Tag Manager which manages the tags for this resource.'''
9451
9455
  return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
9452
9456
 
9453
- @builtins.property
9454
- @jsii.member(jsii_name="bgpAsn")
9455
- def bgp_asn(self) -> jsii.Number:
9456
- '''For devices that support BGP, the customer gateway's BGP ASN.'''
9457
- return typing.cast(jsii.Number, jsii.get(self, "bgpAsn"))
9458
-
9459
- @bgp_asn.setter
9460
- def bgp_asn(self, value: jsii.Number) -> None:
9461
- if __debug__:
9462
- type_hints = typing.get_type_hints(_typecheckingstub__84dfb7d1775bd2bb124f990570c9a2ef23fafd01744cfe248fcb360562f57ca9)
9463
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9464
- jsii.set(self, "bgpAsn", value)
9465
-
9466
9457
  @builtins.property
9467
9458
  @jsii.member(jsii_name="ipAddress")
9468
9459
  def ip_address(self) -> builtins.str:
@@ -9489,6 +9480,31 @@ class CfnCustomerGateway(
9489
9480
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9490
9481
  jsii.set(self, "type", value)
9491
9482
 
9483
+ @builtins.property
9484
+ @jsii.member(jsii_name="bgpAsn")
9485
+ def bgp_asn(self) -> typing.Optional[jsii.Number]:
9486
+ '''For devices that support BGP, the customer gateway's BGP ASN.'''
9487
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "bgpAsn"))
9488
+
9489
+ @bgp_asn.setter
9490
+ def bgp_asn(self, value: typing.Optional[jsii.Number]) -> None:
9491
+ if __debug__:
9492
+ type_hints = typing.get_type_hints(_typecheckingstub__84dfb7d1775bd2bb124f990570c9a2ef23fafd01744cfe248fcb360562f57ca9)
9493
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9494
+ jsii.set(self, "bgpAsn", value)
9495
+
9496
+ @builtins.property
9497
+ @jsii.member(jsii_name="bgpAsnExtended")
9498
+ def bgp_asn_extended(self) -> typing.Optional[jsii.Number]:
9499
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "bgpAsnExtended"))
9500
+
9501
+ @bgp_asn_extended.setter
9502
+ def bgp_asn_extended(self, value: typing.Optional[jsii.Number]) -> None:
9503
+ if __debug__:
9504
+ type_hints = typing.get_type_hints(_typecheckingstub__f41644d25c48e5c3c87a361ba478bdb4a18bf473fe1582fa35c6311f6d5284d8)
9505
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9506
+ jsii.set(self, "bgpAsnExtended", value)
9507
+
9492
9508
  @builtins.property
9493
9509
  @jsii.member(jsii_name="certificateArn")
9494
9510
  def certificate_arn(self) -> typing.Optional[builtins.str]:
@@ -9533,9 +9549,10 @@ class CfnCustomerGateway(
9533
9549
  jsii_type="aws-cdk-lib.aws_ec2.CfnCustomerGatewayProps",
9534
9550
  jsii_struct_bases=[],
9535
9551
  name_mapping={
9536
- "bgp_asn": "bgpAsn",
9537
9552
  "ip_address": "ipAddress",
9538
9553
  "type": "type",
9554
+ "bgp_asn": "bgpAsn",
9555
+ "bgp_asn_extended": "bgpAsnExtended",
9539
9556
  "certificate_arn": "certificateArn",
9540
9557
  "device_name": "deviceName",
9541
9558
  "tags": "tags",
@@ -9545,18 +9562,20 @@ class CfnCustomerGatewayProps:
9545
9562
  def __init__(
9546
9563
  self,
9547
9564
  *,
9548
- bgp_asn: jsii.Number,
9549
9565
  ip_address: builtins.str,
9550
9566
  type: builtins.str,
9567
+ bgp_asn: typing.Optional[jsii.Number] = None,
9568
+ bgp_asn_extended: typing.Optional[jsii.Number] = None,
9551
9569
  certificate_arn: typing.Optional[builtins.str] = None,
9552
9570
  device_name: typing.Optional[builtins.str] = None,
9553
9571
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9554
9572
  ) -> None:
9555
9573
  '''Properties for defining a ``CfnCustomerGateway``.
9556
9574
 
9557
- :param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
9558
9575
  :param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static.
9559
9576
  :param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
9577
+ :param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
9578
+ :param bgp_asn_extended:
9560
9579
  :param certificate_arn: The Amazon Resource Name (ARN) for the customer gateway certificate.
9561
9580
  :param device_name: The name of customer gateway device.
9562
9581
  :param tags: One or more tags for the customer gateway.
@@ -9571,11 +9590,12 @@ class CfnCustomerGatewayProps:
9571
9590
  from aws_cdk import aws_ec2 as ec2
9572
9591
 
9573
9592
  cfn_customer_gateway_props = ec2.CfnCustomerGatewayProps(
9574
- bgp_asn=123,
9575
9593
  ip_address="ipAddress",
9576
9594
  type="type",
9577
9595
 
9578
9596
  # the properties below are optional
9597
+ bgp_asn=123,
9598
+ bgp_asn_extended=123,
9579
9599
  certificate_arn="certificateArn",
9580
9600
  device_name="deviceName",
9581
9601
  tags=[CfnTag(
@@ -9586,17 +9606,21 @@ class CfnCustomerGatewayProps:
9586
9606
  '''
9587
9607
  if __debug__:
9588
9608
  type_hints = typing.get_type_hints(_typecheckingstub__b0ef9a2e3e2b6937b21db500a1cd795126e924d9b920931a413ecdb668bfc7ec)
9589
- check_type(argname="argument bgp_asn", value=bgp_asn, expected_type=type_hints["bgp_asn"])
9590
9609
  check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
9591
9610
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
9611
+ check_type(argname="argument bgp_asn", value=bgp_asn, expected_type=type_hints["bgp_asn"])
9612
+ check_type(argname="argument bgp_asn_extended", value=bgp_asn_extended, expected_type=type_hints["bgp_asn_extended"])
9592
9613
  check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
9593
9614
  check_type(argname="argument device_name", value=device_name, expected_type=type_hints["device_name"])
9594
9615
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
9595
9616
  self._values: typing.Dict[builtins.str, typing.Any] = {
9596
- "bgp_asn": bgp_asn,
9597
9617
  "ip_address": ip_address,
9598
9618
  "type": type,
9599
9619
  }
9620
+ if bgp_asn is not None:
9621
+ self._values["bgp_asn"] = bgp_asn
9622
+ if bgp_asn_extended is not None:
9623
+ self._values["bgp_asn_extended"] = bgp_asn_extended
9600
9624
  if certificate_arn is not None:
9601
9625
  self._values["certificate_arn"] = certificate_arn
9602
9626
  if device_name is not None:
@@ -9604,20 +9628,6 @@ class CfnCustomerGatewayProps:
9604
9628
  if tags is not None:
9605
9629
  self._values["tags"] = tags
9606
9630
 
9607
- @builtins.property
9608
- def bgp_asn(self) -> jsii.Number:
9609
- '''For devices that support BGP, the customer gateway's BGP ASN.
9610
-
9611
- Default: 65000
9612
-
9613
- :default: - 65000
9614
-
9615
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn
9616
- '''
9617
- result = self._values.get("bgp_asn")
9618
- assert result is not None, "Required property 'bgp_asn' is missing"
9619
- return typing.cast(jsii.Number, result)
9620
-
9621
9631
  @builtins.property
9622
9632
  def ip_address(self) -> builtins.str:
9623
9633
  '''IPv4 address for the customer gateway device's outside interface.
@@ -9640,6 +9650,27 @@ class CfnCustomerGatewayProps:
9640
9650
  assert result is not None, "Required property 'type' is missing"
9641
9651
  return typing.cast(builtins.str, result)
9642
9652
 
9653
+ @builtins.property
9654
+ def bgp_asn(self) -> typing.Optional[jsii.Number]:
9655
+ '''For devices that support BGP, the customer gateway's BGP ASN.
9656
+
9657
+ Default: 65000
9658
+
9659
+ :default: - 65000
9660
+
9661
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn
9662
+ '''
9663
+ result = self._values.get("bgp_asn")
9664
+ return typing.cast(typing.Optional[jsii.Number], result)
9665
+
9666
+ @builtins.property
9667
+ def bgp_asn_extended(self) -> typing.Optional[jsii.Number]:
9668
+ '''
9669
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended
9670
+ '''
9671
+ result = self._values.get("bgp_asn_extended")
9672
+ return typing.cast(typing.Optional[jsii.Number], result)
9673
+
9643
9674
  @builtins.property
9644
9675
  def certificate_arn(self) -> typing.Optional[builtins.str]:
9645
9676
  '''The Amazon Resource Name (ARN) for the customer gateway certificate.
@@ -53827,11 +53858,11 @@ class CfnTransitGatewayRoute(
53827
53858
  from aws_cdk import aws_ec2 as ec2
53828
53859
 
53829
53860
  cfn_transit_gateway_route = ec2.CfnTransitGatewayRoute(self, "MyCfnTransitGatewayRoute",
53861
+ destination_cidr_block="destinationCidrBlock",
53830
53862
  transit_gateway_route_table_id="transitGatewayRouteTableId",
53831
53863
 
53832
53864
  # the properties below are optional
53833
53865
  blackhole=False,
53834
- destination_cidr_block="destinationCidrBlock",
53835
53866
  transit_gateway_attachment_id="transitGatewayAttachmentId"
53836
53867
  )
53837
53868
  '''
@@ -53841,17 +53872,17 @@ class CfnTransitGatewayRoute(
53841
53872
  scope: _constructs_77d1e7e8.Construct,
53842
53873
  id: builtins.str,
53843
53874
  *,
53875
+ destination_cidr_block: builtins.str,
53844
53876
  transit_gateway_route_table_id: builtins.str,
53845
53877
  blackhole: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
53846
- destination_cidr_block: typing.Optional[builtins.str] = None,
53847
53878
  transit_gateway_attachment_id: typing.Optional[builtins.str] = None,
53848
53879
  ) -> None:
53849
53880
  '''
53850
53881
  :param scope: Scope in which this resource is defined.
53851
53882
  :param id: Construct identifier for this resource (unique in its scope).
53883
+ :param destination_cidr_block: The CIDR block used for destination matches.
53852
53884
  :param transit_gateway_route_table_id: The ID of the transit gateway route table.
53853
53885
  :param blackhole: Indicates whether to drop traffic that matches this route.
53854
- :param destination_cidr_block: The CIDR block used for destination matches.
53855
53886
  :param transit_gateway_attachment_id: The ID of the attachment.
53856
53887
  '''
53857
53888
  if __debug__:
@@ -53859,9 +53890,9 @@ class CfnTransitGatewayRoute(
53859
53890
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
53860
53891
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
53861
53892
  props = CfnTransitGatewayRouteProps(
53893
+ destination_cidr_block=destination_cidr_block,
53862
53894
  transit_gateway_route_table_id=transit_gateway_route_table_id,
53863
53895
  blackhole=blackhole,
53864
- destination_cidr_block=destination_cidr_block,
53865
53896
  transit_gateway_attachment_id=transit_gateway_attachment_id,
53866
53897
  )
53867
53898
 
@@ -53910,6 +53941,19 @@ class CfnTransitGatewayRoute(
53910
53941
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
53911
53942
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
53912
53943
 
53944
+ @builtins.property
53945
+ @jsii.member(jsii_name="destinationCidrBlock")
53946
+ def destination_cidr_block(self) -> builtins.str:
53947
+ '''The CIDR block used for destination matches.'''
53948
+ return typing.cast(builtins.str, jsii.get(self, "destinationCidrBlock"))
53949
+
53950
+ @destination_cidr_block.setter
53951
+ def destination_cidr_block(self, value: builtins.str) -> None:
53952
+ if __debug__:
53953
+ type_hints = typing.get_type_hints(_typecheckingstub__30150d874e802337a21fe5c33c5e59055a33af9ec33282c5c08706bcd1082c1c)
53954
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
53955
+ jsii.set(self, "destinationCidrBlock", value)
53956
+
53913
53957
  @builtins.property
53914
53958
  @jsii.member(jsii_name="transitGatewayRouteTableId")
53915
53959
  def transit_gateway_route_table_id(self) -> builtins.str:
@@ -53941,19 +53985,6 @@ class CfnTransitGatewayRoute(
53941
53985
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
53942
53986
  jsii.set(self, "blackhole", value)
53943
53987
 
53944
- @builtins.property
53945
- @jsii.member(jsii_name="destinationCidrBlock")
53946
- def destination_cidr_block(self) -> typing.Optional[builtins.str]:
53947
- '''The CIDR block used for destination matches.'''
53948
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "destinationCidrBlock"))
53949
-
53950
- @destination_cidr_block.setter
53951
- def destination_cidr_block(self, value: typing.Optional[builtins.str]) -> None:
53952
- if __debug__:
53953
- type_hints = typing.get_type_hints(_typecheckingstub__30150d874e802337a21fe5c33c5e59055a33af9ec33282c5c08706bcd1082c1c)
53954
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
53955
- jsii.set(self, "destinationCidrBlock", value)
53956
-
53957
53988
  @builtins.property
53958
53989
  @jsii.member(jsii_name="transitGatewayAttachmentId")
53959
53990
  def transit_gateway_attachment_id(self) -> typing.Optional[builtins.str]:
@@ -53975,9 +54006,9 @@ class CfnTransitGatewayRoute(
53975
54006
  jsii_type="aws-cdk-lib.aws_ec2.CfnTransitGatewayRouteProps",
53976
54007
  jsii_struct_bases=[],
53977
54008
  name_mapping={
54009
+ "destination_cidr_block": "destinationCidrBlock",
53978
54010
  "transit_gateway_route_table_id": "transitGatewayRouteTableId",
53979
54011
  "blackhole": "blackhole",
53980
- "destination_cidr_block": "destinationCidrBlock",
53981
54012
  "transit_gateway_attachment_id": "transitGatewayAttachmentId",
53982
54013
  },
53983
54014
  )
@@ -53985,16 +54016,16 @@ class CfnTransitGatewayRouteProps:
53985
54016
  def __init__(
53986
54017
  self,
53987
54018
  *,
54019
+ destination_cidr_block: builtins.str,
53988
54020
  transit_gateway_route_table_id: builtins.str,
53989
54021
  blackhole: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
53990
- destination_cidr_block: typing.Optional[builtins.str] = None,
53991
54022
  transit_gateway_attachment_id: typing.Optional[builtins.str] = None,
53992
54023
  ) -> None:
53993
54024
  '''Properties for defining a ``CfnTransitGatewayRoute``.
53994
54025
 
54026
+ :param destination_cidr_block: The CIDR block used for destination matches.
53995
54027
  :param transit_gateway_route_table_id: The ID of the transit gateway route table.
53996
54028
  :param blackhole: Indicates whether to drop traffic that matches this route.
53997
- :param destination_cidr_block: The CIDR block used for destination matches.
53998
54029
  :param transit_gateway_attachment_id: The ID of the attachment.
53999
54030
 
54000
54031
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html
@@ -54007,30 +54038,39 @@ class CfnTransitGatewayRouteProps:
54007
54038
  from aws_cdk import aws_ec2 as ec2
54008
54039
 
54009
54040
  cfn_transit_gateway_route_props = ec2.CfnTransitGatewayRouteProps(
54041
+ destination_cidr_block="destinationCidrBlock",
54010
54042
  transit_gateway_route_table_id="transitGatewayRouteTableId",
54011
54043
 
54012
54044
  # the properties below are optional
54013
54045
  blackhole=False,
54014
- destination_cidr_block="destinationCidrBlock",
54015
54046
  transit_gateway_attachment_id="transitGatewayAttachmentId"
54016
54047
  )
54017
54048
  '''
54018
54049
  if __debug__:
54019
54050
  type_hints = typing.get_type_hints(_typecheckingstub__234e56a6f757b6cae89b22252317937e5caf6081f899789f9dfaf239987ad5e3)
54051
+ check_type(argname="argument destination_cidr_block", value=destination_cidr_block, expected_type=type_hints["destination_cidr_block"])
54020
54052
  check_type(argname="argument transit_gateway_route_table_id", value=transit_gateway_route_table_id, expected_type=type_hints["transit_gateway_route_table_id"])
54021
54053
  check_type(argname="argument blackhole", value=blackhole, expected_type=type_hints["blackhole"])
54022
- check_type(argname="argument destination_cidr_block", value=destination_cidr_block, expected_type=type_hints["destination_cidr_block"])
54023
54054
  check_type(argname="argument transit_gateway_attachment_id", value=transit_gateway_attachment_id, expected_type=type_hints["transit_gateway_attachment_id"])
54024
54055
  self._values: typing.Dict[builtins.str, typing.Any] = {
54056
+ "destination_cidr_block": destination_cidr_block,
54025
54057
  "transit_gateway_route_table_id": transit_gateway_route_table_id,
54026
54058
  }
54027
54059
  if blackhole is not None:
54028
54060
  self._values["blackhole"] = blackhole
54029
- if destination_cidr_block is not None:
54030
- self._values["destination_cidr_block"] = destination_cidr_block
54031
54061
  if transit_gateway_attachment_id is not None:
54032
54062
  self._values["transit_gateway_attachment_id"] = transit_gateway_attachment_id
54033
54063
 
54064
+ @builtins.property
54065
+ def destination_cidr_block(self) -> builtins.str:
54066
+ '''The CIDR block used for destination matches.
54067
+
54068
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-destinationcidrblock
54069
+ '''
54070
+ result = self._values.get("destination_cidr_block")
54071
+ assert result is not None, "Required property 'destination_cidr_block' is missing"
54072
+ return typing.cast(builtins.str, result)
54073
+
54034
54074
  @builtins.property
54035
54075
  def transit_gateway_route_table_id(self) -> builtins.str:
54036
54076
  '''The ID of the transit gateway route table.
@@ -54052,15 +54092,6 @@ class CfnTransitGatewayRouteProps:
54052
54092
  result = self._values.get("blackhole")
54053
54093
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
54054
54094
 
54055
- @builtins.property
54056
- def destination_cidr_block(self) -> typing.Optional[builtins.str]:
54057
- '''The CIDR block used for destination matches.
54058
-
54059
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-destinationcidrblock
54060
- '''
54061
- result = self._values.get("destination_cidr_block")
54062
- return typing.cast(typing.Optional[builtins.str], result)
54063
-
54064
54095
  @builtins.property
54065
54096
  def transit_gateway_attachment_id(self) -> typing.Optional[builtins.str]:
54066
54097
  '''The ID of the attachment.
@@ -94895,9 +94926,10 @@ def _typecheckingstub__16b41182e007e05b84fd0c97afc1e26001e78a56de2eb5b10c9f809de
94895
94926
  scope: _constructs_77d1e7e8.Construct,
94896
94927
  id: builtins.str,
94897
94928
  *,
94898
- bgp_asn: jsii.Number,
94899
94929
  ip_address: builtins.str,
94900
94930
  type: builtins.str,
94931
+ bgp_asn: typing.Optional[jsii.Number] = None,
94932
+ bgp_asn_extended: typing.Optional[jsii.Number] = None,
94901
94933
  certificate_arn: typing.Optional[builtins.str] = None,
94902
94934
  device_name: typing.Optional[builtins.str] = None,
94903
94935
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -94917,20 +94949,26 @@ def _typecheckingstub__a44104c4ad329cfdabba2866cf426d821fa85ba6f3aa04801988c746b
94917
94949
  """Type checking stubs"""
94918
94950
  pass
94919
94951
 
94920
- def _typecheckingstub__84dfb7d1775bd2bb124f990570c9a2ef23fafd01744cfe248fcb360562f57ca9(
94921
- value: jsii.Number,
94952
+ def _typecheckingstub__a312c99e6832f0396cbd7c4d05fbab836db0503cf37ecee5f1f64bd213516c2e(
94953
+ value: builtins.str,
94922
94954
  ) -> None:
94923
94955
  """Type checking stubs"""
94924
94956
  pass
94925
94957
 
94926
- def _typecheckingstub__a312c99e6832f0396cbd7c4d05fbab836db0503cf37ecee5f1f64bd213516c2e(
94958
+ def _typecheckingstub__ae973d5ca9904c069d03cbf10a1e3fdf7736cc00ca43663eb07598f97c4e5771(
94927
94959
  value: builtins.str,
94928
94960
  ) -> None:
94929
94961
  """Type checking stubs"""
94930
94962
  pass
94931
94963
 
94932
- def _typecheckingstub__ae973d5ca9904c069d03cbf10a1e3fdf7736cc00ca43663eb07598f97c4e5771(
94933
- value: builtins.str,
94964
+ def _typecheckingstub__84dfb7d1775bd2bb124f990570c9a2ef23fafd01744cfe248fcb360562f57ca9(
94965
+ value: typing.Optional[jsii.Number],
94966
+ ) -> None:
94967
+ """Type checking stubs"""
94968
+ pass
94969
+
94970
+ def _typecheckingstub__f41644d25c48e5c3c87a361ba478bdb4a18bf473fe1582fa35c6311f6d5284d8(
94971
+ value: typing.Optional[jsii.Number],
94934
94972
  ) -> None:
94935
94973
  """Type checking stubs"""
94936
94974
  pass
@@ -94955,9 +94993,10 @@ def _typecheckingstub__05a111d13df5583de4721245805f1cb23e3c81e0e12774d2a044cf75b
94955
94993
 
94956
94994
  def _typecheckingstub__b0ef9a2e3e2b6937b21db500a1cd795126e924d9b920931a413ecdb668bfc7ec(
94957
94995
  *,
94958
- bgp_asn: jsii.Number,
94959
94996
  ip_address: builtins.str,
94960
94997
  type: builtins.str,
94998
+ bgp_asn: typing.Optional[jsii.Number] = None,
94999
+ bgp_asn_extended: typing.Optional[jsii.Number] = None,
94961
95000
  certificate_arn: typing.Optional[builtins.str] = None,
94962
95001
  device_name: typing.Optional[builtins.str] = None,
94963
95002
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -101069,9 +101108,9 @@ def _typecheckingstub__762528618652de53ec01b9db873d15c1412ef510b68d36faf8e5193ee
101069
101108
  scope: _constructs_77d1e7e8.Construct,
101070
101109
  id: builtins.str,
101071
101110
  *,
101111
+ destination_cidr_block: builtins.str,
101072
101112
  transit_gateway_route_table_id: builtins.str,
101073
101113
  blackhole: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
101074
- destination_cidr_block: typing.Optional[builtins.str] = None,
101075
101114
  transit_gateway_attachment_id: typing.Optional[builtins.str] = None,
101076
101115
  ) -> None:
101077
101116
  """Type checking stubs"""
@@ -101089,20 +101128,20 @@ def _typecheckingstub__db248da6e580b35319fa4105c6aa56b32a97434942c5e6aa6364835dd
101089
101128
  """Type checking stubs"""
101090
101129
  pass
101091
101130
 
101092
- def _typecheckingstub__a3ff43d5668d80486662b5f29a818edf8b7a164143e8327503af53fea81d72e4(
101131
+ def _typecheckingstub__30150d874e802337a21fe5c33c5e59055a33af9ec33282c5c08706bcd1082c1c(
101093
101132
  value: builtins.str,
101094
101133
  ) -> None:
101095
101134
  """Type checking stubs"""
101096
101135
  pass
101097
101136
 
101098
- def _typecheckingstub__ae3c350b4ebbf2eafd4fffaf648073580cc8872edfcbb0622e12224667970a75(
101099
- value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
101137
+ def _typecheckingstub__a3ff43d5668d80486662b5f29a818edf8b7a164143e8327503af53fea81d72e4(
101138
+ value: builtins.str,
101100
101139
  ) -> None:
101101
101140
  """Type checking stubs"""
101102
101141
  pass
101103
101142
 
101104
- def _typecheckingstub__30150d874e802337a21fe5c33c5e59055a33af9ec33282c5c08706bcd1082c1c(
101105
- value: typing.Optional[builtins.str],
101143
+ def _typecheckingstub__ae3c350b4ebbf2eafd4fffaf648073580cc8872edfcbb0622e12224667970a75(
101144
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
101106
101145
  ) -> None:
101107
101146
  """Type checking stubs"""
101108
101147
  pass
@@ -101115,9 +101154,9 @@ def _typecheckingstub__a94dba0eae14b14a0b432cb7e86de53fbec80e85adaa717d318a1fe9f
101115
101154
 
101116
101155
  def _typecheckingstub__234e56a6f757b6cae89b22252317937e5caf6081f899789f9dfaf239987ad5e3(
101117
101156
  *,
101157
+ destination_cidr_block: builtins.str,
101118
101158
  transit_gateway_route_table_id: builtins.str,
101119
101159
  blackhole: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
101120
- destination_cidr_block: typing.Optional[builtins.str] = None,
101121
101160
  transit_gateway_attachment_id: typing.Optional[builtins.str] = None,
101122
101161
  ) -> None:
101123
101162
  """Type checking stubs"""