aws-cdk-lib 2.204.0__py3-none-any.whl → 2.205.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (48) hide show
  1. aws_cdk/__init__.py +170 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.204.0.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  6. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  7. aws_cdk/aws_b2bi/__init__.py +32 -16
  8. aws_cdk/aws_bedrock/__init__.py +198 -10
  9. aws_cdk/aws_cassandra/__init__.py +156 -0
  10. aws_cdk/aws_cloudformation/__init__.py +74 -72
  11. aws_cdk/aws_cloudfront/__init__.py +1181 -485
  12. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  13. aws_cdk/aws_cloudwatch/__init__.py +61 -0
  14. aws_cdk/aws_codebuild/__init__.py +216 -36
  15. aws_cdk/aws_datasync/__init__.py +2 -2
  16. aws_cdk/aws_docdb/__init__.py +78 -0
  17. aws_cdk/aws_dynamodb/__init__.py +207 -35
  18. aws_cdk/aws_ec2/__init__.py +32 -30
  19. aws_cdk/aws_ecs/__init__.py +12 -19
  20. aws_cdk/aws_emrserverless/__init__.py +5 -5
  21. aws_cdk/aws_events/__init__.py +58 -3
  22. aws_cdk/aws_events_targets/__init__.py +7 -2
  23. aws_cdk/aws_evs/__init__.py +7 -7
  24. aws_cdk/aws_fsx/__init__.py +138 -78
  25. aws_cdk/aws_gamelift/__init__.py +19 -0
  26. aws_cdk/aws_glue/__init__.py +3 -3
  27. aws_cdk/aws_iot/__init__.py +1 -1
  28. aws_cdk/aws_kinesis/__init__.py +67 -13
  29. aws_cdk/aws_kinesisfirehose/__init__.py +28 -1
  30. aws_cdk/aws_lex/__init__.py +36 -19
  31. aws_cdk/aws_neptune/__init__.py +12 -12
  32. aws_cdk/aws_odb/__init__.py +4049 -0
  33. aws_cdk/aws_omics/__init__.py +1 -1
  34. aws_cdk/aws_qbusiness/__init__.py +471 -4
  35. aws_cdk/aws_quicksight/__init__.py +185 -16
  36. aws_cdk/aws_rds/__init__.py +169 -17
  37. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  38. aws_cdk/aws_route53/__init__.py +41 -19
  39. aws_cdk/aws_s3tables/__init__.py +1005 -0
  40. aws_cdk/aws_sagemaker/__init__.py +20 -0
  41. aws_cdk/aws_synthetics/__init__.py +141 -37
  42. aws_cdk/aws_transfer/__init__.py +23 -1
  43. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +1 -1
  44. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +48 -47
  45. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  46. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  47. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  48. {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -6621,7 +6621,7 @@ class CfnCapacityReservation(
6621
6621
  )
6622
6622
 
6623
6623
 
6624
- @jsii.implements(_IInspectable_c2943556)
6624
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
6625
6625
  class CfnCapacityReservationFleet(
6626
6626
  _CfnResource_9df397a6,
6627
6627
  metaclass=jsii.JSIIMeta,
@@ -6679,7 +6679,7 @@ class CfnCapacityReservationFleet(
6679
6679
  instance_type_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapacityReservationFleet.InstanceTypeSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6680
6680
  no_remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6681
6681
  remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6682
- tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapacityReservationFleet.TagSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6682
+ tag_specifications: typing.Optional[typing.Sequence[typing.Union["CfnCapacityReservationFleet.TagSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6683
6683
  tenancy: typing.Optional[builtins.str] = None,
6684
6684
  total_target_capacity: typing.Optional[jsii.Number] = None,
6685
6685
  ) -> None:
@@ -6753,6 +6753,12 @@ class CfnCapacityReservationFleet(
6753
6753
  '''
6754
6754
  return typing.cast(builtins.str, jsii.get(self, "attrCapacityReservationFleetId"))
6755
6755
 
6756
+ @builtins.property
6757
+ @jsii.member(jsii_name="cdkTagManager")
6758
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
6759
+ '''Tag Manager which manages the tags for this resource.'''
6760
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
6761
+
6756
6762
  @builtins.property
6757
6763
  @jsii.member(jsii_name="cfnProperties")
6758
6764
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -6855,14 +6861,14 @@ class CfnCapacityReservationFleet(
6855
6861
  @jsii.member(jsii_name="tagSpecifications")
6856
6862
  def tag_specifications(
6857
6863
  self,
6858
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCapacityReservationFleet.TagSpecificationProperty"]]]]:
6864
+ ) -> typing.Optional[typing.List["CfnCapacityReservationFleet.TagSpecificationProperty"]]:
6859
6865
  '''The tags to assign to the Capacity Reservation Fleet.'''
6860
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCapacityReservationFleet.TagSpecificationProperty"]]]], jsii.get(self, "tagSpecifications"))
6866
+ return typing.cast(typing.Optional[typing.List["CfnCapacityReservationFleet.TagSpecificationProperty"]], jsii.get(self, "tagSpecifications"))
6861
6867
 
6862
6868
  @tag_specifications.setter
6863
6869
  def tag_specifications(
6864
6870
  self,
6865
- value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCapacityReservationFleet.TagSpecificationProperty"]]]],
6871
+ value: typing.Optional[typing.List["CfnCapacityReservationFleet.TagSpecificationProperty"]],
6866
6872
  ) -> None:
6867
6873
  if __debug__:
6868
6874
  type_hints = typing.get_type_hints(_typecheckingstub__9be24701036c5abd754bc67058ec4d8c733250163e5a63577648325991d133e9)
@@ -7170,7 +7176,7 @@ class CfnCapacityReservationFleetProps:
7170
7176
  instance_type_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.InstanceTypeSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
7171
7177
  no_remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
7172
7178
  remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
7173
- tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
7179
+ tag_specifications: typing.Optional[typing.Sequence[typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7174
7180
  tenancy: typing.Optional[builtins.str] = None,
7175
7181
  total_target_capacity: typing.Optional[jsii.Number] = None,
7176
7182
  ) -> None:
@@ -7331,7 +7337,7 @@ class CfnCapacityReservationFleetProps:
7331
7337
  @builtins.property
7332
7338
  def tag_specifications(
7333
7339
  self,
7334
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCapacityReservationFleet.TagSpecificationProperty]]]]:
7340
+ ) -> typing.Optional[typing.List[CfnCapacityReservationFleet.TagSpecificationProperty]]:
7335
7341
  '''The tags to assign to the Capacity Reservation Fleet.
7336
7342
 
7337
7343
  The tags are automatically assigned to the Capacity Reservations in the Fleet.
@@ -7339,7 +7345,7 @@ class CfnCapacityReservationFleetProps:
7339
7345
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservationfleet.html#cfn-ec2-capacityreservationfleet-tagspecifications
7340
7346
  '''
7341
7347
  result = self._values.get("tag_specifications")
7342
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCapacityReservationFleet.TagSpecificationProperty]]]], result)
7348
+ return typing.cast(typing.Optional[typing.List[CfnCapacityReservationFleet.TagSpecificationProperty]], result)
7343
7349
 
7344
7350
  @builtins.property
7345
7351
  def tenancy(self) -> typing.Optional[builtins.str]:
@@ -10401,7 +10407,7 @@ class CfnCustomerGateway(
10401
10407
  '''
10402
10408
  :param scope: Scope in which this resource is defined.
10403
10409
  :param id: Construct identifier for this resource (unique in its scope).
10404
- :param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``PublicIpv4`` , you can use a public IPv4 address.
10410
+ :param ip_address: The IP address for the customer gateway device's outside interface. The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``Ipv6`` , you can use an IPv6 address.
10405
10411
  :param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
10406
10412
  :param bgp_asn: For customer gateway devices that support BGP, specify the device's ASN. You must specify either ``BgpAsn`` or ``BgpAsnExtended`` when creating the customer gateway. If the ASN is larger than ``2,147,483,647`` , you must use ``BgpAsnExtended`` . Default: 65000 Valid values: ``1`` to ``2,147,483,647`` Default: - 65000
10407
10413
  :param bgp_asn_extended: For customer gateway devices that support BGP, specify the device's ASN. You must specify either ``BgpAsn`` or ``BgpAsnExtended`` when creating the customer gateway. If the ASN is larger than ``2,147,483,647`` , you must use ``BgpAsnExtended`` . Valid values: ``2,147,483,648`` to ``4,294,967,295``
@@ -10478,7 +10484,7 @@ class CfnCustomerGateway(
10478
10484
  @builtins.property
10479
10485
  @jsii.member(jsii_name="ipAddress")
10480
10486
  def ip_address(self) -> builtins.str:
10481
- '''IPv4 address for the customer gateway device's outside interface.'''
10487
+ '''The IP address for the customer gateway device's outside interface.'''
10482
10488
  return typing.cast(builtins.str, jsii.get(self, "ipAddress"))
10483
10489
 
10484
10490
  @ip_address.setter
@@ -10594,7 +10600,7 @@ class CfnCustomerGatewayProps:
10594
10600
  ) -> None:
10595
10601
  '''Properties for defining a ``CfnCustomerGateway``.
10596
10602
 
10597
- :param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``PublicIpv4`` , you can use a public IPv4 address.
10603
+ :param ip_address: The IP address for the customer gateway device's outside interface. The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``Ipv6`` , you can use an IPv6 address.
10598
10604
  :param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
10599
10605
  :param bgp_asn: For customer gateway devices that support BGP, specify the device's ASN. You must specify either ``BgpAsn`` or ``BgpAsnExtended`` when creating the customer gateway. If the ASN is larger than ``2,147,483,647`` , you must use ``BgpAsnExtended`` . Default: 65000 Valid values: ``1`` to ``2,147,483,647`` Default: - 65000
10600
10606
  :param bgp_asn_extended: For customer gateway devices that support BGP, specify the device's ASN. You must specify either ``BgpAsn`` or ``BgpAsnExtended`` when creating the customer gateway. If the ASN is larger than ``2,147,483,647`` , you must use ``BgpAsnExtended`` . Valid values: ``2,147,483,648`` to ``4,294,967,295``
@@ -10652,9 +10658,9 @@ class CfnCustomerGatewayProps:
10652
10658
 
10653
10659
  @builtins.property
10654
10660
  def ip_address(self) -> builtins.str:
10655
- '''IPv4 address for the customer gateway device's outside interface.
10661
+ '''The IP address for the customer gateway device's outside interface.
10656
10662
 
10657
- The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``PublicIpv4`` , you can use a public IPv4 address.
10663
+ The address must be static. If ``OutsideIpAddressType`` in your VPN connection options is set to ``PrivateIpv4`` , you can use an RFC6598 or RFC1918 private IPv4 address. If ``OutsideIpAddressType`` is set to ``Ipv6`` , you can use an IPv6 address.
10658
10664
 
10659
10665
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-ipaddress
10660
10666
  '''
@@ -54653,18 +54659,10 @@ class CfnTrafficMirrorFilterRule(
54653
54659
  '''The CloudFormation resource type name for this resource class.'''
54654
54660
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
54655
54661
 
54656
- @builtins.property
54657
- @jsii.member(jsii_name="attrId")
54658
- def attr_id(self) -> builtins.str:
54659
- '''
54660
- :cloudformationAttribute: Id
54661
- '''
54662
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
54663
-
54664
54662
  @builtins.property
54665
54663
  @jsii.member(jsii_name="attrTrafficMirrorFilterRuleId")
54666
54664
  def attr_traffic_mirror_filter_rule_id(self) -> builtins.str:
54667
- '''The ID of the Traffic Mirror Filter rule.
54665
+ '''The ID of the Traffic Mirror rule.
54668
54666
 
54669
54667
  :cloudformationAttribute: TrafficMirrorFilterRuleId
54670
54668
  '''
@@ -64306,7 +64304,7 @@ class CfnVPNConnection(
64306
64304
  :param enable_acceleration: Indicate whether to enable acceleration for the VPN connection. Default: ``false``
64307
64305
  :param local_ipv4_network_cidr: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``0.0.0.0/0``
64308
64306
  :param local_ipv6_network_cidr: The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``::/0``
64309
- :param outside_ip_address_type: The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` Default: ``PublicIpv4``
64307
+ :param outside_ip_address_type: The type of IP address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` | ``Ipv6`` Default: ``PublicIpv4``
64310
64308
  :param remote_ipv4_network_cidr: The IPv4 CIDR on the AWS side of the VPN connection. Default: ``0.0.0.0/0``
64311
64309
  :param remote_ipv6_network_cidr: The IPv6 CIDR on the AWS side of the VPN connection. Default: ``::/0``
64312
64310
  :param static_routes_only: Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify ``true`` .
@@ -64464,7 +64462,7 @@ class CfnVPNConnection(
64464
64462
  @builtins.property
64465
64463
  @jsii.member(jsii_name="outsideIpAddressType")
64466
64464
  def outside_ip_address_type(self) -> typing.Optional[builtins.str]:
64467
- '''The type of IPv4 address assigned to the outside interface of the customer gateway device.'''
64465
+ '''The type of IP address assigned to the outside interface of the customer gateway device.'''
64468
64466
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "outsideIpAddressType"))
64469
64467
 
64470
64468
  @outside_ip_address_type.setter
@@ -65635,7 +65633,7 @@ class CfnVPNConnectionProps:
65635
65633
  :param enable_acceleration: Indicate whether to enable acceleration for the VPN connection. Default: ``false``
65636
65634
  :param local_ipv4_network_cidr: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``0.0.0.0/0``
65637
65635
  :param local_ipv6_network_cidr: The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ``::/0``
65638
- :param outside_ip_address_type: The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` Default: ``PublicIpv4``
65636
+ :param outside_ip_address_type: The type of IP address assigned to the outside interface of the customer gateway device. Valid values: ``PrivateIpv4`` | ``PublicIpv4`` | ``Ipv6`` Default: ``PublicIpv4``
65639
65637
  :param remote_ipv4_network_cidr: The IPv4 CIDR on the AWS side of the VPN connection. Default: ``0.0.0.0/0``
65640
65638
  :param remote_ipv6_network_cidr: The IPv6 CIDR on the AWS side of the VPN connection. Default: ``::/0``
65641
65639
  :param static_routes_only: Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify ``true`` .
@@ -65824,9 +65822,9 @@ class CfnVPNConnectionProps:
65824
65822
 
65825
65823
  @builtins.property
65826
65824
  def outside_ip_address_type(self) -> typing.Optional[builtins.str]:
65827
- '''The type of IPv4 address assigned to the outside interface of the customer gateway device.
65825
+ '''The type of IP address assigned to the outside interface of the customer gateway device.
65828
65826
 
65829
- Valid values: ``PrivateIpv4`` | ``PublicIpv4``
65827
+ Valid values: ``PrivateIpv4`` | ``PublicIpv4`` | ``Ipv6``
65830
65828
 
65831
65829
  Default: ``PublicIpv4``
65832
65830
 
@@ -80951,6 +80949,10 @@ class InstanceClass(enum.Enum):
80951
80949
  '''Compute optimized instances for high performance computing, 7th generation with Graviton3 processors and high network bandwidth capabilities.'''
80952
80950
  C7GN = "C7GN"
80953
80951
  '''Compute optimized instances for high performance computing, 7th generation with Graviton3 processors and high network bandwidth capabilities.'''
80952
+ COMPUTE8_GRAVITON4_HIGH_NETWORK_BANDWIDTH = "COMPUTE8_GRAVITON4_HIGH_NETWORK_BANDWIDTH"
80953
+ '''Compute optimized instances for high performance computing, 8th generation with Graviton4 processors and high network bandwidth capabilities.'''
80954
+ C8GN = "C8GN"
80955
+ '''Compute optimized instances for high performance computing, 8th generation with Graviton4 processors and high network bandwidth capabilities.'''
80954
80956
  COMPUTE7_INTEL = "COMPUTE7_INTEL"
80955
80957
  '''Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation.'''
80956
80958
  C7I = "C7I"
@@ -105047,7 +105049,7 @@ def _typecheckingstub__f6fb1af1f639a354aff6bb978bcac42ab042448e257770c8bed7a4689
105047
105049
  instance_type_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.InstanceTypeSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
105048
105050
  no_remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
105049
105051
  remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
105050
- tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
105052
+ tag_specifications: typing.Optional[typing.Sequence[typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
105051
105053
  tenancy: typing.Optional[builtins.str] = None,
105052
105054
  total_target_capacity: typing.Optional[jsii.Number] = None,
105053
105055
  ) -> None:
@@ -105103,7 +105105,7 @@ def _typecheckingstub__6cfebbe0400b084370b4e45e01a83c61bb47ae01d37c14a2ac6591c47
105103
105105
  pass
105104
105106
 
105105
105107
  def _typecheckingstub__9be24701036c5abd754bc67058ec4d8c733250163e5a63577648325991d133e9(
105106
- value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCapacityReservationFleet.TagSpecificationProperty]]]],
105108
+ value: typing.Optional[typing.List[CfnCapacityReservationFleet.TagSpecificationProperty]],
105107
105109
  ) -> None:
105108
105110
  """Type checking stubs"""
105109
105111
  pass
@@ -105149,7 +105151,7 @@ def _typecheckingstub__43bd0a52cfe7402bf156151a3e760ed1bd133935bd29982a3798f854c
105149
105151
  instance_type_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.InstanceTypeSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
105150
105152
  no_remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
105151
105153
  remove_end_date: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
105152
- tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
105154
+ tag_specifications: typing.Optional[typing.Sequence[typing.Union[CfnCapacityReservationFleet.TagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
105153
105155
  tenancy: typing.Optional[builtins.str] = None,
105154
105156
  total_target_capacity: typing.Optional[jsii.Number] = None,
105155
105157
  ) -> None:
@@ -8846,7 +8846,9 @@ class CfnService(
8846
8846
  @builtins.property
8847
8847
  @jsii.member(jsii_name="attrServiceArn")
8848
8848
  def attr_service_arn(self) -> builtins.str:
8849
- '''Not currently supported in AWS CloudFormation .
8849
+ '''The ARN that identifies the service.
8850
+
8851
+ For more information about the ARN format, see `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids>`_ in the *Amazon ECS Developer Guide* .
8850
8852
 
8851
8853
  :cloudformationAttribute: ServiceArn
8852
8854
  '''
@@ -12885,7 +12887,7 @@ class CfnTaskDefinition(
12885
12887
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
12886
12888
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
12887
12889
  :param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
12888
- :param inference_accelerators: (deprecated) The Elastic Inference accelerators to use for the containers in the task.
12890
+ :param inference_accelerators:
12889
12891
  :param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
12890
12892
  :param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
12891
12893
  :param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
@@ -13073,8 +13075,7 @@ class CfnTaskDefinition(
13073
13075
  def inference_accelerators(
13074
13076
  self,
13075
13077
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.InferenceAcceleratorProperty"]]]]:
13076
- '''(deprecated) The Elastic Inference accelerators to use for the containers in the task.
13077
-
13078
+ '''
13078
13079
  :deprecated: this property has been deprecated
13079
13080
 
13080
13081
  :stability: deprecated
@@ -15613,12 +15614,9 @@ class CfnTaskDefinition(
15613
15614
  device_name: typing.Optional[builtins.str] = None,
15614
15615
  device_type: typing.Optional[builtins.str] = None,
15615
15616
  ) -> None:
15616
- '''Details on an Elastic Inference accelerator.
15617
-
15618
- For more information, see `Working with Amazon Elastic Inference on Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
15619
-
15620
- :param device_name: The Elastic Inference accelerator device name. The ``deviceName`` must also be referenced in a container definition as a `ResourceRequirement <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html>`_ .
15621
- :param device_type: The Elastic Inference accelerator type to use.
15617
+ '''
15618
+ :param device_name:
15619
+ :param device_type:
15622
15620
 
15623
15621
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html
15624
15622
  :exampleMetadata: fixture=_generated
@@ -15646,10 +15644,7 @@ class CfnTaskDefinition(
15646
15644
 
15647
15645
  @builtins.property
15648
15646
  def device_name(self) -> typing.Optional[builtins.str]:
15649
- '''The Elastic Inference accelerator device name.
15650
-
15651
- The ``deviceName`` must also be referenced in a container definition as a `ResourceRequirement <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html>`_ .
15652
-
15647
+ '''
15653
15648
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicename
15654
15649
  '''
15655
15650
  result = self._values.get("device_name")
@@ -15657,8 +15652,7 @@ class CfnTaskDefinition(
15657
15652
 
15658
15653
  @builtins.property
15659
15654
  def device_type(self) -> typing.Optional[builtins.str]:
15660
- '''The Elastic Inference accelerator type to use.
15661
-
15655
+ '''
15662
15656
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicetype
15663
15657
  '''
15664
15658
  result = self._values.get("device_type")
@@ -17739,7 +17733,7 @@ class CfnTaskDefinitionProps:
17739
17733
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
17740
17734
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
17741
17735
  :param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
17742
- :param inference_accelerators: (deprecated) The Elastic Inference accelerators to use for the containers in the task.
17736
+ :param inference_accelerators:
17743
17737
  :param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
17744
17738
  :param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
17745
17739
  :param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
@@ -18122,8 +18116,7 @@ class CfnTaskDefinitionProps:
18122
18116
  def inference_accelerators(
18123
18117
  self,
18124
18118
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTaskDefinition.InferenceAcceleratorProperty]]]]:
18125
- '''(deprecated) The Elastic Inference accelerators to use for the containers in the task.
18126
-
18119
+ '''
18127
18120
  :deprecated: this property has been deprecated
18128
18121
 
18129
18122
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-inferenceaccelerators
@@ -221,7 +221,7 @@ class CfnApplication(
221
221
  :param architecture: The CPU architecture of an application.
222
222
  :param auto_start_configuration: The configuration for an application to automatically start on job submission.
223
223
  :param auto_stop_configuration: The configuration for an application to automatically stop after a certain amount of time being idle.
224
- :param identity_center_configuration: The IAM IdentityCenter configuration for trusted-identity-propagation on this application. Supported with release labels emr-7.8.0 and above.
224
+ :param identity_center_configuration: A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
225
225
  :param image_configuration: The image configuration applied to all worker types.
226
226
  :param initial_capacity: The initial capacity of the application.
227
227
  :param interactive_configuration: The interactive configuration object that enables the interactive use cases for an application.
@@ -399,7 +399,7 @@ class CfnApplication(
399
399
  def identity_center_configuration(
400
400
  self,
401
401
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IdentityCenterConfigurationProperty"]]:
402
- '''The IAM IdentityCenter configuration for trusted-identity-propagation on this application.'''
402
+ '''A configuration specification to be used when provisioning an application.'''
403
403
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IdentityCenterConfigurationProperty"]], jsii.get(self, "identityCenterConfiguration"))
404
404
 
405
405
  @identity_center_configuration.setter
@@ -2201,7 +2201,7 @@ class CfnApplicationProps:
2201
2201
  :param architecture: The CPU architecture of an application.
2202
2202
  :param auto_start_configuration: The configuration for an application to automatically start on job submission.
2203
2203
  :param auto_stop_configuration: The configuration for an application to automatically stop after a certain amount of time being idle.
2204
- :param identity_center_configuration: The IAM IdentityCenter configuration for trusted-identity-propagation on this application. Supported with release labels emr-7.8.0 and above.
2204
+ :param identity_center_configuration: A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
2205
2205
  :param image_configuration: The image configuration applied to all worker types.
2206
2206
  :param initial_capacity: The initial capacity of the application.
2207
2207
  :param interactive_configuration: The interactive configuration object that enables the interactive use cases for an application.
@@ -2432,9 +2432,9 @@ class CfnApplicationProps:
2432
2432
  def identity_center_configuration(
2433
2433
  self,
2434
2434
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IdentityCenterConfigurationProperty]]:
2435
- '''The IAM IdentityCenter configuration for trusted-identity-propagation on this application.
2435
+ '''A configuration specification to be used when provisioning an application.
2436
2436
 
2437
- Supported with release labels emr-7.8.0 and above.
2437
+ A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
2438
2438
 
2439
2439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-identitycenterconfiguration
2440
2440
  '''
@@ -404,6 +404,7 @@ from ..aws_sqs import IQueue as _IQueue_7ed6f679
404
404
  name_mapping={
405
405
  "api_destination_arn": "apiDestinationArn",
406
406
  "connection": "connection",
407
+ "api_destination_arn_for_policy": "apiDestinationArnForPolicy",
407
408
  },
408
409
  )
409
410
  class ApiDestinationAttributes:
@@ -412,11 +413,13 @@ class ApiDestinationAttributes:
412
413
  *,
413
414
  api_destination_arn: builtins.str,
414
415
  connection: "IConnection",
416
+ api_destination_arn_for_policy: typing.Optional[builtins.str] = None,
415
417
  ) -> None:
416
418
  '''The properties to import an existing Api Destination.
417
419
 
418
420
  :param api_destination_arn: The ARN of the Api Destination.
419
421
  :param connection: The Connection to associate with the Api Destination.
422
+ :param api_destination_arn_for_policy: The Amazon Resource Name (ARN) of an API destination in resource format. Default: undefined - Imported API destination does not have ARN in resource format
420
423
 
421
424
  :exampleMetadata: infused
422
425
 
@@ -424,8 +427,13 @@ class ApiDestinationAttributes:
424
427
 
425
428
  connection = events.Connection.from_event_bus_arn(self, "Connection", "arn:aws:events:us-east-1:123456789012:event-bus/EventBusName", "arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-f3gDy9")
426
429
 
427
- api_destination_arn = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName"
428
- destination = events.ApiDestination.from_api_destination_attributes(self, "Destination", api_destination_arn=api_destination_arn, connection=connection)
430
+ api_destination_arn = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName/11111111-1111-1111-1111-111111111111"
431
+ api_destination_arn_for_policy = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName"
432
+ destination = events.ApiDestination.from_api_destination_attributes(self, "Destination",
433
+ api_destination_arn=api_destination_arn,
434
+ connection=connection,
435
+ api_destination_arn_for_policy=api_destination_arn_for_policy
436
+ )
429
437
 
430
438
  rule = events.Rule(self, "OtherRule",
431
439
  schedule=events.Schedule.rate(Duration.minutes(10)),
@@ -436,10 +444,13 @@ class ApiDestinationAttributes:
436
444
  type_hints = typing.get_type_hints(_typecheckingstub__803612bfb0a8da2a8e0ca427792d066e933032d6f722156869f61949617c8303)
437
445
  check_type(argname="argument api_destination_arn", value=api_destination_arn, expected_type=type_hints["api_destination_arn"])
438
446
  check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
447
+ check_type(argname="argument api_destination_arn_for_policy", value=api_destination_arn_for_policy, expected_type=type_hints["api_destination_arn_for_policy"])
439
448
  self._values: typing.Dict[builtins.str, typing.Any] = {
440
449
  "api_destination_arn": api_destination_arn,
441
450
  "connection": connection,
442
451
  }
452
+ if api_destination_arn_for_policy is not None:
453
+ self._values["api_destination_arn_for_policy"] = api_destination_arn_for_policy
443
454
 
444
455
  @builtins.property
445
456
  def api_destination_arn(self) -> builtins.str:
@@ -455,6 +466,15 @@ class ApiDestinationAttributes:
455
466
  assert result is not None, "Required property 'connection' is missing"
456
467
  return typing.cast("IConnection", result)
457
468
 
469
+ @builtins.property
470
+ def api_destination_arn_for_policy(self) -> typing.Optional[builtins.str]:
471
+ '''The Amazon Resource Name (ARN) of an API destination in resource format.
472
+
473
+ :default: undefined - Imported API destination does not have ARN in resource format
474
+ '''
475
+ result = self._values.get("api_destination_arn_for_policy")
476
+ return typing.cast(typing.Optional[builtins.str], result)
477
+
458
478
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
459
479
  return isinstance(rhs, self.__class__) and rhs._values == self._values
460
480
 
@@ -9477,6 +9497,16 @@ class IApiDestination(_IResource_c80c4260, typing_extensions.Protocol):
9477
9497
  '''
9478
9498
  ...
9479
9499
 
9500
+ @builtins.property
9501
+ @jsii.member(jsii_name="apiDestinationArnForPolicy")
9502
+ def api_destination_arn_for_policy(self) -> typing.Optional[builtins.str]:
9503
+ '''The Amazon Resource Name (ARN) of an API destination in resource format, so it can be used in the Resource element of IAM permission policy statements.
9504
+
9505
+ :see: https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoneventbridge.html#amazoneventbridge-resources-for-iam-policies
9506
+ :attribute: true
9507
+ '''
9508
+ ...
9509
+
9480
9510
 
9481
9511
  class _IApiDestinationProxy(
9482
9512
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
@@ -9503,6 +9533,16 @@ class _IApiDestinationProxy(
9503
9533
  '''
9504
9534
  return typing.cast(builtins.str, jsii.get(self, "apiDestinationName"))
9505
9535
 
9536
+ @builtins.property
9537
+ @jsii.member(jsii_name="apiDestinationArnForPolicy")
9538
+ def api_destination_arn_for_policy(self) -> typing.Optional[builtins.str]:
9539
+ '''The Amazon Resource Name (ARN) of an API destination in resource format, so it can be used in the Resource element of IAM permission policy statements.
9540
+
9541
+ :see: https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoneventbridge.html#amazoneventbridge-resources-for-iam-policies
9542
+ :attribute: true
9543
+ '''
9544
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "apiDestinationArnForPolicy"))
9545
+
9506
9546
  # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
9507
9547
  typing.cast(typing.Any, IApiDestination).__jsii_proxy_class__ = lambda : _IApiDestinationProxy
9508
9548
 
@@ -11758,6 +11798,7 @@ class ApiDestination(
11758
11798
  *,
11759
11799
  api_destination_arn: builtins.str,
11760
11800
  connection: IConnection,
11801
+ api_destination_arn_for_policy: typing.Optional[builtins.str] = None,
11761
11802
  ) -> "ApiDestination":
11762
11803
  '''Create an Api Destination construct from an existing Api Destination ARN.
11763
11804
 
@@ -11765,13 +11806,16 @@ class ApiDestination(
11765
11806
  :param id: The construct's id.
11766
11807
  :param api_destination_arn: The ARN of the Api Destination.
11767
11808
  :param connection: The Connection to associate with the Api Destination.
11809
+ :param api_destination_arn_for_policy: The Amazon Resource Name (ARN) of an API destination in resource format. Default: undefined - Imported API destination does not have ARN in resource format
11768
11810
  '''
11769
11811
  if __debug__:
11770
11812
  type_hints = typing.get_type_hints(_typecheckingstub__e49376311071a64effa3b8c1dd1bd3ee0e1b2ef0514b800dd0053110fa18cb55)
11771
11813
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11772
11814
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11773
11815
  attrs = ApiDestinationAttributes(
11774
- api_destination_arn=api_destination_arn, connection=connection
11816
+ api_destination_arn=api_destination_arn,
11817
+ connection=connection,
11818
+ api_destination_arn_for_policy=api_destination_arn_for_policy,
11775
11819
  )
11776
11820
 
11777
11821
  return typing.cast("ApiDestination", jsii.sinvoke(cls, "fromApiDestinationAttributes", [scope, id, attrs]))
@@ -11806,6 +11850,15 @@ class ApiDestination(
11806
11850
  '''The Connection to associate with Api Destination.'''
11807
11851
  return typing.cast(IConnection, jsii.get(self, "connection"))
11808
11852
 
11853
+ @builtins.property
11854
+ @jsii.member(jsii_name="apiDestinationArnForPolicy")
11855
+ def api_destination_arn_for_policy(self) -> typing.Optional[builtins.str]:
11856
+ '''The Amazon Resource Name (ARN) of an API destination in resource format.
11857
+
11858
+ :attribute: true
11859
+ '''
11860
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "apiDestinationArnForPolicy"))
11861
+
11809
11862
 
11810
11863
  @jsii.data_type(
11811
11864
  jsii_type="aws-cdk-lib.aws_events.ArchiveProps",
@@ -12401,6 +12454,7 @@ def _typecheckingstub__803612bfb0a8da2a8e0ca427792d066e933032d6f722156869f619496
12401
12454
  *,
12402
12455
  api_destination_arn: builtins.str,
12403
12456
  connection: IConnection,
12457
+ api_destination_arn_for_policy: typing.Optional[builtins.str] = None,
12404
12458
  ) -> None:
12405
12459
  """Type checking stubs"""
12406
12460
  pass
@@ -13801,6 +13855,7 @@ def _typecheckingstub__e49376311071a64effa3b8c1dd1bd3ee0e1b2ef0514b800dd0053110f
13801
13855
  *,
13802
13856
  api_destination_arn: builtins.str,
13803
13857
  connection: IConnection,
13858
+ api_destination_arn_for_policy: typing.Optional[builtins.str] = None,
13804
13859
  ) -> None:
13805
13860
  """Type checking stubs"""
13806
13861
  pass
@@ -370,8 +370,13 @@ to create additional rules:
370
370
  ```python
371
371
  connection = events.Connection.from_event_bus_arn(self, "Connection", "arn:aws:events:us-east-1:123456789012:event-bus/EventBusName", "arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-f3gDy9")
372
372
 
373
- api_destination_arn = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName"
374
- destination = events.ApiDestination.from_api_destination_attributes(self, "Destination", api_destination_arn=api_destination_arn, connection=connection)
373
+ api_destination_arn = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName/11111111-1111-1111-1111-111111111111"
374
+ api_destination_arn_for_policy = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName"
375
+ destination = events.ApiDestination.from_api_destination_attributes(self, "Destination",
376
+ api_destination_arn=api_destination_arn,
377
+ connection=connection,
378
+ api_destination_arn_for_policy=api_destination_arn_for_policy
379
+ )
375
380
 
376
381
  rule = events.Rule(self, "OtherRule",
377
382
  schedule=events.Schedule.rate(Duration.minutes(10)),
@@ -211,7 +211,7 @@ class CfnEnvironment(
211
211
  :param scope: Scope in which this resource is defined.
212
212
  :param id: Construct identifier for this resource (unique in its scope).
213
213
  :param connectivity_info: The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.
214
- :param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
214
+ :param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.
215
215
  :param service_access_subnet_id: The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.
216
216
  :param site_id: The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.
217
217
  :param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance.
@@ -1237,8 +1237,8 @@ class CfnEnvironment(
1237
1237
 
1238
1238
  The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
1239
1239
 
1240
- :param solution_key: The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server.
1241
- :param vsan_key: The VSAN license key. This license unlocks vSAN features.
1240
+ :param solution_key: The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores.
1241
+ :param vsan_key: The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity.
1242
1242
 
1243
1243
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-licenseinfo.html
1244
1244
  :exampleMetadata: fixture=_generated
@@ -1267,7 +1267,7 @@ class CfnEnvironment(
1267
1267
  def solution_key(self) -> builtins.str:
1268
1268
  '''The VCF solution key.
1269
1269
 
1270
- This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server.
1270
+ This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores.
1271
1271
 
1272
1272
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-licenseinfo.html#cfn-evs-environment-licenseinfo-solutionkey
1273
1273
  '''
@@ -1279,7 +1279,7 @@ class CfnEnvironment(
1279
1279
  def vsan_key(self) -> builtins.str:
1280
1280
  '''The VSAN license key.
1281
1281
 
1282
- This license unlocks vSAN features.
1282
+ This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity.
1283
1283
 
1284
1284
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-licenseinfo.html#cfn-evs-environment-licenseinfo-vsankey
1285
1285
  '''
@@ -1647,7 +1647,7 @@ class CfnEnvironmentProps:
1647
1647
  '''Properties for defining a ``CfnEnvironment``.
1648
1648
 
1649
1649
  :param connectivity_info: The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.
1650
- :param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
1650
+ :param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.
1651
1651
  :param service_access_subnet_id: The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.
1652
1652
  :param site_id: The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.
1653
1653
  :param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance.
@@ -1807,7 +1807,7 @@ class CfnEnvironmentProps:
1807
1807
  ) -> typing.Union[_IResolvable_da3f097b, CfnEnvironment.LicenseInfoProperty]:
1808
1808
  '''The license information that Amazon EVS requires to create an environment.
1809
1809
 
1810
- Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
1810
+ Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.
1811
1811
 
1812
1812
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html#cfn-evs-environment-licenseinfo
1813
1813
  '''