aws-cdk-lib 2.209.1__py3-none-any.whl → 2.211.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 (58) hide show
  1. aws_cdk/__init__.py +6 -11
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.209.1.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +2 -1
  5. aws_cdk/aws_appconfig/__init__.py +9 -0
  6. aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
  7. aws_cdk/aws_athena/__init__.py +23 -19
  8. aws_cdk/aws_autoscaling/__init__.py +6 -6
  9. aws_cdk/aws_batch/__init__.py +721 -51
  10. aws_cdk/aws_cassandra/__init__.py +28 -1
  11. aws_cdk/aws_cloudfront/__init__.py +20 -8
  12. aws_cdk/aws_cognito/__init__.py +9 -2
  13. aws_cdk/aws_datazone/__init__.py +118 -77
  14. aws_cdk/aws_dax/__init__.py +39 -0
  15. aws_cdk/aws_deadline/__init__.py +155 -7
  16. aws_cdk/aws_docdb/__init__.py +20 -11
  17. aws_cdk/aws_dynamodb/__init__.py +160 -20
  18. aws_cdk/aws_ec2/__init__.py +978 -256
  19. aws_cdk/aws_ecr/__init__.py +274 -0
  20. aws_cdk/aws_ecs/__init__.py +335 -220
  21. aws_cdk/aws_eks/__init__.py +51 -3
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +9 -7
  23. aws_cdk/aws_entityresolution/__init__.py +240 -45
  24. aws_cdk/aws_evs/__init__.py +20 -45
  25. aws_cdk/aws_iot/__init__.py +387 -0
  26. aws_cdk/aws_iotsitewise/__init__.py +1247 -139
  27. aws_cdk/aws_ivs/__init__.py +443 -33
  28. aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
  29. aws_cdk/aws_kms/__init__.py +15 -0
  30. aws_cdk/aws_lambda/__init__.py +3 -3
  31. aws_cdk/aws_lightsail/__init__.py +590 -0
  32. aws_cdk/aws_logs/__init__.py +97 -3
  33. aws_cdk/aws_medialive/__init__.py +270 -7
  34. aws_cdk/aws_mediapackagev2/__init__.py +204 -6
  35. aws_cdk/aws_neptune/__init__.py +41 -2
  36. aws_cdk/aws_networkfirewall/__init__.py +490 -134
  37. aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
  38. aws_cdk/aws_opensearchserverless/__init__.py +2 -2
  39. aws_cdk/aws_opsworks/__init__.py +125 -125
  40. aws_cdk/aws_opsworkscm/__init__.py +1 -53
  41. aws_cdk/aws_pcs/__init__.py +36 -0
  42. aws_cdk/aws_qbusiness/__init__.py +3 -3
  43. aws_cdk/aws_quicksight/__init__.py +107 -0
  44. aws_cdk/aws_rds/__init__.py +274 -0
  45. aws_cdk/aws_s3/__init__.py +56 -1
  46. aws_cdk/aws_s3express/__init__.py +52 -1
  47. aws_cdk/aws_sagemaker/__init__.py +4033 -218
  48. aws_cdk/aws_ses/__init__.py +172 -9
  49. aws_cdk/aws_ssm/__init__.py +8 -4
  50. aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
  51. aws_cdk/aws_wisdom/__init__.py +2 -2
  52. aws_cdk/aws_workspacesweb/__init__.py +949 -157
  53. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
  54. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +58 -56
  55. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
  56. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
  57. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
  58. {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/top_level.txt +0 -0
@@ -106,7 +106,8 @@ class CfnChannel(
106
106
  # the properties below are optional
107
107
  description="description",
108
108
  input_switch_configuration=mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
109
- mqcs_input_switching=False
109
+ mqcs_input_switching=False,
110
+ preferred_input=123
110
111
  ),
111
112
  input_type="inputType",
112
113
  output_header_configuration=mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty(
@@ -418,17 +419,22 @@ class CfnChannel(
418
419
  @jsii.data_type(
419
420
  jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannel.InputSwitchConfigurationProperty",
420
421
  jsii_struct_bases=[],
421
- name_mapping={"mqcs_input_switching": "mqcsInputSwitching"},
422
+ name_mapping={
423
+ "mqcs_input_switching": "mqcsInputSwitching",
424
+ "preferred_input": "preferredInput",
425
+ },
422
426
  )
423
427
  class InputSwitchConfigurationProperty:
424
428
  def __init__(
425
429
  self,
426
430
  *,
427
431
  mqcs_input_switching: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
432
+ preferred_input: typing.Optional[jsii.Number] = None,
428
433
  ) -> None:
429
434
  '''The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
430
435
 
431
436
  :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`` .
437
+ :param preferred_input: For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores. Select ``1`` to prefer the first ingest endpoint, or ``2`` to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.
432
438
 
433
439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html
434
440
  :exampleMetadata: fixture=_generated
@@ -440,15 +446,19 @@ class CfnChannel(
440
446
  from aws_cdk import aws_mediapackagev2 as mediapackagev2
441
447
 
442
448
  input_switch_configuration_property = mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
443
- mqcs_input_switching=False
449
+ mqcs_input_switching=False,
450
+ preferred_input=123
444
451
  )
445
452
  '''
446
453
  if __debug__:
447
454
  type_hints = typing.get_type_hints(_typecheckingstub__116c8177c767f1c1239016dd387671ce140ac29b5e59b8e19832080acf68bef5)
448
455
  check_type(argname="argument mqcs_input_switching", value=mqcs_input_switching, expected_type=type_hints["mqcs_input_switching"])
456
+ check_type(argname="argument preferred_input", value=preferred_input, expected_type=type_hints["preferred_input"])
449
457
  self._values: typing.Dict[builtins.str, typing.Any] = {}
450
458
  if mqcs_input_switching is not None:
451
459
  self._values["mqcs_input_switching"] = mqcs_input_switching
460
+ if preferred_input is not None:
461
+ self._values["preferred_input"] = preferred_input
452
462
 
453
463
  @builtins.property
454
464
  def mqcs_input_switching(
@@ -463,6 +473,17 @@ class CfnChannel(
463
473
  result = self._values.get("mqcs_input_switching")
464
474
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
465
475
 
476
+ @builtins.property
477
+ def preferred_input(self) -> typing.Optional[jsii.Number]:
478
+ '''For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores.
479
+
480
+ Select ``1`` to prefer the first ingest endpoint, or ``2`` to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.
481
+
482
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html#cfn-mediapackagev2-channel-inputswitchconfiguration-preferredinput
483
+ '''
484
+ result = self._values.get("preferred_input")
485
+ return typing.cast(typing.Optional[jsii.Number], result)
486
+
466
487
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
467
488
  return isinstance(rhs, self.__class__) and rhs._values == self._values
468
489
 
@@ -1077,7 +1098,8 @@ class CfnChannelProps:
1077
1098
  # the properties below are optional
1078
1099
  description="description",
1079
1100
  input_switch_configuration=mediapackagev2.CfnChannel.InputSwitchConfigurationProperty(
1080
- mqcs_input_switching=False
1101
+ mqcs_input_switching=False,
1102
+ preferred_input=123
1081
1103
  ),
1082
1104
  input_type="inputType",
1083
1105
  output_header_configuration=mediapackagev2.CfnChannel.OutputHeaderConfigurationProperty(
@@ -1360,6 +1382,7 @@ class CfnOriginEndpoint(
1360
1382
  ),
1361
1383
 
1362
1384
  # the properties below are optional
1385
+ cmaf_exclude_segment_drm_metadata=False,
1363
1386
  constant_initialization_vector="constantInitializationVector",
1364
1387
  key_rotation_interval_seconds=123
1365
1388
  ),
@@ -2949,6 +2972,7 @@ class CfnOriginEndpoint(
2949
2972
  name_mapping={
2950
2973
  "encryption_method": "encryptionMethod",
2951
2974
  "speke_key_provider": "spekeKeyProvider",
2975
+ "cmaf_exclude_segment_drm_metadata": "cmafExcludeSegmentDrmMetadata",
2952
2976
  "constant_initialization_vector": "constantInitializationVector",
2953
2977
  "key_rotation_interval_seconds": "keyRotationIntervalSeconds",
2954
2978
  },
@@ -2959,6 +2983,7 @@ class CfnOriginEndpoint(
2959
2983
  *,
2960
2984
  encryption_method: typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.EncryptionMethodProperty", typing.Dict[builtins.str, typing.Any]]],
2961
2985
  speke_key_provider: typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.SpekeKeyProviderProperty", typing.Dict[builtins.str, typing.Any]]],
2986
+ cmaf_exclude_segment_drm_metadata: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2962
2987
  constant_initialization_vector: typing.Optional[builtins.str] = None,
2963
2988
  key_rotation_interval_seconds: typing.Optional[jsii.Number] = None,
2964
2989
  ) -> None:
@@ -2966,6 +2991,7 @@ class CfnOriginEndpoint(
2966
2991
 
2967
2992
  :param encryption_method: The encryption method to use.
2968
2993
  :param speke_key_provider: The SPEKE key provider to use for encryption.
2994
+ :param cmaf_exclude_segment_drm_metadata: Excludes SEIG and SGPD boxes from segment metadata in CMAF containers. When set to ``true`` , MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes. Important considerations: - This setting only affects CMAF container formats - Key rotation can still be handled through media playlist signaling - PSSH and TENC boxes remain unaffected - Default behavior is preserved when this setting is disabled Valid values: ``true`` | ``false`` Default: ``false``
2969
2995
  :param constant_initialization_vector: A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
2970
2996
  :param key_rotation_interval_seconds: The interval, in seconds, to rotate encryption keys for the origin endpoint.
2971
2997
 
@@ -2995,6 +3021,7 @@ class CfnOriginEndpoint(
2995
3021
  ),
2996
3022
 
2997
3023
  # the properties below are optional
3024
+ cmaf_exclude_segment_drm_metadata=False,
2998
3025
  constant_initialization_vector="constantInitializationVector",
2999
3026
  key_rotation_interval_seconds=123
3000
3027
  )
@@ -3003,12 +3030,15 @@ class CfnOriginEndpoint(
3003
3030
  type_hints = typing.get_type_hints(_typecheckingstub__ba68bba2e5edd62f12d66393f036d9e0dc8f60c4705d328714b3a2f959ba4a07)
3004
3031
  check_type(argname="argument encryption_method", value=encryption_method, expected_type=type_hints["encryption_method"])
3005
3032
  check_type(argname="argument speke_key_provider", value=speke_key_provider, expected_type=type_hints["speke_key_provider"])
3033
+ check_type(argname="argument cmaf_exclude_segment_drm_metadata", value=cmaf_exclude_segment_drm_metadata, expected_type=type_hints["cmaf_exclude_segment_drm_metadata"])
3006
3034
  check_type(argname="argument constant_initialization_vector", value=constant_initialization_vector, expected_type=type_hints["constant_initialization_vector"])
3007
3035
  check_type(argname="argument key_rotation_interval_seconds", value=key_rotation_interval_seconds, expected_type=type_hints["key_rotation_interval_seconds"])
3008
3036
  self._values: typing.Dict[builtins.str, typing.Any] = {
3009
3037
  "encryption_method": encryption_method,
3010
3038
  "speke_key_provider": speke_key_provider,
3011
3039
  }
3040
+ if cmaf_exclude_segment_drm_metadata is not None:
3041
+ self._values["cmaf_exclude_segment_drm_metadata"] = cmaf_exclude_segment_drm_metadata
3012
3042
  if constant_initialization_vector is not None:
3013
3043
  self._values["constant_initialization_vector"] = constant_initialization_vector
3014
3044
  if key_rotation_interval_seconds is not None:
@@ -3038,6 +3068,30 @@ class CfnOriginEndpoint(
3038
3068
  assert result is not None, "Required property 'speke_key_provider' is missing"
3039
3069
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SpekeKeyProviderProperty"], result)
3040
3070
 
3071
+ @builtins.property
3072
+ def cmaf_exclude_segment_drm_metadata(
3073
+ self,
3074
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
3075
+ '''Excludes SEIG and SGPD boxes from segment metadata in CMAF containers.
3076
+
3077
+ When set to ``true`` , MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes.
3078
+
3079
+ Important considerations:
3080
+
3081
+ - This setting only affects CMAF container formats
3082
+ - Key rotation can still be handled through media playlist signaling
3083
+ - PSSH and TENC boxes remain unaffected
3084
+ - Default behavior is preserved when this setting is disabled
3085
+
3086
+ Valid values: ``true`` | ``false``
3087
+
3088
+ Default: ``false``
3089
+
3090
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html#cfn-mediapackagev2-originendpoint-encryption-cmafexcludesegmentdrmmetadata
3091
+ '''
3092
+ result = self._values.get("cmaf_exclude_segment_drm_metadata")
3093
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
3094
+
3041
3095
  @builtins.property
3042
3096
  def constant_initialization_vector(self) -> typing.Optional[builtins.str]:
3043
3097
  '''A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content.
@@ -3928,6 +3982,7 @@ class CfnOriginEndpoint(
3928
3982
  ),
3929
3983
 
3930
3984
  # the properties below are optional
3985
+ cmaf_exclude_segment_drm_metadata=False,
3931
3986
  constant_initialization_vector="constantInitializationVector",
3932
3987
  key_rotation_interval_seconds=123
3933
3988
  ),
@@ -4291,7 +4346,13 @@ class CfnOriginEndpointPolicy(
4291
4346
  channel_group_name="channelGroupName",
4292
4347
  channel_name="channelName",
4293
4348
  origin_endpoint_name="originEndpointName",
4294
- policy=policy
4349
+ policy=policy,
4350
+
4351
+ # the properties below are optional
4352
+ cdn_auth_configuration=mediapackagev2.CfnOriginEndpointPolicy.CdnAuthConfigurationProperty(
4353
+ cdn_identifier_secret_arns=["cdnIdentifierSecretArns"],
4354
+ secrets_role_arn="secretsRoleArn"
4355
+ )
4295
4356
  )
4296
4357
  '''
4297
4358
 
@@ -4304,6 +4365,7 @@ class CfnOriginEndpointPolicy(
4304
4365
  channel_name: builtins.str,
4305
4366
  origin_endpoint_name: builtins.str,
4306
4367
  policy: typing.Any,
4368
+ cdn_auth_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpointPolicy.CdnAuthConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4307
4369
  ) -> None:
4308
4370
  '''
4309
4371
  :param scope: Scope in which this resource is defined.
@@ -4312,6 +4374,7 @@ class CfnOriginEndpointPolicy(
4312
4374
  :param channel_name: The channel name associated with the origin endpoint policy.
4313
4375
  :param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
4314
4376
  :param policy: The policy associated with the origin endpoint.
4377
+ :param cdn_auth_configuration: The settings to enable CDN authorization headers in MediaPackage.
4315
4378
  '''
4316
4379
  if __debug__:
4317
4380
  type_hints = typing.get_type_hints(_typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b6745377)
@@ -4322,6 +4385,7 @@ class CfnOriginEndpointPolicy(
4322
4385
  channel_name=channel_name,
4323
4386
  origin_endpoint_name=origin_endpoint_name,
4324
4387
  policy=policy,
4388
+ cdn_auth_configuration=cdn_auth_configuration,
4325
4389
  )
4326
4390
 
4327
4391
  jsii.create(self.__class__, self, [scope, id, props])
@@ -4413,6 +4477,98 @@ class CfnOriginEndpointPolicy(
4413
4477
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4414
4478
  jsii.set(self, "policy", value) # pyright: ignore[reportArgumentType]
4415
4479
 
4480
+ @builtins.property
4481
+ @jsii.member(jsii_name="cdnAuthConfiguration")
4482
+ def cdn_auth_configuration(
4483
+ self,
4484
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpointPolicy.CdnAuthConfigurationProperty"]]:
4485
+ '''The settings to enable CDN authorization headers in MediaPackage.'''
4486
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpointPolicy.CdnAuthConfigurationProperty"]], jsii.get(self, "cdnAuthConfiguration"))
4487
+
4488
+ @cdn_auth_configuration.setter
4489
+ def cdn_auth_configuration(
4490
+ self,
4491
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpointPolicy.CdnAuthConfigurationProperty"]],
4492
+ ) -> None:
4493
+ if __debug__:
4494
+ type_hints = typing.get_type_hints(_typecheckingstub__bb5c350a2cc1621e0ea6d63c230deab544127f834aa0418f2d3ec475c6dfc3d3)
4495
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4496
+ jsii.set(self, "cdnAuthConfiguration", value) # pyright: ignore[reportArgumentType]
4497
+
4498
+ @jsii.data_type(
4499
+ jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointPolicy.CdnAuthConfigurationProperty",
4500
+ jsii_struct_bases=[],
4501
+ name_mapping={
4502
+ "cdn_identifier_secret_arns": "cdnIdentifierSecretArns",
4503
+ "secrets_role_arn": "secretsRoleArn",
4504
+ },
4505
+ )
4506
+ class CdnAuthConfigurationProperty:
4507
+ def __init__(
4508
+ self,
4509
+ *,
4510
+ cdn_identifier_secret_arns: typing.Sequence[builtins.str],
4511
+ secrets_role_arn: builtins.str,
4512
+ ) -> None:
4513
+ '''The settings to enable CDN authorization headers in MediaPackage.
4514
+
4515
+ :param cdn_identifier_secret_arns: The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
4516
+ :param secrets_role_arn: The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
4517
+
4518
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpointpolicy-cdnauthconfiguration.html
4519
+ :exampleMetadata: fixture=_generated
4520
+
4521
+ Example::
4522
+
4523
+ # The code below shows an example of how to instantiate this type.
4524
+ # The values are placeholders you should change.
4525
+ from aws_cdk import aws_mediapackagev2 as mediapackagev2
4526
+
4527
+ cdn_auth_configuration_property = mediapackagev2.CfnOriginEndpointPolicy.CdnAuthConfigurationProperty(
4528
+ cdn_identifier_secret_arns=["cdnIdentifierSecretArns"],
4529
+ secrets_role_arn="secretsRoleArn"
4530
+ )
4531
+ '''
4532
+ if __debug__:
4533
+ type_hints = typing.get_type_hints(_typecheckingstub__2efc99cbc23753feeba6e611700f7b275a0d9dbb8667ffa3a69bd76404c7768b)
4534
+ check_type(argname="argument cdn_identifier_secret_arns", value=cdn_identifier_secret_arns, expected_type=type_hints["cdn_identifier_secret_arns"])
4535
+ check_type(argname="argument secrets_role_arn", value=secrets_role_arn, expected_type=type_hints["secrets_role_arn"])
4536
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4537
+ "cdn_identifier_secret_arns": cdn_identifier_secret_arns,
4538
+ "secrets_role_arn": secrets_role_arn,
4539
+ }
4540
+
4541
+ @builtins.property
4542
+ def cdn_identifier_secret_arns(self) -> typing.List[builtins.str]:
4543
+ '''The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
4544
+
4545
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpointpolicy-cdnauthconfiguration.html#cfn-mediapackagev2-originendpointpolicy-cdnauthconfiguration-cdnidentifiersecretarns
4546
+ '''
4547
+ result = self._values.get("cdn_identifier_secret_arns")
4548
+ assert result is not None, "Required property 'cdn_identifier_secret_arns' is missing"
4549
+ return typing.cast(typing.List[builtins.str], result)
4550
+
4551
+ @builtins.property
4552
+ def secrets_role_arn(self) -> builtins.str:
4553
+ '''The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
4554
+
4555
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpointpolicy-cdnauthconfiguration.html#cfn-mediapackagev2-originendpointpolicy-cdnauthconfiguration-secretsrolearn
4556
+ '''
4557
+ result = self._values.get("secrets_role_arn")
4558
+ assert result is not None, "Required property 'secrets_role_arn' is missing"
4559
+ return typing.cast(builtins.str, result)
4560
+
4561
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4562
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4563
+
4564
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4565
+ return not (rhs == self)
4566
+
4567
+ def __repr__(self) -> str:
4568
+ return "CdnAuthConfigurationProperty(%s)" % ", ".join(
4569
+ k + "=" + repr(v) for k, v in self._values.items()
4570
+ )
4571
+
4416
4572
 
4417
4573
  @jsii.data_type(
4418
4574
  jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointPolicyProps",
@@ -4422,6 +4578,7 @@ class CfnOriginEndpointPolicy(
4422
4578
  "channel_name": "channelName",
4423
4579
  "origin_endpoint_name": "originEndpointName",
4424
4580
  "policy": "policy",
4581
+ "cdn_auth_configuration": "cdnAuthConfiguration",
4425
4582
  },
4426
4583
  )
4427
4584
  class CfnOriginEndpointPolicyProps:
@@ -4432,6 +4589,7 @@ class CfnOriginEndpointPolicyProps:
4432
4589
  channel_name: builtins.str,
4433
4590
  origin_endpoint_name: builtins.str,
4434
4591
  policy: typing.Any,
4592
+ cdn_auth_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpointPolicy.CdnAuthConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4435
4593
  ) -> None:
4436
4594
  '''Properties for defining a ``CfnOriginEndpointPolicy``.
4437
4595
 
@@ -4439,6 +4597,7 @@ class CfnOriginEndpointPolicyProps:
4439
4597
  :param channel_name: The channel name associated with the origin endpoint policy.
4440
4598
  :param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
4441
4599
  :param policy: The policy associated with the origin endpoint.
4600
+ :param cdn_auth_configuration: The settings to enable CDN authorization headers in MediaPackage.
4442
4601
 
4443
4602
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html
4444
4603
  :exampleMetadata: fixture=_generated
@@ -4455,7 +4614,13 @@ class CfnOriginEndpointPolicyProps:
4455
4614
  channel_group_name="channelGroupName",
4456
4615
  channel_name="channelName",
4457
4616
  origin_endpoint_name="originEndpointName",
4458
- policy=policy
4617
+ policy=policy,
4618
+
4619
+ # the properties below are optional
4620
+ cdn_auth_configuration=mediapackagev2.CfnOriginEndpointPolicy.CdnAuthConfigurationProperty(
4621
+ cdn_identifier_secret_arns=["cdnIdentifierSecretArns"],
4622
+ secrets_role_arn="secretsRoleArn"
4623
+ )
4459
4624
  )
4460
4625
  '''
4461
4626
  if __debug__:
@@ -4464,12 +4629,15 @@ class CfnOriginEndpointPolicyProps:
4464
4629
  check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
4465
4630
  check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
4466
4631
  check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
4632
+ check_type(argname="argument cdn_auth_configuration", value=cdn_auth_configuration, expected_type=type_hints["cdn_auth_configuration"])
4467
4633
  self._values: typing.Dict[builtins.str, typing.Any] = {
4468
4634
  "channel_group_name": channel_group_name,
4469
4635
  "channel_name": channel_name,
4470
4636
  "origin_endpoint_name": origin_endpoint_name,
4471
4637
  "policy": policy,
4472
4638
  }
4639
+ if cdn_auth_configuration is not None:
4640
+ self._values["cdn_auth_configuration"] = cdn_auth_configuration
4473
4641
 
4474
4642
  @builtins.property
4475
4643
  def channel_group_name(self) -> builtins.str:
@@ -4511,6 +4679,17 @@ class CfnOriginEndpointPolicyProps:
4511
4679
  assert result is not None, "Required property 'policy' is missing"
4512
4680
  return typing.cast(typing.Any, result)
4513
4681
 
4682
+ @builtins.property
4683
+ def cdn_auth_configuration(
4684
+ self,
4685
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpointPolicy.CdnAuthConfigurationProperty]]:
4686
+ '''The settings to enable CDN authorization headers in MediaPackage.
4687
+
4688
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-cdnauthconfiguration
4689
+ '''
4690
+ result = self._values.get("cdn_auth_configuration")
4691
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpointPolicy.CdnAuthConfigurationProperty]], result)
4692
+
4514
4693
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4515
4694
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4516
4695
 
@@ -4724,6 +4903,7 @@ class CfnOriginEndpointProps:
4724
4903
  ),
4725
4904
 
4726
4905
  # the properties below are optional
4906
+ cmaf_exclude_segment_drm_metadata=False,
4727
4907
  constant_initialization_vector="constantInitializationVector",
4728
4908
  key_rotation_interval_seconds=123
4729
4909
  ),
@@ -5011,6 +5191,7 @@ def _typecheckingstub__52a72049adc4af63f65ccfb6f3c098cecb2b442bbe00bad4a877f2099
5011
5191
  def _typecheckingstub__116c8177c767f1c1239016dd387671ce140ac29b5e59b8e19832080acf68bef5(
5012
5192
  *,
5013
5193
  mqcs_input_switching: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5194
+ preferred_input: typing.Optional[jsii.Number] = None,
5014
5195
  ) -> None:
5015
5196
  """Type checking stubs"""
5016
5197
  pass
@@ -5350,6 +5531,7 @@ def _typecheckingstub__ba68bba2e5edd62f12d66393f036d9e0dc8f60c4705d328714b3a2f95
5350
5531
  *,
5351
5532
  encryption_method: typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.EncryptionMethodProperty, typing.Dict[builtins.str, typing.Any]]],
5352
5533
  speke_key_provider: typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SpekeKeyProviderProperty, typing.Dict[builtins.str, typing.Any]]],
5534
+ cmaf_exclude_segment_drm_metadata: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5353
5535
  constant_initialization_vector: typing.Optional[builtins.str] = None,
5354
5536
  key_rotation_interval_seconds: typing.Optional[jsii.Number] = None,
5355
5537
  ) -> None:
@@ -5465,6 +5647,7 @@ def _typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b
5465
5647
  channel_name: builtins.str,
5466
5648
  origin_endpoint_name: builtins.str,
5467
5649
  policy: typing.Any,
5650
+ cdn_auth_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpointPolicy.CdnAuthConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5468
5651
  ) -> None:
5469
5652
  """Type checking stubs"""
5470
5653
  pass
@@ -5505,12 +5688,27 @@ def _typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b
5505
5688
  """Type checking stubs"""
5506
5689
  pass
5507
5690
 
5691
+ def _typecheckingstub__bb5c350a2cc1621e0ea6d63c230deab544127f834aa0418f2d3ec475c6dfc3d3(
5692
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpointPolicy.CdnAuthConfigurationProperty]],
5693
+ ) -> None:
5694
+ """Type checking stubs"""
5695
+ pass
5696
+
5697
+ def _typecheckingstub__2efc99cbc23753feeba6e611700f7b275a0d9dbb8667ffa3a69bd76404c7768b(
5698
+ *,
5699
+ cdn_identifier_secret_arns: typing.Sequence[builtins.str],
5700
+ secrets_role_arn: builtins.str,
5701
+ ) -> None:
5702
+ """Type checking stubs"""
5703
+ pass
5704
+
5508
5705
  def _typecheckingstub__f894be53e4aa1a8dbf54a25d139b2ffb41422bce69404dd7f536c4f418ceaa35(
5509
5706
  *,
5510
5707
  channel_group_name: builtins.str,
5511
5708
  channel_name: builtins.str,
5512
5709
  origin_endpoint_name: builtins.str,
5513
5710
  policy: typing.Any,
5711
+ cdn_auth_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpointPolicy.CdnAuthConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5514
5712
  ) -> None:
5515
5713
  """Type checking stubs"""
5516
5714
  pass
@@ -2899,7 +2899,8 @@ class CfnEventSubscription(
2899
2899
  event_categories=["eventCategories"],
2900
2900
  sns_topic_arn="snsTopicArn",
2901
2901
  source_ids=["sourceIds"],
2902
- source_type="sourceType"
2902
+ source_type="sourceType",
2903
+ subscription_name="subscriptionName"
2903
2904
  )
2904
2905
  '''
2905
2906
 
@@ -2913,6 +2914,7 @@ class CfnEventSubscription(
2913
2914
  sns_topic_arn: typing.Optional[builtins.str] = None,
2914
2915
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
2915
2916
  source_type: typing.Optional[builtins.str] = None,
2917
+ subscription_name: typing.Optional[builtins.str] = None,
2916
2918
  ) -> None:
2917
2919
  '''
2918
2920
  :param scope: Scope in which this resource is defined.
@@ -2922,6 +2924,7 @@ class CfnEventSubscription(
2922
2924
  :param sns_topic_arn: The topic ARN of the event notification subscription.
2923
2925
  :param source_ids:
2924
2926
  :param source_type: The source type for the event notification subscription.
2927
+ :param subscription_name:
2925
2928
  '''
2926
2929
  if __debug__:
2927
2930
  type_hints = typing.get_type_hints(_typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0cc64fe78)
@@ -2933,6 +2936,7 @@ class CfnEventSubscription(
2933
2936
  sns_topic_arn=sns_topic_arn,
2934
2937
  source_ids=source_ids,
2935
2938
  source_type=source_type,
2939
+ subscription_name=subscription_name,
2936
2940
  )
2937
2941
 
2938
2942
  jsii.create(self.__class__, self, [scope, id, props])
@@ -3051,6 +3055,18 @@ class CfnEventSubscription(
3051
3055
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3052
3056
  jsii.set(self, "sourceType", value) # pyright: ignore[reportArgumentType]
3053
3057
 
3058
+ @builtins.property
3059
+ @jsii.member(jsii_name="subscriptionName")
3060
+ def subscription_name(self) -> typing.Optional[builtins.str]:
3061
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "subscriptionName"))
3062
+
3063
+ @subscription_name.setter
3064
+ def subscription_name(self, value: typing.Optional[builtins.str]) -> None:
3065
+ if __debug__:
3066
+ type_hints = typing.get_type_hints(_typecheckingstub__093da317650d77ec45933024165e4f9a2676b7fdeca4b47386fba06b268a1e67)
3067
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3068
+ jsii.set(self, "subscriptionName", value) # pyright: ignore[reportArgumentType]
3069
+
3054
3070
 
3055
3071
  @jsii.data_type(
3056
3072
  jsii_type="aws-cdk-lib.aws_neptune.CfnEventSubscriptionProps",
@@ -3061,6 +3077,7 @@ class CfnEventSubscription(
3061
3077
  "sns_topic_arn": "snsTopicArn",
3062
3078
  "source_ids": "sourceIds",
3063
3079
  "source_type": "sourceType",
3080
+ "subscription_name": "subscriptionName",
3064
3081
  },
3065
3082
  )
3066
3083
  class CfnEventSubscriptionProps:
@@ -3072,6 +3089,7 @@ class CfnEventSubscriptionProps:
3072
3089
  sns_topic_arn: typing.Optional[builtins.str] = None,
3073
3090
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3074
3091
  source_type: typing.Optional[builtins.str] = None,
3092
+ subscription_name: typing.Optional[builtins.str] = None,
3075
3093
  ) -> None:
3076
3094
  '''Properties for defining a ``CfnEventSubscription``.
3077
3095
 
@@ -3080,6 +3098,7 @@ class CfnEventSubscriptionProps:
3080
3098
  :param sns_topic_arn: The topic ARN of the event notification subscription.
3081
3099
  :param source_ids:
3082
3100
  :param source_type: The source type for the event notification subscription.
3101
+ :param subscription_name:
3083
3102
 
3084
3103
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html
3085
3104
  :exampleMetadata: fixture=_generated
@@ -3095,7 +3114,8 @@ class CfnEventSubscriptionProps:
3095
3114
  event_categories=["eventCategories"],
3096
3115
  sns_topic_arn="snsTopicArn",
3097
3116
  source_ids=["sourceIds"],
3098
- source_type="sourceType"
3117
+ source_type="sourceType",
3118
+ subscription_name="subscriptionName"
3099
3119
  )
3100
3120
  '''
3101
3121
  if __debug__:
@@ -3105,6 +3125,7 @@ class CfnEventSubscriptionProps:
3105
3125
  check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
3106
3126
  check_type(argname="argument source_ids", value=source_ids, expected_type=type_hints["source_ids"])
3107
3127
  check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
3128
+ check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
3108
3129
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3109
3130
  if enabled is not None:
3110
3131
  self._values["enabled"] = enabled
@@ -3116,6 +3137,8 @@ class CfnEventSubscriptionProps:
3116
3137
  self._values["source_ids"] = source_ids
3117
3138
  if source_type is not None:
3118
3139
  self._values["source_type"] = source_type
3140
+ if subscription_name is not None:
3141
+ self._values["subscription_name"] = subscription_name
3119
3142
 
3120
3143
  @builtins.property
3121
3144
  def enabled(
@@ -3164,6 +3187,14 @@ class CfnEventSubscriptionProps:
3164
3187
  result = self._values.get("source_type")
3165
3188
  return typing.cast(typing.Optional[builtins.str], result)
3166
3189
 
3190
+ @builtins.property
3191
+ def subscription_name(self) -> typing.Optional[builtins.str]:
3192
+ '''
3193
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-subscriptionname
3194
+ '''
3195
+ result = self._values.get("subscription_name")
3196
+ return typing.cast(typing.Optional[builtins.str], result)
3197
+
3167
3198
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3168
3199
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3169
3200
 
@@ -3748,6 +3779,7 @@ def _typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0c
3748
3779
  sns_topic_arn: typing.Optional[builtins.str] = None,
3749
3780
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3750
3781
  source_type: typing.Optional[builtins.str] = None,
3782
+ subscription_name: typing.Optional[builtins.str] = None,
3751
3783
  ) -> None:
3752
3784
  """Type checking stubs"""
3753
3785
  pass
@@ -3794,6 +3826,12 @@ def _typecheckingstub__4743dbdfbbc96ad79cdb0ad58c8eb57c79460b33c86861de97ff6a633
3794
3826
  """Type checking stubs"""
3795
3827
  pass
3796
3828
 
3829
+ def _typecheckingstub__093da317650d77ec45933024165e4f9a2676b7fdeca4b47386fba06b268a1e67(
3830
+ value: typing.Optional[builtins.str],
3831
+ ) -> None:
3832
+ """Type checking stubs"""
3833
+ pass
3834
+
3797
3835
  def _typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28f572237(
3798
3836
  *,
3799
3837
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -3801,6 +3839,7 @@ def _typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28
3801
3839
  sns_topic_arn: typing.Optional[builtins.str] = None,
3802
3840
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3803
3841
  source_type: typing.Optional[builtins.str] = None,
3842
+ subscription_name: typing.Optional[builtins.str] = None,
3804
3843
  ) -> None:
3805
3844
  """Type checking stubs"""
3806
3845
  pass