aws-cdk-lib 2.181.1__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.1.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.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/METADATA +2 -2
  45. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/top_level.txt +0 -0
@@ -138,9 +138,9 @@ class CfnChannel(
138
138
  :param channel_group_name: The name of the channel group associated with the channel configuration.
139
139
  :param channel_name: The name of the channel.
140
140
  :param description: The description of the channel.
141
- :param input_switch_configuration:
141
+ :param input_switch_configuration: The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
142
142
  :param input_type: The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: - ``HLS`` - The HLS streaming specification (which defines M3U8 manifests and TS segments). - ``CMAF`` - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
143
- :param output_header_configuration:
143
+ :param output_header_configuration: The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
144
144
  :param tags: The tags associated with the channel.
145
145
  '''
146
146
  if __debug__:
@@ -288,6 +288,7 @@ class CfnChannel(
288
288
  def input_switch_configuration(
289
289
  self,
290
290
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.InputSwitchConfigurationProperty"]]:
291
+ '''The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.'''
291
292
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.InputSwitchConfigurationProperty"]], jsii.get(self, "inputSwitchConfiguration"))
292
293
 
293
294
  @input_switch_configuration.setter
@@ -318,6 +319,7 @@ class CfnChannel(
318
319
  def output_header_configuration(
319
320
  self,
320
321
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.OutputHeaderConfigurationProperty"]]:
322
+ '''The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.'''
321
323
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.OutputHeaderConfigurationProperty"]], jsii.get(self, "outputHeaderConfiguration"))
322
324
 
323
325
  @output_header_configuration.setter
@@ -424,8 +426,9 @@ class CfnChannel(
424
426
  *,
425
427
  mqcs_input_switching: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
426
428
  ) -> None:
427
- '''
428
- :param mqcs_input_switching: Default is true. This setting is valid only when InputType is CMAF.
429
+ '''The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
430
+
431
+ :param mqcs_input_switching: When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when ``InputType`` is ``CMAF`` .
429
432
 
430
433
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html
431
434
  :exampleMetadata: fixture=_generated
@@ -451,8 +454,9 @@ class CfnChannel(
451
454
  def mqcs_input_switching(
452
455
  self,
453
456
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
454
- '''
455
- Default is true. This setting is valid only when InputType is CMAF.
457
+ '''When true, AWS Elemental MediaPackage performs input switching based on the MQCS.
458
+
459
+ Default is true. This setting is valid only when ``InputType`` is ``CMAF`` .
456
460
 
457
461
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html#cfn-mediapackagev2-channel-inputswitchconfiguration-mqcsinputswitching
458
462
  '''
@@ -481,8 +485,9 @@ class CfnChannel(
481
485
  *,
482
486
  publish_mqcs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
483
487
  ) -> None:
484
- '''
485
- :param publish_mqcs: This setting is valid only when InputType is CMAF.
488
+ '''The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
489
+
490
+ :param publish_mqcs: When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN. This setting is valid only when ``InputType`` is ``CMAF`` .
486
491
 
487
492
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html
488
493
  :exampleMetadata: fixture=_generated
@@ -508,8 +513,9 @@ class CfnChannel(
508
513
  def publish_mqcs(
509
514
  self,
510
515
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
511
- '''
512
- This setting is valid only when InputType is CMAF.
516
+ '''When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN.
517
+
518
+ This setting is valid only when ``InputType`` is ``CMAF`` .
513
519
 
514
520
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html#cfn-mediapackagev2-channel-outputheaderconfiguration-publishmqcs
515
521
  '''
@@ -1050,9 +1056,9 @@ class CfnChannelProps:
1050
1056
  :param channel_group_name: The name of the channel group associated with the channel configuration.
1051
1057
  :param channel_name: The name of the channel.
1052
1058
  :param description: The description of the channel.
1053
- :param input_switch_configuration:
1059
+ :param input_switch_configuration: The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
1054
1060
  :param input_type: The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: - ``HLS`` - The HLS streaming specification (which defines M3U8 manifests and TS segments). - ``CMAF`` - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
1055
- :param output_header_configuration:
1061
+ :param output_header_configuration: The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
1056
1062
  :param tags: The tags associated with the channel.
1057
1063
 
1058
1064
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html
@@ -1140,7 +1146,8 @@ class CfnChannelProps:
1140
1146
  def input_switch_configuration(
1141
1147
  self,
1142
1148
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.InputSwitchConfigurationProperty]]:
1143
- '''
1149
+ '''The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
1150
+
1144
1151
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-inputswitchconfiguration
1145
1152
  '''
1146
1153
  result = self._values.get("input_switch_configuration")
@@ -1166,7 +1173,8 @@ class CfnChannelProps:
1166
1173
  def output_header_configuration(
1167
1174
  self,
1168
1175
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.OutputHeaderConfigurationProperty]]:
1169
- '''
1176
+ '''The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
1177
+
1170
1178
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-outputheaderconfiguration
1171
1179
  '''
1172
1180
  result = self._values.get("output_header_configuration")
@@ -524,6 +524,32 @@ domain = Domain(self, "Domain",
524
524
  ip_address_type=IpAddressType.DUAL_STACK
525
525
  )
526
526
  ```
527
+
528
+ ## Using Coordinator node with NodeOptions
529
+
530
+ You can specify coordinator as a valid value for node type.
531
+
532
+ > Visit [Dedicated coordinator nodes in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/Dedicated-coordinator-nodes.html) for more details.
533
+
534
+ ```python
535
+ import aws_cdk.aws_opensearchservice as opensearch
536
+
537
+
538
+ domain = Domain(self, "Domain",
539
+ version=EngineVersion.OPENSEARCH_1_3,
540
+ capacity=opensearch.CapacityConfig(
541
+ node_options=[opensearch.NodeOptions(
542
+ node_type=opensearch.NodeType.COORDINATOR,
543
+ node_config=opensearch.NodeConfig(
544
+ enabled=True,
545
+ count=2,
546
+ type="m5.large.search"
547
+ )
548
+ )
549
+ ]
550
+ )
551
+ )
552
+ ```
527
553
  '''
528
554
  from pkgutil import extend_path
529
555
  __path__ = extend_path(__path__, __name__)
@@ -719,7 +745,7 @@ class AdvancedSecurityOptions:
719
745
  def saml_authentication_options(self) -> typing.Optional["SAMLOptionsProperty"]:
720
746
  '''Container for information about the SAML configuration for OpenSearch Dashboards.
721
747
 
722
- If set, ``samlAuthenticationEnabled`` will be enabled.
748
+ If set, ``samlAuthenticationEnabled`` will be enabled.
723
749
 
724
750
  :default: - no SAML authentication options
725
751
  '''
@@ -747,6 +773,7 @@ class AdvancedSecurityOptions:
747
773
  "master_node_instance_type": "masterNodeInstanceType",
748
774
  "master_nodes": "masterNodes",
749
775
  "multi_az_with_standby_enabled": "multiAzWithStandbyEnabled",
776
+ "node_options": "nodeOptions",
750
777
  "warm_instance_type": "warmInstanceType",
751
778
  "warm_nodes": "warmNodes",
752
779
  },
@@ -760,6 +787,7 @@ class CapacityConfig:
760
787
  master_node_instance_type: typing.Optional[builtins.str] = None,
761
788
  master_nodes: typing.Optional[jsii.Number] = None,
762
789
  multi_az_with_standby_enabled: typing.Optional[builtins.bool] = None,
790
+ node_options: typing.Optional[typing.Sequence[typing.Union["NodeOptions", typing.Dict[builtins.str, typing.Any]]]] = None,
763
791
  warm_instance_type: typing.Optional[builtins.str] = None,
764
792
  warm_nodes: typing.Optional[jsii.Number] = None,
765
793
  ) -> None:
@@ -770,6 +798,7 @@ class CapacityConfig:
770
798
  :param master_node_instance_type: The hardware configuration of the computer that hosts the dedicated master node, such as ``m3.medium.search``. For valid values, see `Supported Instance Types <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html>`_ in the Amazon OpenSearch Service Developer Guide. Default: - r5.large.search
771
799
  :param master_nodes: The number of instances to use for the master node. Default: - no dedicated master nodes
772
800
  :param multi_az_with_standby_enabled: Indicates whether Multi-AZ with Standby deployment option is enabled. For more information, see `Multi-AZ with Standby <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html#managedomains-za-standby>`_ Default: - multi-az with standby if the feature flag ``ENABLE_OPENSEARCH_MULTIAZ_WITH_STANDBY`` is true, no multi-az with standby otherwise
801
+ :param node_options: Additional node options for the domain. Default: - no additional node options
773
802
  :param warm_instance_type: The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see `UltraWarm Storage Limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#limits-ultrawarm>`_ in the Amazon OpenSearch Service Developer Guide. Default: - ultrawarm1.medium.search
774
803
  :param warm_nodes: The number of UltraWarm nodes (instances) to use in the Amazon OpenSearch Service domain. Default: - no UltraWarm nodes
775
804
 
@@ -794,6 +823,7 @@ class CapacityConfig:
794
823
  check_type(argname="argument master_node_instance_type", value=master_node_instance_type, expected_type=type_hints["master_node_instance_type"])
795
824
  check_type(argname="argument master_nodes", value=master_nodes, expected_type=type_hints["master_nodes"])
796
825
  check_type(argname="argument multi_az_with_standby_enabled", value=multi_az_with_standby_enabled, expected_type=type_hints["multi_az_with_standby_enabled"])
826
+ check_type(argname="argument node_options", value=node_options, expected_type=type_hints["node_options"])
797
827
  check_type(argname="argument warm_instance_type", value=warm_instance_type, expected_type=type_hints["warm_instance_type"])
798
828
  check_type(argname="argument warm_nodes", value=warm_nodes, expected_type=type_hints["warm_nodes"])
799
829
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -807,6 +837,8 @@ class CapacityConfig:
807
837
  self._values["master_nodes"] = master_nodes
808
838
  if multi_az_with_standby_enabled is not None:
809
839
  self._values["multi_az_with_standby_enabled"] = multi_az_with_standby_enabled
840
+ if node_options is not None:
841
+ self._values["node_options"] = node_options
810
842
  if warm_instance_type is not None:
811
843
  self._values["warm_instance_type"] = warm_instance_type
812
844
  if warm_nodes is not None:
@@ -863,6 +895,15 @@ class CapacityConfig:
863
895
  result = self._values.get("multi_az_with_standby_enabled")
864
896
  return typing.cast(typing.Optional[builtins.bool], result)
865
897
 
898
+ @builtins.property
899
+ def node_options(self) -> typing.Optional[typing.List["NodeOptions"]]:
900
+ '''Additional node options for the domain.
901
+
902
+ :default: - no additional node options
903
+ '''
904
+ result = self._values.get("node_options")
905
+ return typing.cast(typing.Optional[typing.List["NodeOptions"]], result)
906
+
866
907
  @builtins.property
867
908
  def warm_instance_type(self) -> typing.Optional[builtins.str]:
868
909
  '''The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see `UltraWarm Storage Limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#limits-ultrawarm>`_ in the Amazon OpenSearch Service Developer Guide.
@@ -8419,6 +8460,204 @@ class LoggingOptions:
8419
8460
  )
8420
8461
 
8421
8462
 
8463
+ @jsii.data_type(
8464
+ jsii_type="aws-cdk-lib.aws_opensearchservice.NodeConfig",
8465
+ jsii_struct_bases=[],
8466
+ name_mapping={"count": "count", "enabled": "enabled", "type": "type"},
8467
+ )
8468
+ class NodeConfig:
8469
+ def __init__(
8470
+ self,
8471
+ *,
8472
+ count: typing.Optional[jsii.Number] = None,
8473
+ enabled: typing.Optional[builtins.bool] = None,
8474
+ type: typing.Optional[builtins.str] = None,
8475
+ ) -> None:
8476
+ '''Configuration for a specific node type in OpenSearch domain.
8477
+
8478
+ :param count: The number of nodes of this type. Default: - 1
8479
+ :param enabled: Whether this node type is enabled. Default: - false
8480
+ :param type: The instance type for the nodes. Default: - m5.large.search
8481
+
8482
+ :exampleMetadata: infused
8483
+
8484
+ Example::
8485
+
8486
+ import aws_cdk.aws_opensearchservice as opensearch
8487
+
8488
+
8489
+ domain = Domain(self, "Domain",
8490
+ version=EngineVersion.OPENSEARCH_1_3,
8491
+ capacity=opensearch.CapacityConfig(
8492
+ node_options=[opensearch.NodeOptions(
8493
+ node_type=opensearch.NodeType.COORDINATOR,
8494
+ node_config=opensearch.NodeConfig(
8495
+ enabled=True,
8496
+ count=2,
8497
+ type="m5.large.search"
8498
+ )
8499
+ )
8500
+ ]
8501
+ )
8502
+ )
8503
+ '''
8504
+ if __debug__:
8505
+ type_hints = typing.get_type_hints(_typecheckingstub__9d92d70efc2a427615d6de37a81d3ff2c726d0fd24398a9df21354f08be99abc)
8506
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
8507
+ check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
8508
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
8509
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
8510
+ if count is not None:
8511
+ self._values["count"] = count
8512
+ if enabled is not None:
8513
+ self._values["enabled"] = enabled
8514
+ if type is not None:
8515
+ self._values["type"] = type
8516
+
8517
+ @builtins.property
8518
+ def count(self) -> typing.Optional[jsii.Number]:
8519
+ '''The number of nodes of this type.
8520
+
8521
+ :default: - 1
8522
+ '''
8523
+ result = self._values.get("count")
8524
+ return typing.cast(typing.Optional[jsii.Number], result)
8525
+
8526
+ @builtins.property
8527
+ def enabled(self) -> typing.Optional[builtins.bool]:
8528
+ '''Whether this node type is enabled.
8529
+
8530
+ :default: - false
8531
+ '''
8532
+ result = self._values.get("enabled")
8533
+ return typing.cast(typing.Optional[builtins.bool], result)
8534
+
8535
+ @builtins.property
8536
+ def type(self) -> typing.Optional[builtins.str]:
8537
+ '''The instance type for the nodes.
8538
+
8539
+ :default: - m5.large.search
8540
+ '''
8541
+ result = self._values.get("type")
8542
+ return typing.cast(typing.Optional[builtins.str], result)
8543
+
8544
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
8545
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
8546
+
8547
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
8548
+ return not (rhs == self)
8549
+
8550
+ def __repr__(self) -> str:
8551
+ return "NodeConfig(%s)" % ", ".join(
8552
+ k + "=" + repr(v) for k, v in self._values.items()
8553
+ )
8554
+
8555
+
8556
+ @jsii.data_type(
8557
+ jsii_type="aws-cdk-lib.aws_opensearchservice.NodeOptions",
8558
+ jsii_struct_bases=[],
8559
+ name_mapping={"node_config": "nodeConfig", "node_type": "nodeType"},
8560
+ )
8561
+ class NodeOptions:
8562
+ def __init__(
8563
+ self,
8564
+ *,
8565
+ node_config: typing.Union[NodeConfig, typing.Dict[builtins.str, typing.Any]],
8566
+ node_type: "NodeType",
8567
+ ) -> None:
8568
+ '''Configuration for node options in OpenSearch domain.
8569
+
8570
+ :param node_config: Configuration for the node type.
8571
+ :param node_type: The type of node. Currently only 'coordinator' is supported.
8572
+
8573
+ :exampleMetadata: fixture=_generated
8574
+
8575
+ Example::
8576
+
8577
+ # The code below shows an example of how to instantiate this type.
8578
+ # The values are placeholders you should change.
8579
+ from aws_cdk import aws_opensearchservice as opensearchservice
8580
+
8581
+ node_options = opensearchservice.NodeOptions(
8582
+ node_config=opensearchservice.NodeConfig(
8583
+ count=123,
8584
+ enabled=False,
8585
+ type="type"
8586
+ ),
8587
+ node_type=opensearchservice.NodeType.COORDINATOR
8588
+ )
8589
+ '''
8590
+ if isinstance(node_config, dict):
8591
+ node_config = NodeConfig(**node_config)
8592
+ if __debug__:
8593
+ type_hints = typing.get_type_hints(_typecheckingstub__3d93a945029ecbafb99f19123588beaba83f5fe71312bf7447834a1f6fa42c42)
8594
+ check_type(argname="argument node_config", value=node_config, expected_type=type_hints["node_config"])
8595
+ check_type(argname="argument node_type", value=node_type, expected_type=type_hints["node_type"])
8596
+ self._values: typing.Dict[builtins.str, typing.Any] = {
8597
+ "node_config": node_config,
8598
+ "node_type": node_type,
8599
+ }
8600
+
8601
+ @builtins.property
8602
+ def node_config(self) -> NodeConfig:
8603
+ '''Configuration for the node type.'''
8604
+ result = self._values.get("node_config")
8605
+ assert result is not None, "Required property 'node_config' is missing"
8606
+ return typing.cast(NodeConfig, result)
8607
+
8608
+ @builtins.property
8609
+ def node_type(self) -> "NodeType":
8610
+ '''The type of node.
8611
+
8612
+ Currently only 'coordinator' is supported.
8613
+ '''
8614
+ result = self._values.get("node_type")
8615
+ assert result is not None, "Required property 'node_type' is missing"
8616
+ return typing.cast("NodeType", result)
8617
+
8618
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
8619
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
8620
+
8621
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
8622
+ return not (rhs == self)
8623
+
8624
+ def __repr__(self) -> str:
8625
+ return "NodeOptions(%s)" % ", ".join(
8626
+ k + "=" + repr(v) for k, v in self._values.items()
8627
+ )
8628
+
8629
+
8630
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_opensearchservice.NodeType")
8631
+ class NodeType(enum.Enum):
8632
+ '''NodeType is a string enum of the node types in OpenSearch domain.
8633
+
8634
+ :exampleMetadata: infused
8635
+
8636
+ Example::
8637
+
8638
+ import aws_cdk.aws_opensearchservice as opensearch
8639
+
8640
+
8641
+ domain = Domain(self, "Domain",
8642
+ version=EngineVersion.OPENSEARCH_1_3,
8643
+ capacity=opensearch.CapacityConfig(
8644
+ node_options=[opensearch.NodeOptions(
8645
+ node_type=opensearch.NodeType.COORDINATOR,
8646
+ node_config=opensearch.NodeConfig(
8647
+ enabled=True,
8648
+ count=2,
8649
+ type="m5.large.search"
8650
+ )
8651
+ )
8652
+ ]
8653
+ )
8654
+ )
8655
+ '''
8656
+
8657
+ COORDINATOR = "COORDINATOR"
8658
+ '''Coordinator node type.'''
8659
+
8660
+
8422
8661
  @jsii.data_type(
8423
8662
  jsii_type="aws-cdk-lib.aws_opensearchservice.SAMLOptionsProperty",
8424
8663
  jsii_struct_bases=[],
@@ -9889,6 +10128,9 @@ __all__ = [
9889
10128
  "IDomain",
9890
10129
  "IpAddressType",
9891
10130
  "LoggingOptions",
10131
+ "NodeConfig",
10132
+ "NodeOptions",
10133
+ "NodeType",
9892
10134
  "SAMLOptionsProperty",
9893
10135
  "TLSSecurityPolicy",
9894
10136
  "WindowStartTime",
@@ -9915,6 +10157,7 @@ def _typecheckingstub__48cdec23c4ecd3d168ddd937e9295b924cdea583f9951d98aacce1c1c
9915
10157
  master_node_instance_type: typing.Optional[builtins.str] = None,
9916
10158
  master_nodes: typing.Optional[jsii.Number] = None,
9917
10159
  multi_az_with_standby_enabled: typing.Optional[builtins.bool] = None,
10160
+ node_options: typing.Optional[typing.Sequence[typing.Union[NodeOptions, typing.Dict[builtins.str, typing.Any]]]] = None,
9918
10161
  warm_instance_type: typing.Optional[builtins.str] = None,
9919
10162
  warm_nodes: typing.Optional[jsii.Number] = None,
9920
10163
  ) -> None:
@@ -10625,6 +10868,23 @@ def _typecheckingstub__6f2efbcf1fc757504a748851740a44deb59ed98ee9c1d8c213d60960f
10625
10868
  """Type checking stubs"""
10626
10869
  pass
10627
10870
 
10871
+ def _typecheckingstub__9d92d70efc2a427615d6de37a81d3ff2c726d0fd24398a9df21354f08be99abc(
10872
+ *,
10873
+ count: typing.Optional[jsii.Number] = None,
10874
+ enabled: typing.Optional[builtins.bool] = None,
10875
+ type: typing.Optional[builtins.str] = None,
10876
+ ) -> None:
10877
+ """Type checking stubs"""
10878
+ pass
10879
+
10880
+ def _typecheckingstub__3d93a945029ecbafb99f19123588beaba83f5fe71312bf7447834a1f6fa42c42(
10881
+ *,
10882
+ node_config: typing.Union[NodeConfig, typing.Dict[builtins.str, typing.Any]],
10883
+ node_type: NodeType,
10884
+ ) -> None:
10885
+ """Type checking stubs"""
10886
+ pass
10887
+
10628
10888
  def _typecheckingstub__3971b3c73627d57587c667b1ede64fbba4de4fd4a086af959dc2d0f812f8e36b(
10629
10889
  *,
10630
10890
  idp_entity_id: builtins.str,
@@ -102,7 +102,10 @@ class CfnConnector(
102
102
  certificate_authority_arn="certificateAuthorityArn",
103
103
  directory_id="directoryId",
104
104
  vpc_information=pcaconnectorad.CfnConnector.VpcInformationProperty(
105
- security_group_ids=["securityGroupIds"]
105
+ security_group_ids=["securityGroupIds"],
106
+
107
+ # the properties below are optional
108
+ ip_address_type="ipAddressType"
106
109
  ),
107
110
 
108
111
  # the properties below are optional
@@ -256,17 +259,22 @@ class CfnConnector(
256
259
  @jsii.data_type(
257
260
  jsii_type="aws-cdk-lib.aws_pcaconnectorad.CfnConnector.VpcInformationProperty",
258
261
  jsii_struct_bases=[],
259
- name_mapping={"security_group_ids": "securityGroupIds"},
262
+ name_mapping={
263
+ "security_group_ids": "securityGroupIds",
264
+ "ip_address_type": "ipAddressType",
265
+ },
260
266
  )
261
267
  class VpcInformationProperty:
262
268
  def __init__(
263
269
  self,
264
270
  *,
265
271
  security_group_ids: typing.Sequence[builtins.str],
272
+ ip_address_type: typing.Optional[builtins.str] = None,
266
273
  ) -> None:
267
274
  '''Information about your VPC and security groups used with the connector.
268
275
 
269
276
  :param security_group_ids: The security groups used with the connector. You can use a maximum of 4 security groups with a connector.
277
+ :param ip_address_type:
270
278
 
271
279
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcaconnectorad-connector-vpcinformation.html
272
280
  :exampleMetadata: fixture=_generated
@@ -278,15 +286,21 @@ class CfnConnector(
278
286
  from aws_cdk import aws_pcaconnectorad as pcaconnectorad
279
287
 
280
288
  vpc_information_property = pcaconnectorad.CfnConnector.VpcInformationProperty(
281
- security_group_ids=["securityGroupIds"]
289
+ security_group_ids=["securityGroupIds"],
290
+
291
+ # the properties below are optional
292
+ ip_address_type="ipAddressType"
282
293
  )
283
294
  '''
284
295
  if __debug__:
285
296
  type_hints = typing.get_type_hints(_typecheckingstub__8b9f29305eaa60cc155622de83a9fdb695e29e88cecf7960456609a9a375b153)
286
297
  check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
298
+ check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
287
299
  self._values: typing.Dict[builtins.str, typing.Any] = {
288
300
  "security_group_ids": security_group_ids,
289
301
  }
302
+ if ip_address_type is not None:
303
+ self._values["ip_address_type"] = ip_address_type
290
304
 
291
305
  @builtins.property
292
306
  def security_group_ids(self) -> typing.List[builtins.str]:
@@ -300,6 +314,14 @@ class CfnConnector(
300
314
  assert result is not None, "Required property 'security_group_ids' is missing"
301
315
  return typing.cast(typing.List[builtins.str], result)
302
316
 
317
+ @builtins.property
318
+ def ip_address_type(self) -> typing.Optional[builtins.str]:
319
+ '''
320
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcaconnectorad-connector-vpcinformation.html#cfn-pcaconnectorad-connector-vpcinformation-ipaddresstype
321
+ '''
322
+ result = self._values.get("ip_address_type")
323
+ return typing.cast(typing.Optional[builtins.str], result)
324
+
303
325
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
304
326
  return isinstance(rhs, self.__class__) and rhs._values == self._values
305
327
 
@@ -351,7 +373,10 @@ class CfnConnectorProps:
351
373
  certificate_authority_arn="certificateAuthorityArn",
352
374
  directory_id="directoryId",
353
375
  vpc_information=pcaconnectorad.CfnConnector.VpcInformationProperty(
354
- security_group_ids=["securityGroupIds"]
376
+ security_group_ids=["securityGroupIds"],
377
+
378
+ # the properties below are optional
379
+ ip_address_type="ipAddressType"
355
380
  ),
356
381
 
357
382
  # the properties below are optional
@@ -6285,6 +6310,7 @@ def _typecheckingstub__c6278c4b97c0032befb9608a0699c8b6bccf6e756f23518e9cd72e345
6285
6310
  def _typecheckingstub__8b9f29305eaa60cc155622de83a9fdb695e29e88cecf7960456609a9a375b153(
6286
6311
  *,
6287
6312
  security_group_ids: typing.Sequence[builtins.str],
6313
+ ip_address_type: typing.Optional[builtins.str] = None,
6288
6314
  ) -> None:
6289
6315
  """Type checking stubs"""
6290
6316
  pass
@@ -4807,7 +4807,7 @@ class CfnPipe(
4807
4807
  '''The parameters for using an CloudWatch Logs log stream as a target.
4808
4808
 
4809
4809
  :param log_stream_name: The name of the log stream.
4810
- :param timestamp: The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
4810
+ :param timestamp: A `dynamic path parameter <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-event-target.html>`_ to a field in the payload containing the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The value cannot be a static timestamp as the provided timestamp would be applied to all events delivered by the Pipe, regardless of when they are actually delivered. If no dynamic path parameter is provided, the default value is the time the invocation is processed by the Pipe.
4811
4811
 
4812
4812
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetcloudwatchlogsparameters.html
4813
4813
  :exampleMetadata: fixture=_generated
@@ -4844,7 +4844,11 @@ class CfnPipe(
4844
4844
 
4845
4845
  @builtins.property
4846
4846
  def timestamp(self) -> typing.Optional[builtins.str]:
4847
- '''The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
4847
+ '''A `dynamic path parameter <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-event-target.html>`_ to a field in the payload containing the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
4848
+
4849
+ The value cannot be a static timestamp as the provided timestamp would be applied to all events delivered by the Pipe, regardless of when they are actually delivered.
4850
+
4851
+ If no dynamic path parameter is provided, the default value is the time the invocation is processed by the Pipe.
4848
4852
 
4849
4853
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetcloudwatchlogsparameters.html#cfn-pipes-pipe-pipetargetcloudwatchlogsparameters-timestamp
4850
4854
  '''