aws-cdk-lib 2.180.0__py3-none-any.whl → 2.181.1__py3-none-any.whl

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

Potentially problematic release.


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

@@ -7544,8 +7544,8 @@ class CfnLogging(
7544
7544
 
7545
7545
  If you already set the log function of AWS IoT Core , you can't deploy the AWS Cloud Development Kit (AWS CDK) to change the logging settings. You can change the logging settings by either:
7546
7546
 
7547
- - Importing a role into your AWS CloudFormation stack, such as with the `infrastructure as code generator (IaC generator) <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`_ .
7548
- - `Deleting the existing role <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage_delete.html#roles-managingrole-deleting-console>`_ .
7547
+ - Importing the existing logging resource into your AWS CloudFormation stack, such as with the `infrastructure as code generator (IaC generator) <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html>`_ .
7548
+ - Calling ``aws iot set-v2-logging-options --disable-all-logs`` before creating a new CloudFormation stack. This command disables all AWS IoT logging. As a result, no AWS IoT logs will be delivered to Amazon CloudWatch until you re-enable logging.
7549
7549
 
7550
7550
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html
7551
7551
  :cloudformationResource: AWS::IoT::Logging
@@ -105,7 +105,13 @@ class CfnChannel(
105
105
 
106
106
  # the properties below are optional
107
107
  description="description",
108
+ input_switch_configuration=mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
109
+ mqcs_input_switching=False
110
+ ),
108
111
  input_type="inputType",
112
+ output_header_configuration=mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty(
113
+ publish_mqcs=False
114
+ ),
109
115
  tags=[CfnTag(
110
116
  key="key",
111
117
  value="value"
@@ -121,7 +127,9 @@ class CfnChannel(
121
127
  channel_group_name: builtins.str,
122
128
  channel_name: builtins.str,
123
129
  description: typing.Optional[builtins.str] = None,
130
+ input_switch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannel.InputSwitchConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
124
131
  input_type: typing.Optional[builtins.str] = None,
132
+ output_header_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannel.OutputHeaderConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
125
133
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
126
134
  ) -> None:
127
135
  '''
@@ -130,7 +138,9 @@ class CfnChannel(
130
138
  :param channel_group_name: The name of the channel group associated with the channel configuration.
131
139
  :param channel_name: The name of the channel.
132
140
  :param description: The description of the channel.
141
+ :param input_switch_configuration:
133
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:
134
144
  :param tags: The tags associated with the channel.
135
145
  '''
136
146
  if __debug__:
@@ -141,7 +151,9 @@ class CfnChannel(
141
151
  channel_group_name=channel_group_name,
142
152
  channel_name=channel_name,
143
153
  description=description,
154
+ input_switch_configuration=input_switch_configuration,
144
155
  input_type=input_type,
156
+ output_header_configuration=output_header_configuration,
145
157
  tags=tags,
146
158
  )
147
159
 
@@ -271,6 +283,23 @@ class CfnChannel(
271
283
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
272
284
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
273
285
 
286
+ @builtins.property
287
+ @jsii.member(jsii_name="inputSwitchConfiguration")
288
+ def input_switch_configuration(
289
+ self,
290
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.InputSwitchConfigurationProperty"]]:
291
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.InputSwitchConfigurationProperty"]], jsii.get(self, "inputSwitchConfiguration"))
292
+
293
+ @input_switch_configuration.setter
294
+ def input_switch_configuration(
295
+ self,
296
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.InputSwitchConfigurationProperty"]],
297
+ ) -> None:
298
+ if __debug__:
299
+ type_hints = typing.get_type_hints(_typecheckingstub__3390ae8163479dfdbac5df53086ecff4210fbf97553d12d70faac0b628fe5c00)
300
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
301
+ jsii.set(self, "inputSwitchConfiguration", value) # pyright: ignore[reportArgumentType]
302
+
274
303
  @builtins.property
275
304
  @jsii.member(jsii_name="inputType")
276
305
  def input_type(self) -> typing.Optional[builtins.str]:
@@ -284,6 +313,23 @@ class CfnChannel(
284
313
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
285
314
  jsii.set(self, "inputType", value) # pyright: ignore[reportArgumentType]
286
315
 
316
+ @builtins.property
317
+ @jsii.member(jsii_name="outputHeaderConfiguration")
318
+ def output_header_configuration(
319
+ self,
320
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.OutputHeaderConfigurationProperty"]]:
321
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.OutputHeaderConfigurationProperty"]], jsii.get(self, "outputHeaderConfiguration"))
322
+
323
+ @output_header_configuration.setter
324
+ def output_header_configuration(
325
+ self,
326
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannel.OutputHeaderConfigurationProperty"]],
327
+ ) -> None:
328
+ if __debug__:
329
+ type_hints = typing.get_type_hints(_typecheckingstub__6cd874b506cfe4b7e50b6cfa6b36888413d69d5ce0a7f4649d690587ed70c417)
330
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
331
+ jsii.set(self, "outputHeaderConfiguration", value) # pyright: ignore[reportArgumentType]
332
+
287
333
  @builtins.property
288
334
  @jsii.member(jsii_name="tags")
289
335
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -367,6 +413,120 @@ class CfnChannel(
367
413
  k + "=" + repr(v) for k, v in self._values.items()
368
414
  )
369
415
 
416
+ @jsii.data_type(
417
+ jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannel.InputSwitchConfigurationProperty",
418
+ jsii_struct_bases=[],
419
+ name_mapping={"mqcs_input_switching": "mqcsInputSwitching"},
420
+ )
421
+ class InputSwitchConfigurationProperty:
422
+ def __init__(
423
+ self,
424
+ *,
425
+ mqcs_input_switching: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
426
+ ) -> None:
427
+ '''
428
+ :param mqcs_input_switching: Default is true. This setting is valid only when InputType is CMAF.
429
+
430
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html
431
+ :exampleMetadata: fixture=_generated
432
+
433
+ Example::
434
+
435
+ # The code below shows an example of how to instantiate this type.
436
+ # The values are placeholders you should change.
437
+ from aws_cdk import aws_mediapackagev2 as mediapackagev2
438
+
439
+ input_switch_configuration_property = mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
440
+ mqcs_input_switching=False
441
+ )
442
+ '''
443
+ if __debug__:
444
+ type_hints = typing.get_type_hints(_typecheckingstub__116c8177c767f1c1239016dd387671ce140ac29b5e59b8e19832080acf68bef5)
445
+ check_type(argname="argument mqcs_input_switching", value=mqcs_input_switching, expected_type=type_hints["mqcs_input_switching"])
446
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
447
+ if mqcs_input_switching is not None:
448
+ self._values["mqcs_input_switching"] = mqcs_input_switching
449
+
450
+ @builtins.property
451
+ def mqcs_input_switching(
452
+ self,
453
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
454
+ '''
455
+ Default is true. This setting is valid only when InputType is CMAF.
456
+
457
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html#cfn-mediapackagev2-channel-inputswitchconfiguration-mqcsinputswitching
458
+ '''
459
+ result = self._values.get("mqcs_input_switching")
460
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
461
+
462
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
463
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
464
+
465
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
466
+ return not (rhs == self)
467
+
468
+ def __repr__(self) -> str:
469
+ return "InputSwitchConfigurationProperty(%s)" % ", ".join(
470
+ k + "=" + repr(v) for k, v in self._values.items()
471
+ )
472
+
473
+ @jsii.data_type(
474
+ jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty",
475
+ jsii_struct_bases=[],
476
+ name_mapping={"publish_mqcs": "publishMqcs"},
477
+ )
478
+ class OutputHeaderConfigurationProperty:
479
+ def __init__(
480
+ self,
481
+ *,
482
+ publish_mqcs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
483
+ ) -> None:
484
+ '''
485
+ :param publish_mqcs: This setting is valid only when InputType is CMAF.
486
+
487
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html
488
+ :exampleMetadata: fixture=_generated
489
+
490
+ Example::
491
+
492
+ # The code below shows an example of how to instantiate this type.
493
+ # The values are placeholders you should change.
494
+ from aws_cdk import aws_mediapackagev2 as mediapackagev2
495
+
496
+ output_header_configuration_property = mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty(
497
+ publish_mqcs=False
498
+ )
499
+ '''
500
+ if __debug__:
501
+ type_hints = typing.get_type_hints(_typecheckingstub__173b31e2a58ec560b57e45f11a2ad4c62727971f6e225559d90b8cf278b9f4f8)
502
+ check_type(argname="argument publish_mqcs", value=publish_mqcs, expected_type=type_hints["publish_mqcs"])
503
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
504
+ if publish_mqcs is not None:
505
+ self._values["publish_mqcs"] = publish_mqcs
506
+
507
+ @builtins.property
508
+ def publish_mqcs(
509
+ self,
510
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
511
+ '''
512
+ This setting is valid only when InputType is CMAF.
513
+
514
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html#cfn-mediapackagev2-channel-outputheaderconfiguration-publishmqcs
515
+ '''
516
+ result = self._values.get("publish_mqcs")
517
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
518
+
519
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
520
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
521
+
522
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
523
+ return not (rhs == self)
524
+
525
+ def __repr__(self) -> str:
526
+ return "OutputHeaderConfigurationProperty(%s)" % ", ".join(
527
+ k + "=" + repr(v) for k, v in self._values.items()
528
+ )
529
+
370
530
 
371
531
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
372
532
  class CfnChannelGroup(
@@ -867,7 +1027,9 @@ class CfnChannelPolicyProps:
867
1027
  "channel_group_name": "channelGroupName",
868
1028
  "channel_name": "channelName",
869
1029
  "description": "description",
1030
+ "input_switch_configuration": "inputSwitchConfiguration",
870
1031
  "input_type": "inputType",
1032
+ "output_header_configuration": "outputHeaderConfiguration",
871
1033
  "tags": "tags",
872
1034
  },
873
1035
  )
@@ -878,7 +1040,9 @@ class CfnChannelProps:
878
1040
  channel_group_name: builtins.str,
879
1041
  channel_name: builtins.str,
880
1042
  description: typing.Optional[builtins.str] = None,
1043
+ input_switch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.InputSwitchConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
881
1044
  input_type: typing.Optional[builtins.str] = None,
1045
+ output_header_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.OutputHeaderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
882
1046
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
883
1047
  ) -> None:
884
1048
  '''Properties for defining a ``CfnChannel``.
@@ -886,7 +1050,9 @@ class CfnChannelProps:
886
1050
  :param channel_group_name: The name of the channel group associated with the channel configuration.
887
1051
  :param channel_name: The name of the channel.
888
1052
  :param description: The description of the channel.
1053
+ :param input_switch_configuration:
889
1054
  :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:
890
1056
  :param tags: The tags associated with the channel.
891
1057
 
892
1058
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html
@@ -904,7 +1070,13 @@ class CfnChannelProps:
904
1070
 
905
1071
  # the properties below are optional
906
1072
  description="description",
1073
+ input_switch_configuration=mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
1074
+ mqcs_input_switching=False
1075
+ ),
907
1076
  input_type="inputType",
1077
+ output_header_configuration=mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty(
1078
+ publish_mqcs=False
1079
+ ),
908
1080
  tags=[CfnTag(
909
1081
  key="key",
910
1082
  value="value"
@@ -916,7 +1088,9 @@ class CfnChannelProps:
916
1088
  check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
917
1089
  check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
918
1090
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
1091
+ check_type(argname="argument input_switch_configuration", value=input_switch_configuration, expected_type=type_hints["input_switch_configuration"])
919
1092
  check_type(argname="argument input_type", value=input_type, expected_type=type_hints["input_type"])
1093
+ check_type(argname="argument output_header_configuration", value=output_header_configuration, expected_type=type_hints["output_header_configuration"])
920
1094
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
921
1095
  self._values: typing.Dict[builtins.str, typing.Any] = {
922
1096
  "channel_group_name": channel_group_name,
@@ -924,8 +1098,12 @@ class CfnChannelProps:
924
1098
  }
925
1099
  if description is not None:
926
1100
  self._values["description"] = description
1101
+ if input_switch_configuration is not None:
1102
+ self._values["input_switch_configuration"] = input_switch_configuration
927
1103
  if input_type is not None:
928
1104
  self._values["input_type"] = input_type
1105
+ if output_header_configuration is not None:
1106
+ self._values["output_header_configuration"] = output_header_configuration
929
1107
  if tags is not None:
930
1108
  self._values["tags"] = tags
931
1109
 
@@ -958,6 +1136,16 @@ class CfnChannelProps:
958
1136
  result = self._values.get("description")
959
1137
  return typing.cast(typing.Optional[builtins.str], result)
960
1138
 
1139
+ @builtins.property
1140
+ def input_switch_configuration(
1141
+ self,
1142
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.InputSwitchConfigurationProperty]]:
1143
+ '''
1144
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-inputswitchconfiguration
1145
+ '''
1146
+ result = self._values.get("input_switch_configuration")
1147
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.InputSwitchConfigurationProperty]], result)
1148
+
961
1149
  @builtins.property
962
1150
  def input_type(self) -> typing.Optional[builtins.str]:
963
1151
  '''The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest.
@@ -974,6 +1162,16 @@ class CfnChannelProps:
974
1162
  result = self._values.get("input_type")
975
1163
  return typing.cast(typing.Optional[builtins.str], result)
976
1164
 
1165
+ @builtins.property
1166
+ def output_header_configuration(
1167
+ self,
1168
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.OutputHeaderConfigurationProperty]]:
1169
+ '''
1170
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-outputheaderconfiguration
1171
+ '''
1172
+ result = self._values.get("output_header_configuration")
1173
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.OutputHeaderConfigurationProperty]], result)
1174
+
977
1175
  @builtins.property
978
1176
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
979
1177
  '''The tags associated with the channel.
@@ -3853,7 +4051,9 @@ def _typecheckingstub__f5f12d43fb05232f03795c27e5dde1f408f5762e93edacb27e01efb9e
3853
4051
  channel_group_name: builtins.str,
3854
4052
  channel_name: builtins.str,
3855
4053
  description: typing.Optional[builtins.str] = None,
4054
+ input_switch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.InputSwitchConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3856
4055
  input_type: typing.Optional[builtins.str] = None,
4056
+ output_header_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.OutputHeaderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3857
4057
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3858
4058
  ) -> None:
3859
4059
  """Type checking stubs"""
@@ -3889,12 +4089,24 @@ def _typecheckingstub__ee07183524d44b124938ad354f47b29384e1ea3a14ba4e7fa739d6847
3889
4089
  """Type checking stubs"""
3890
4090
  pass
3891
4091
 
4092
+ def _typecheckingstub__3390ae8163479dfdbac5df53086ecff4210fbf97553d12d70faac0b628fe5c00(
4093
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.InputSwitchConfigurationProperty]],
4094
+ ) -> None:
4095
+ """Type checking stubs"""
4096
+ pass
4097
+
3892
4098
  def _typecheckingstub__1fd45bf182a4bcd922fc7964817a4166c9d667e78eb548b915896743cf024664(
3893
4099
  value: typing.Optional[builtins.str],
3894
4100
  ) -> None:
3895
4101
  """Type checking stubs"""
3896
4102
  pass
3897
4103
 
4104
+ def _typecheckingstub__6cd874b506cfe4b7e50b6cfa6b36888413d69d5ce0a7f4649d690587ed70c417(
4105
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannel.OutputHeaderConfigurationProperty]],
4106
+ ) -> None:
4107
+ """Type checking stubs"""
4108
+ pass
4109
+
3898
4110
  def _typecheckingstub__61a8d14ccc4954881d5a995d8d9c088f4870a4a3a28d0b44314514a2fbb02a01(
3899
4111
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
3900
4112
  ) -> None:
@@ -3909,6 +4121,20 @@ def _typecheckingstub__52a72049adc4af63f65ccfb6f3c098cecb2b442bbe00bad4a877f2099
3909
4121
  """Type checking stubs"""
3910
4122
  pass
3911
4123
 
4124
+ def _typecheckingstub__116c8177c767f1c1239016dd387671ce140ac29b5e59b8e19832080acf68bef5(
4125
+ *,
4126
+ mqcs_input_switching: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4127
+ ) -> None:
4128
+ """Type checking stubs"""
4129
+ pass
4130
+
4131
+ def _typecheckingstub__173b31e2a58ec560b57e45f11a2ad4c62727971f6e225559d90b8cf278b9f4f8(
4132
+ *,
4133
+ publish_mqcs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4134
+ ) -> None:
4135
+ """Type checking stubs"""
4136
+ pass
4137
+
3912
4138
  def _typecheckingstub__0d830ced0539d40633bba571496a990f327b96c8fb475a589dba800d21ebab93(
3913
4139
  scope: _constructs_77d1e7e8.Construct,
3914
4140
  id: builtins.str,
@@ -4014,7 +4240,9 @@ def _typecheckingstub__cb84231dfbf08cdefe6ca207d49155a084aa492947c635c5e9ba404f1
4014
4240
  channel_group_name: builtins.str,
4015
4241
  channel_name: builtins.str,
4016
4242
  description: typing.Optional[builtins.str] = None,
4243
+ input_switch_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.InputSwitchConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4017
4244
  input_type: typing.Optional[builtins.str] = None,
4245
+ output_header_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnChannel.OutputHeaderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4018
4246
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4019
4247
  ) -> None:
4020
4248
  """Type checking stubs"""
@@ -4464,7 +4464,7 @@ class CfnRuleGroup(
4464
4464
 
4465
4465
  :param rules_source_list: Stateful inspection criteria for a domain list rule group.
4466
4466
  :param rules_string: Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection. These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting. .. epigraph:: You can't use the ``priority`` keyword if the ``RuleOrder`` option in ``StatefulRuleOptions`` is set to ``STRICT_ORDER`` .
4467
- :param stateful_rules: An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html>`_ .
4467
+ :param stateful_rules: An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-7.0.3/rules/intro.html>`_ .
4468
4468
  :param stateless_rules_and_custom_actions: Stateless inspection criteria to be used in a stateless rule group.
4469
4469
 
4470
4470
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html
@@ -4594,7 +4594,7 @@ class CfnRuleGroup(
4594
4594
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRuleGroup.StatefulRuleProperty"]]]]:
4595
4595
  '''An array of individual stateful rules inspection criteria to be used together in a stateful rule group.
4596
4596
 
4597
- Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html>`_ .
4597
+ Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-7.0.3/rules/intro.html>`_ .
4598
4598
 
4599
4599
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html#cfn-networkfirewall-rulegroup-rulessource-statefulrules
4600
4600
  '''
@@ -4697,7 +4697,7 @@ class CfnRuleGroup(
4697
4697
  ) -> None:
4698
4698
  '''A single Suricata rules specification, for use in a stateful rule group.
4699
4699
 
4700
- Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html>`_ .
4700
+ Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata ``Rules`` format, see `Rules Format <https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-7.0.3/rules/intro.html>`_ .
4701
4701
 
4702
4702
  :param action: Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow. The actions for a stateful rule are defined as follows: - *PASS* - Permits the packets to go to the intended destination. - *DROP* - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the ``Firewall`` ``LoggingConfiguration`` . - *REJECT* - Drops traffic that matches the conditions of the stateful rule and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a ``RST`` bit contained in the TCP header flags. ``REJECT`` is available only for TCP traffic. - *ALERT* - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the ``Firewall`` ``LoggingConfiguration`` . You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ``ALERT`` action, verify in the logs that the rule is filtering as you want, then change the action to ``DROP`` . - *REJECT* - Drops TCP traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a ``RST`` bit contained in the TCP header flags. Also sends an alert log mesage if alert logging is configured in the ``Firewall`` ``LoggingConfiguration`` . ``REJECT`` isn't currently available for use with IMAP and FTP protocols.
4703
4703
  :param header: The stateful inspection criteria for this rule, used to inspect traffic flows.
@@ -1005,7 +1005,7 @@ class CfnSecurityConfig(
1005
1005
  :param scope: Scope in which this resource is defined.
1006
1006
  :param id: Construct identifier for this resource (unique in its scope).
1007
1007
  :param description: The description of the security configuration.
1008
- :param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1008
+ :param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
1009
1009
  :param name: The name of the security configuration.
1010
1010
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
1011
1011
  :param type: The type of security configuration. Currently the only option is ``saml`` .
@@ -1115,7 +1115,7 @@ class CfnSecurityConfig(
1115
1115
  def iam_identity_center_options(
1116
1116
  self,
1117
1117
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]]:
1118
- '''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.'''
1118
+ '''Describes IAM Identity Center options in the form of a key-value map.'''
1119
1119
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]], jsii.get(self, "iamIdentityCenterOptions"))
1120
1120
 
1121
1121
  @iam_identity_center_options.setter
@@ -1201,8 +1201,8 @@ class CfnSecurityConfig(
1201
1201
  :param application_arn: The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1202
1202
  :param application_description: The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1203
1203
  :param application_name: The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1204
- :param group_attribute: Group attribute for this IAM Identity Center integration.
1205
- :param user_attribute: User attribute for this IAM Identity Center integration.
1204
+ :param group_attribute: The group attribute for this IAM Identity Center integration. Defaults to ``GroupId`` .
1205
+ :param user_attribute: The user attribute for this IAM Identity Center integration. Defaults to ``UserId``
1206
1206
 
1207
1207
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html
1208
1208
  :exampleMetadata: fixture=_generated
@@ -1285,7 +1285,9 @@ class CfnSecurityConfig(
1285
1285
 
1286
1286
  @builtins.property
1287
1287
  def group_attribute(self) -> typing.Optional[builtins.str]:
1288
- '''Group attribute for this IAM Identity Center integration.
1288
+ '''The group attribute for this IAM Identity Center integration.
1289
+
1290
+ Defaults to ``GroupId`` .
1289
1291
 
1290
1292
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-groupattribute
1291
1293
  '''
@@ -1294,7 +1296,9 @@ class CfnSecurityConfig(
1294
1296
 
1295
1297
  @builtins.property
1296
1298
  def user_attribute(self) -> typing.Optional[builtins.str]:
1297
- '''User attribute for this IAM Identity Center integration.
1299
+ '''The user attribute for this IAM Identity Center integration.
1300
+
1301
+ Defaults to ``UserId``
1298
1302
 
1299
1303
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-userattribute
1300
1304
  '''
@@ -1463,7 +1467,7 @@ class CfnSecurityConfigProps:
1463
1467
  '''Properties for defining a ``CfnSecurityConfig``.
1464
1468
 
1465
1469
  :param description: The description of the security configuration.
1466
- :param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1470
+ :param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
1467
1471
  :param name: The name of the security configuration.
1468
1472
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
1469
1473
  :param type: The type of security configuration. Currently the only option is ``saml`` .
@@ -1534,7 +1538,7 @@ class CfnSecurityConfigProps:
1534
1538
  def iam_identity_center_options(
1535
1539
  self,
1536
1540
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]]:
1537
- '''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1541
+ '''Describes IAM Identity Center options in the form of a key-value map.
1538
1542
 
1539
1543
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securityconfig.html#cfn-opensearchserverless-securityconfig-iamidentitycenteroptions
1540
1544
  '''
@@ -1044,7 +1044,7 @@ class CfnPolicy(
1044
1044
  '''
1045
1045
  :param scope: Scope in which this resource is defined.
1046
1046
  :param id: Construct identifier for this resource (unique in its scope).
1047
- :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1047
+ :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chat applications policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1048
1048
  :param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
1049
1049
  :param type: The type of policy to create.
1050
1050
  :param description: Human readable description of the policy.
@@ -1247,7 +1247,7 @@ class CfnPolicyProps:
1247
1247
  ) -> None:
1248
1248
  '''Properties for defining a ``CfnPolicy``.
1249
1249
 
1250
- :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1250
+ :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chat applications policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1251
1251
  :param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
1252
1252
  :param type: The type of policy to create.
1253
1253
  :param description: Human readable description of the policy.
@@ -1314,7 +1314,7 @@ class CfnPolicyProps:
1314
1314
  - Declarative policies: 10,000 characters
1315
1315
  - Backup policies: 10,000 characters
1316
1316
  - Tag policies: 10,000 characters
1317
- - Chatbot policies: 10,000 characters
1317
+ - Chat applications policies: 10,000 characters
1318
1318
  - AI services opt-out policies: 2,500 characters
1319
1319
 
1320
1320
  For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
@@ -86,7 +86,7 @@ class CfnChallenge(
86
86
  ):
87
87
  '''For general-purpose connectors.
88
88
 
89
- Creates a *challenge password* for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call `ListConnectors <https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_ListConnectors.html>`_ .
89
+ Creates a *challenge password* for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call `ListConnectors <https://docs.aws.amazon.com/pca-connector-scep/latest/APIReference/API_ListConnectors.html>`_ .
90
90
 
91
91
  To create additional challenge passwords for the connector, call ``CreateChallenge`` again. We recommend frequently rotating your challenge passwords.
92
92