aws-cdk-lib 2.181.0__py3-none-any.whl → 2.182.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 (49) hide show
  1. aws_cdk/__init__.py +292 -8
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.0.jsii.tgz → aws-cdk-lib@2.182.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +629 -11
  10. aws_cdk/aws_bedrock/__init__.py +204 -0
  11. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  12. aws_cdk/aws_cloudformation/__init__.py +284 -2
  13. aws_cdk/aws_cloudfront/__init__.py +1 -0
  14. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  15. aws_cdk/aws_datazone/__init__.py +82 -0
  16. aws_cdk/aws_ec2/__init__.py +32 -12
  17. aws_cdk/aws_ecr/__init__.py +10 -4
  18. aws_cdk/aws_ecs/__init__.py +58 -9
  19. aws_cdk/aws_eks/__init__.py +32 -3
  20. aws_cdk/aws_fsx/__init__.py +2 -0
  21. aws_cdk/aws_guardduty/__init__.py +38 -26
  22. aws_cdk/aws_iam/__init__.py +5 -2
  23. aws_cdk/aws_inspector/__init__.py +176 -0
  24. aws_cdk/aws_iotsitewise/__init__.py +2 -3
  25. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  26. aws_cdk/aws_lambda/__init__.py +8 -0
  27. aws_cdk/aws_logs/__init__.py +2 -0
  28. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  29. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  30. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  31. aws_cdk/aws_pipes/__init__.py +6 -2
  32. aws_cdk/aws_quicksight/__init__.py +225 -451
  33. aws_cdk/aws_rds/__init__.py +50 -13
  34. aws_cdk/aws_s3/__init__.py +8 -0
  35. aws_cdk/aws_sagemaker/__init__.py +68 -13
  36. aws_cdk/aws_sns/__init__.py +76 -1
  37. aws_cdk/aws_vpclattice/__init__.py +144 -9
  38. aws_cdk/aws_wafv2/__init__.py +702 -0
  39. aws_cdk/aws_wisdom/__init__.py +3 -110
  40. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  41. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  42. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  43. aws_cdk/cx_api/__init__.py +2 -1
  44. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/METADATA +2 -2
  45. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/top_level.txt +0 -0
@@ -2798,6 +2798,19 @@ class ITopic(
2798
2798
  '''
2799
2799
  ...
2800
2800
 
2801
+ @builtins.property
2802
+ @jsii.member(jsii_name="masterKey")
2803
+ def master_key(self) -> typing.Optional[_IKey_5f11635f]:
2804
+ '''A KMS Key, either managed by this CDK app, or imported.
2805
+
2806
+ This property applies only to server-side encryption.
2807
+
2808
+ :default: None
2809
+
2810
+ :see: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
2811
+ '''
2812
+ ...
2813
+
2801
2814
  @jsii.member(jsii_name="addSubscription")
2802
2815
  def add_subscription(self, subscription: "ITopicSubscription") -> "Subscription":
2803
2816
  '''Subscribe some endpoint to this topic.
@@ -3204,6 +3217,19 @@ class _ITopicProxy(
3204
3217
  '''
3205
3218
  return typing.cast(builtins.str, jsii.get(self, "topicName"))
3206
3219
 
3220
+ @builtins.property
3221
+ @jsii.member(jsii_name="masterKey")
3222
+ def master_key(self) -> typing.Optional[_IKey_5f11635f]:
3223
+ '''A KMS Key, either managed by this CDK app, or imported.
3224
+
3225
+ This property applies only to server-side encryption.
3226
+
3227
+ :default: None
3228
+
3229
+ :see: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
3230
+ '''
3231
+ return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
3232
+
3207
3233
  @jsii.member(jsii_name="addSubscription")
3208
3234
  def add_subscription(self, subscription: "ITopicSubscription") -> "Subscription":
3209
3235
  '''Subscribe some endpoint to this topic.
@@ -5058,6 +5084,7 @@ class ThrottlePolicy:
5058
5084
  name_mapping={
5059
5085
  "topic_arn": "topicArn",
5060
5086
  "content_based_deduplication": "contentBasedDeduplication",
5087
+ "key_arn": "keyArn",
5061
5088
  },
5062
5089
  )
5063
5090
  class TopicAttributes:
@@ -5066,11 +5093,13 @@ class TopicAttributes:
5066
5093
  *,
5067
5094
  topic_arn: builtins.str,
5068
5095
  content_based_deduplication: typing.Optional[builtins.bool] = None,
5096
+ key_arn: typing.Optional[builtins.str] = None,
5069
5097
  ) -> None:
5070
5098
  '''Represents an SNS topic defined outside of this stack.
5071
5099
 
5072
5100
  :param topic_arn: The ARN of the SNS topic.
5073
5101
  :param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
5102
+ :param key_arn: KMS encryption key, if this topic is server-side encrypted by a KMS key. Default: - None
5074
5103
 
5075
5104
  :exampleMetadata: fixture=_generated
5076
5105
 
@@ -5084,18 +5113,22 @@ class TopicAttributes:
5084
5113
  topic_arn="topicArn",
5085
5114
 
5086
5115
  # the properties below are optional
5087
- content_based_deduplication=False
5116
+ content_based_deduplication=False,
5117
+ key_arn="keyArn"
5088
5118
  )
5089
5119
  '''
5090
5120
  if __debug__:
5091
5121
  type_hints = typing.get_type_hints(_typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067bff9642a)
5092
5122
  check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
5093
5123
  check_type(argname="argument content_based_deduplication", value=content_based_deduplication, expected_type=type_hints["content_based_deduplication"])
5124
+ check_type(argname="argument key_arn", value=key_arn, expected_type=type_hints["key_arn"])
5094
5125
  self._values: typing.Dict[builtins.str, typing.Any] = {
5095
5126
  "topic_arn": topic_arn,
5096
5127
  }
5097
5128
  if content_based_deduplication is not None:
5098
5129
  self._values["content_based_deduplication"] = content_based_deduplication
5130
+ if key_arn is not None:
5131
+ self._values["key_arn"] = key_arn
5099
5132
 
5100
5133
  @builtins.property
5101
5134
  def topic_arn(self) -> builtins.str:
@@ -5115,6 +5148,15 @@ class TopicAttributes:
5115
5148
  result = self._values.get("content_based_deduplication")
5116
5149
  return typing.cast(typing.Optional[builtins.bool], result)
5117
5150
 
5151
+ @builtins.property
5152
+ def key_arn(self) -> typing.Optional[builtins.str]:
5153
+ '''KMS encryption key, if this topic is server-side encrypted by a KMS key.
5154
+
5155
+ :default: - None
5156
+ '''
5157
+ result = self._values.get("key_arn")
5158
+ return typing.cast(typing.Optional[builtins.str], result)
5159
+
5118
5160
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5119
5161
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5120
5162
 
@@ -5746,6 +5788,16 @@ class TopicBase(
5746
5788
  '''The name of the topic.'''
5747
5789
  ...
5748
5790
 
5791
+ @builtins.property
5792
+ @jsii.member(jsii_name="masterKey")
5793
+ @abc.abstractmethod
5794
+ def master_key(self) -> typing.Optional[_IKey_5f11635f]:
5795
+ '''A KMS Key, either managed by this CDK app, or imported.
5796
+
5797
+ This property applies only to server-side encryption.
5798
+ '''
5799
+ ...
5800
+
5749
5801
  @builtins.property
5750
5802
  @jsii.member(jsii_name="enforceSSL")
5751
5803
  def _enforce_ssl(self) -> typing.Optional[builtins.bool]:
@@ -5800,6 +5852,15 @@ class _TopicBaseProxy(
5800
5852
  '''The name of the topic.'''
5801
5853
  return typing.cast(builtins.str, jsii.get(self, "topicName"))
5802
5854
 
5855
+ @builtins.property
5856
+ @jsii.member(jsii_name="masterKey")
5857
+ def master_key(self) -> typing.Optional[_IKey_5f11635f]:
5858
+ '''A KMS Key, either managed by this CDK app, or imported.
5859
+
5860
+ This property applies only to server-side encryption.
5861
+ '''
5862
+ return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
5863
+
5803
5864
  # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
5804
5865
  typing.cast(typing.Any, TopicBase).__jsii_proxy_class__ = lambda : _TopicBaseProxy
5805
5866
 
@@ -6673,6 +6734,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
6673
6734
  *,
6674
6735
  topic_arn: builtins.str,
6675
6736
  content_based_deduplication: typing.Optional[builtins.bool] = None,
6737
+ key_arn: typing.Optional[builtins.str] = None,
6676
6738
  ) -> ITopic:
6677
6739
  '''Import an existing SNS topic provided a topic attributes.
6678
6740
 
@@ -6680,6 +6742,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
6680
6742
  :param id: The construct's name.
6681
6743
  :param topic_arn: The ARN of the SNS topic.
6682
6744
  :param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
6745
+ :param key_arn: KMS encryption key, if this topic is server-side encrypted by a KMS key. Default: - None
6683
6746
  '''
6684
6747
  if __debug__:
6685
6748
  type_hints = typing.get_type_hints(_typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473f6131f6)
@@ -6688,6 +6751,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
6688
6751
  attrs = TopicAttributes(
6689
6752
  topic_arn=topic_arn,
6690
6753
  content_based_deduplication=content_based_deduplication,
6754
+ key_arn=key_arn,
6691
6755
  )
6692
6756
 
6693
6757
  return typing.cast(ITopic, jsii.sinvoke(cls, "fromTopicAttributes", [scope, id, attrs]))
@@ -6753,6 +6817,15 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
6753
6817
  '''The name of the topic.'''
6754
6818
  return typing.cast(builtins.str, jsii.get(self, "topicName"))
6755
6819
 
6820
+ @builtins.property
6821
+ @jsii.member(jsii_name="masterKey")
6822
+ def master_key(self) -> typing.Optional[_IKey_5f11635f]:
6823
+ '''A KMS Key, either managed by this CDK app, or imported.
6824
+
6825
+ This property applies only to server-side encryption.
6826
+ '''
6827
+ return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
6828
+
6756
6829
 
6757
6830
  __all__ = [
6758
6831
  "BackoffFunction",
@@ -7344,6 +7417,7 @@ def _typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067b
7344
7417
  *,
7345
7418
  topic_arn: builtins.str,
7346
7419
  content_based_deduplication: typing.Optional[builtins.bool] = None,
7420
+ key_arn: typing.Optional[builtins.str] = None,
7347
7421
  ) -> None:
7348
7422
  """Type checking stubs"""
7349
7423
  pass
@@ -7513,6 +7587,7 @@ def _typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473
7513
7587
  *,
7514
7588
  topic_arn: builtins.str,
7515
7589
  content_based_deduplication: typing.Optional[builtins.bool] = None,
7590
+ key_arn: typing.Optional[builtins.str] = None,
7516
7591
  ) -> None:
7517
7592
  """Type checking stubs"""
7518
7593
  pass
@@ -1301,6 +1301,11 @@ class CfnResourceConfiguration(
1301
1301
  protocol_type="protocolType",
1302
1302
  resource_configuration_auth_type="resourceConfigurationAuthType",
1303
1303
  resource_configuration_definition=vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1304
+ arn_resource="arnResource",
1305
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1306
+ domain_name="domainName",
1307
+ ip_address_type="ipAddressType"
1308
+ ),
1304
1309
  ip_resource="ipResource"
1305
1310
  ),
1306
1311
  resource_configuration_group_id="resourceConfigurationGroupId",
@@ -1570,19 +1575,102 @@ class CfnResourceConfiguration(
1570
1575
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1571
1576
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1572
1577
 
1578
+ @jsii.data_type(
1579
+ jsii_type="aws-cdk-lib.aws_vpclattice.CfnResourceConfiguration.DnsResourceProperty",
1580
+ jsii_struct_bases=[],
1581
+ name_mapping={"domain_name": "domainName", "ip_address_type": "ipAddressType"},
1582
+ )
1583
+ class DnsResourceProperty:
1584
+ def __init__(
1585
+ self,
1586
+ *,
1587
+ domain_name: builtins.str,
1588
+ ip_address_type: builtins.str,
1589
+ ) -> None:
1590
+ '''The domain name of the resource configuration.
1591
+
1592
+ :param domain_name: The domain name of the resource configuration.
1593
+ :param ip_address_type: The IP address type for the resource configuration.
1594
+
1595
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html
1596
+ :exampleMetadata: fixture=_generated
1597
+
1598
+ Example::
1599
+
1600
+ # The code below shows an example of how to instantiate this type.
1601
+ # The values are placeholders you should change.
1602
+ from aws_cdk import aws_vpclattice as vpclattice
1603
+
1604
+ dns_resource_property = vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1605
+ domain_name="domainName",
1606
+ ip_address_type="ipAddressType"
1607
+ )
1608
+ '''
1609
+ if __debug__:
1610
+ type_hints = typing.get_type_hints(_typecheckingstub__212741d5ebd626df186794616e24cc8f6fcb02d54ad7417694e6a4646f6c553c)
1611
+ check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
1612
+ check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
1613
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1614
+ "domain_name": domain_name,
1615
+ "ip_address_type": ip_address_type,
1616
+ }
1617
+
1618
+ @builtins.property
1619
+ def domain_name(self) -> builtins.str:
1620
+ '''The domain name of the resource configuration.
1621
+
1622
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-domainname
1623
+ '''
1624
+ result = self._values.get("domain_name")
1625
+ assert result is not None, "Required property 'domain_name' is missing"
1626
+ return typing.cast(builtins.str, result)
1627
+
1628
+ @builtins.property
1629
+ def ip_address_type(self) -> builtins.str:
1630
+ '''The IP address type for the resource configuration.
1631
+
1632
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-ipaddresstype
1633
+ '''
1634
+ result = self._values.get("ip_address_type")
1635
+ assert result is not None, "Required property 'ip_address_type' is missing"
1636
+ return typing.cast(builtins.str, result)
1637
+
1638
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1639
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1640
+
1641
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1642
+ return not (rhs == self)
1643
+
1644
+ def __repr__(self) -> str:
1645
+ return "DnsResourceProperty(%s)" % ", ".join(
1646
+ k + "=" + repr(v) for k, v in self._values.items()
1647
+ )
1648
+
1573
1649
  @jsii.data_type(
1574
1650
  jsii_type="aws-cdk-lib.aws_vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty",
1575
1651
  jsii_struct_bases=[],
1576
- name_mapping={"ip_resource": "ipResource"},
1652
+ name_mapping={
1653
+ "arn_resource": "arnResource",
1654
+ "dns_resource": "dnsResource",
1655
+ "ip_resource": "ipResource",
1656
+ },
1577
1657
  )
1578
1658
  class ResourceConfigurationDefinitionProperty:
1579
- def __init__(self, *, ip_resource: builtins.str) -> None:
1659
+ def __init__(
1660
+ self,
1661
+ *,
1662
+ arn_resource: typing.Optional[builtins.str] = None,
1663
+ dns_resource: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnResourceConfiguration.DnsResourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1664
+ ip_resource: typing.Optional[builtins.str] = None,
1665
+ ) -> None:
1580
1666
  '''Identifies the resource configuration in one of the following ways:.
1581
1667
 
1582
1668
  - *Amazon Resource Name (ARN)* - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
1583
1669
  - *Domain name* - Any domain name that is publicly resolvable.
1584
1670
  - *IP address* - For IPv4 and IPv6, only IP addresses in the VPC are supported.
1585
1671
 
1672
+ :param arn_resource: The Amazon Resource Name (ARN) of the resource configuration. For the ARN syntax and format, see `ARN format <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html#arns-syntax>`_ in the *AWS Identity and Access Management user guide* .
1673
+ :param dns_resource: The DNS name of the resource configuration.
1586
1674
  :param ip_resource: The IP address of the resource configuration.
1587
1675
 
1588
1676
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html
@@ -1595,25 +1683,57 @@ class CfnResourceConfiguration(
1595
1683
  from aws_cdk import aws_vpclattice as vpclattice
1596
1684
 
1597
1685
  resource_configuration_definition_property = vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1686
+ arn_resource="arnResource",
1687
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1688
+ domain_name="domainName",
1689
+ ip_address_type="ipAddressType"
1690
+ ),
1598
1691
  ip_resource="ipResource"
1599
1692
  )
1600
1693
  '''
1601
1694
  if __debug__:
1602
1695
  type_hints = typing.get_type_hints(_typecheckingstub__9121263d95571010bd6dc19e1c8287b50bf9733de5f1bdf0bc8a14a7f1387be0)
1696
+ check_type(argname="argument arn_resource", value=arn_resource, expected_type=type_hints["arn_resource"])
1697
+ check_type(argname="argument dns_resource", value=dns_resource, expected_type=type_hints["dns_resource"])
1603
1698
  check_type(argname="argument ip_resource", value=ip_resource, expected_type=type_hints["ip_resource"])
1604
- self._values: typing.Dict[builtins.str, typing.Any] = {
1605
- "ip_resource": ip_resource,
1606
- }
1699
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1700
+ if arn_resource is not None:
1701
+ self._values["arn_resource"] = arn_resource
1702
+ if dns_resource is not None:
1703
+ self._values["dns_resource"] = dns_resource
1704
+ if ip_resource is not None:
1705
+ self._values["ip_resource"] = ip_resource
1607
1706
 
1608
1707
  @builtins.property
1609
- def ip_resource(self) -> builtins.str:
1708
+ def arn_resource(self) -> typing.Optional[builtins.str]:
1709
+ '''The Amazon Resource Name (ARN) of the resource configuration.
1710
+
1711
+ For the ARN syntax and format, see `ARN format <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html#arns-syntax>`_ in the *AWS Identity and Access Management user guide* .
1712
+
1713
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-arnresource
1714
+ '''
1715
+ result = self._values.get("arn_resource")
1716
+ return typing.cast(typing.Optional[builtins.str], result)
1717
+
1718
+ @builtins.property
1719
+ def dns_resource(
1720
+ self,
1721
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResourceConfiguration.DnsResourceProperty"]]:
1722
+ '''The DNS name of the resource configuration.
1723
+
1724
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-dnsresource
1725
+ '''
1726
+ result = self._values.get("dns_resource")
1727
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResourceConfiguration.DnsResourceProperty"]], result)
1728
+
1729
+ @builtins.property
1730
+ def ip_resource(self) -> typing.Optional[builtins.str]:
1610
1731
  '''The IP address of the resource configuration.
1611
1732
 
1612
1733
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-ipresource
1613
1734
  '''
1614
1735
  result = self._values.get("ip_resource")
1615
- assert result is not None, "Required property 'ip_resource' is missing"
1616
- return typing.cast(builtins.str, result)
1736
+ return typing.cast(typing.Optional[builtins.str], result)
1617
1737
 
1618
1738
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1619
1739
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1687,6 +1807,11 @@ class CfnResourceConfigurationProps:
1687
1807
  protocol_type="protocolType",
1688
1808
  resource_configuration_auth_type="resourceConfigurationAuthType",
1689
1809
  resource_configuration_definition=vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1810
+ arn_resource="arnResource",
1811
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1812
+ domain_name="domainName",
1813
+ ip_address_type="ipAddressType"
1814
+ ),
1690
1815
  ip_resource="ipResource"
1691
1816
  ),
1692
1817
  resource_configuration_group_id="resourceConfigurationGroupId",
@@ -6890,9 +7015,19 @@ def _typecheckingstub__4f5f1b5a9415ccd7fa5ca852ef4adaa16d7ede062f9c3e53659f7d704
6890
7015
  """Type checking stubs"""
6891
7016
  pass
6892
7017
 
7018
+ def _typecheckingstub__212741d5ebd626df186794616e24cc8f6fcb02d54ad7417694e6a4646f6c553c(
7019
+ *,
7020
+ domain_name: builtins.str,
7021
+ ip_address_type: builtins.str,
7022
+ ) -> None:
7023
+ """Type checking stubs"""
7024
+ pass
7025
+
6893
7026
  def _typecheckingstub__9121263d95571010bd6dc19e1c8287b50bf9733de5f1bdf0bc8a14a7f1387be0(
6894
7027
  *,
6895
- ip_resource: builtins.str,
7028
+ arn_resource: typing.Optional[builtins.str] = None,
7029
+ dns_resource: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnResourceConfiguration.DnsResourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7030
+ ip_resource: typing.Optional[builtins.str] = None,
6896
7031
  ) -> None:
6897
7032
  """Type checking stubs"""
6898
7033
  pass