aws-cdk-lib 2.128.0__py3-none-any.whl → 2.129.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.
- aws_cdk/__init__.py +2 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.128.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +4 -0
- aws_cdk/aws_codepipeline/__init__.py +463 -11
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +157 -12
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +111 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
|
@@ -82,6 +82,8 @@ class CfnChannel(
|
|
|
82
82
|
cfn_channel = mediapackagev2.CfnChannel(self, "MyCfnChannel",
|
|
83
83
|
channel_group_name="channelGroupName",
|
|
84
84
|
channel_name="channelName",
|
|
85
|
+
|
|
86
|
+
# the properties below are optional
|
|
85
87
|
description="description",
|
|
86
88
|
tags=[CfnTag(
|
|
87
89
|
key="key",
|
|
@@ -95,8 +97,8 @@ class CfnChannel(
|
|
|
95
97
|
scope: _constructs_77d1e7e8.Construct,
|
|
96
98
|
id: builtins.str,
|
|
97
99
|
*,
|
|
98
|
-
channel_group_name:
|
|
99
|
-
channel_name:
|
|
100
|
+
channel_group_name: builtins.str,
|
|
101
|
+
channel_name: builtins.str,
|
|
100
102
|
description: typing.Optional[builtins.str] = None,
|
|
101
103
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
102
104
|
) -> None:
|
|
@@ -172,8 +174,7 @@ class CfnChannel(
|
|
|
172
174
|
@builtins.property
|
|
173
175
|
@jsii.member(jsii_name="attrIngestEndpoints")
|
|
174
176
|
def attr_ingest_endpoints(self) -> _IResolvable_da3f097b:
|
|
175
|
-
'''
|
|
176
|
-
|
|
177
|
+
'''
|
|
177
178
|
:cloudformationAttribute: IngestEndpoints
|
|
178
179
|
'''
|
|
179
180
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrIngestEndpoints"))
|
|
@@ -194,12 +195,12 @@ class CfnChannel(
|
|
|
194
195
|
|
|
195
196
|
@builtins.property
|
|
196
197
|
@jsii.member(jsii_name="channelGroupName")
|
|
197
|
-
def channel_group_name(self) ->
|
|
198
|
+
def channel_group_name(self) -> builtins.str:
|
|
198
199
|
'''The name of the channel group associated with the channel configuration.'''
|
|
199
|
-
return typing.cast(
|
|
200
|
+
return typing.cast(builtins.str, jsii.get(self, "channelGroupName"))
|
|
200
201
|
|
|
201
202
|
@channel_group_name.setter
|
|
202
|
-
def channel_group_name(self, value:
|
|
203
|
+
def channel_group_name(self, value: builtins.str) -> None:
|
|
203
204
|
if __debug__:
|
|
204
205
|
type_hints = typing.get_type_hints(_typecheckingstub__9226145b09f87b401f2f5e357dafd5cd14b0b6a288f53bb6f985030a67a2ac8c)
|
|
205
206
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -207,12 +208,12 @@ class CfnChannel(
|
|
|
207
208
|
|
|
208
209
|
@builtins.property
|
|
209
210
|
@jsii.member(jsii_name="channelName")
|
|
210
|
-
def channel_name(self) ->
|
|
211
|
+
def channel_name(self) -> builtins.str:
|
|
211
212
|
'''The name of the channel.'''
|
|
212
|
-
return typing.cast(
|
|
213
|
+
return typing.cast(builtins.str, jsii.get(self, "channelName"))
|
|
213
214
|
|
|
214
215
|
@channel_name.setter
|
|
215
|
-
def channel_name(self, value:
|
|
216
|
+
def channel_name(self, value: builtins.str) -> None:
|
|
216
217
|
if __debug__:
|
|
217
218
|
type_hints = typing.get_type_hints(_typecheckingstub__f1e91bde8ef4635665f6fef9c2cf22478a1d6e8a29ee675d883277fd4eb950f8)
|
|
218
219
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -335,6 +336,8 @@ class CfnChannelGroup(
|
|
|
335
336
|
|
|
336
337
|
cfn_channel_group = mediapackagev2.CfnChannelGroup(self, "MyCfnChannelGroup",
|
|
337
338
|
channel_group_name="channelGroupName",
|
|
339
|
+
|
|
340
|
+
# the properties below are optional
|
|
338
341
|
description="description",
|
|
339
342
|
tags=[CfnTag(
|
|
340
343
|
key="key",
|
|
@@ -348,7 +351,7 @@ class CfnChannelGroup(
|
|
|
348
351
|
scope: _constructs_77d1e7e8.Construct,
|
|
349
352
|
id: builtins.str,
|
|
350
353
|
*,
|
|
351
|
-
channel_group_name:
|
|
354
|
+
channel_group_name: builtins.str,
|
|
352
355
|
description: typing.Optional[builtins.str] = None,
|
|
353
356
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
354
357
|
) -> None:
|
|
@@ -442,12 +445,12 @@ class CfnChannelGroup(
|
|
|
442
445
|
|
|
443
446
|
@builtins.property
|
|
444
447
|
@jsii.member(jsii_name="channelGroupName")
|
|
445
|
-
def channel_group_name(self) ->
|
|
448
|
+
def channel_group_name(self) -> builtins.str:
|
|
446
449
|
'''The name of the channel group.'''
|
|
447
|
-
return typing.cast(
|
|
450
|
+
return typing.cast(builtins.str, jsii.get(self, "channelGroupName"))
|
|
448
451
|
|
|
449
452
|
@channel_group_name.setter
|
|
450
|
-
def channel_group_name(self, value:
|
|
453
|
+
def channel_group_name(self, value: builtins.str) -> None:
|
|
451
454
|
if __debug__:
|
|
452
455
|
type_hints = typing.get_type_hints(_typecheckingstub__ab608f9f2545c6bf246db306be81d4790f5052ef181c364ada9dfba9527799b0)
|
|
453
456
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -493,7 +496,7 @@ class CfnChannelGroupProps:
|
|
|
493
496
|
def __init__(
|
|
494
497
|
self,
|
|
495
498
|
*,
|
|
496
|
-
channel_group_name:
|
|
499
|
+
channel_group_name: builtins.str,
|
|
497
500
|
description: typing.Optional[builtins.str] = None,
|
|
498
501
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
499
502
|
) -> None:
|
|
@@ -514,6 +517,8 @@ class CfnChannelGroupProps:
|
|
|
514
517
|
|
|
515
518
|
cfn_channel_group_props = mediapackagev2.CfnChannelGroupProps(
|
|
516
519
|
channel_group_name="channelGroupName",
|
|
520
|
+
|
|
521
|
+
# the properties below are optional
|
|
517
522
|
description="description",
|
|
518
523
|
tags=[CfnTag(
|
|
519
524
|
key="key",
|
|
@@ -526,22 +531,23 @@ class CfnChannelGroupProps:
|
|
|
526
531
|
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
527
532
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
528
533
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
529
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
530
|
-
|
|
531
|
-
|
|
534
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
535
|
+
"channel_group_name": channel_group_name,
|
|
536
|
+
}
|
|
532
537
|
if description is not None:
|
|
533
538
|
self._values["description"] = description
|
|
534
539
|
if tags is not None:
|
|
535
540
|
self._values["tags"] = tags
|
|
536
541
|
|
|
537
542
|
@builtins.property
|
|
538
|
-
def channel_group_name(self) ->
|
|
543
|
+
def channel_group_name(self) -> builtins.str:
|
|
539
544
|
'''The name of the channel group.
|
|
540
545
|
|
|
541
546
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html#cfn-mediapackagev2-channelgroup-channelgroupname
|
|
542
547
|
'''
|
|
543
548
|
result = self._values.get("channel_group_name")
|
|
544
|
-
|
|
549
|
+
assert result is not None, "Required property 'channel_group_name' is missing"
|
|
550
|
+
return typing.cast(builtins.str, result)
|
|
545
551
|
|
|
546
552
|
@builtins.property
|
|
547
553
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -594,11 +600,9 @@ class CfnChannelPolicy(
|
|
|
594
600
|
# policy: Any
|
|
595
601
|
|
|
596
602
|
cfn_channel_policy = mediapackagev2.CfnChannelPolicy(self, "MyCfnChannelPolicy",
|
|
597
|
-
policy=policy,
|
|
598
|
-
|
|
599
|
-
# the properties below are optional
|
|
600
603
|
channel_group_name="channelGroupName",
|
|
601
|
-
channel_name="channelName"
|
|
604
|
+
channel_name="channelName",
|
|
605
|
+
policy=policy
|
|
602
606
|
)
|
|
603
607
|
'''
|
|
604
608
|
|
|
@@ -607,25 +611,25 @@ class CfnChannelPolicy(
|
|
|
607
611
|
scope: _constructs_77d1e7e8.Construct,
|
|
608
612
|
id: builtins.str,
|
|
609
613
|
*,
|
|
614
|
+
channel_group_name: builtins.str,
|
|
615
|
+
channel_name: builtins.str,
|
|
610
616
|
policy: typing.Any,
|
|
611
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
612
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
613
617
|
) -> None:
|
|
614
618
|
'''
|
|
615
619
|
:param scope: Scope in which this resource is defined.
|
|
616
620
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
617
|
-
:param policy: The policy associated with the channel.
|
|
618
621
|
:param channel_group_name: The name of the channel group associated with the channel policy.
|
|
619
622
|
:param channel_name: The name of the channel associated with the channel policy.
|
|
623
|
+
:param policy: The policy associated with the channel.
|
|
620
624
|
'''
|
|
621
625
|
if __debug__:
|
|
622
626
|
type_hints = typing.get_type_hints(_typecheckingstub__b3bd3df241e2da49b066856cd5205c086667bdeae2c7accc2fb87dc6c27afcca)
|
|
623
627
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
624
628
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
625
629
|
props = CfnChannelPolicyProps(
|
|
626
|
-
policy=policy,
|
|
627
630
|
channel_group_name=channel_group_name,
|
|
628
631
|
channel_name=channel_name,
|
|
632
|
+
policy=policy,
|
|
629
633
|
)
|
|
630
634
|
|
|
631
635
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -665,27 +669,14 @@ class CfnChannelPolicy(
|
|
|
665
669
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
666
670
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
667
671
|
|
|
668
|
-
@builtins.property
|
|
669
|
-
@jsii.member(jsii_name="policy")
|
|
670
|
-
def policy(self) -> typing.Any:
|
|
671
|
-
'''The policy associated with the channel.'''
|
|
672
|
-
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
673
|
-
|
|
674
|
-
@policy.setter
|
|
675
|
-
def policy(self, value: typing.Any) -> None:
|
|
676
|
-
if __debug__:
|
|
677
|
-
type_hints = typing.get_type_hints(_typecheckingstub__9f9e54d124a239f2e45623971b96e9da027d679f90368ed2a8e63d67a707784f)
|
|
678
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
679
|
-
jsii.set(self, "policy", value)
|
|
680
|
-
|
|
681
672
|
@builtins.property
|
|
682
673
|
@jsii.member(jsii_name="channelGroupName")
|
|
683
|
-
def channel_group_name(self) ->
|
|
674
|
+
def channel_group_name(self) -> builtins.str:
|
|
684
675
|
'''The name of the channel group associated with the channel policy.'''
|
|
685
|
-
return typing.cast(
|
|
676
|
+
return typing.cast(builtins.str, jsii.get(self, "channelGroupName"))
|
|
686
677
|
|
|
687
678
|
@channel_group_name.setter
|
|
688
|
-
def channel_group_name(self, value:
|
|
679
|
+
def channel_group_name(self, value: builtins.str) -> None:
|
|
689
680
|
if __debug__:
|
|
690
681
|
type_hints = typing.get_type_hints(_typecheckingstub__fb6da332e5cbe78bc72a7af1de80f930372aa6490fa2d573b540c4b4050a16b7)
|
|
691
682
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -693,40 +684,53 @@ class CfnChannelPolicy(
|
|
|
693
684
|
|
|
694
685
|
@builtins.property
|
|
695
686
|
@jsii.member(jsii_name="channelName")
|
|
696
|
-
def channel_name(self) ->
|
|
687
|
+
def channel_name(self) -> builtins.str:
|
|
697
688
|
'''The name of the channel associated with the channel policy.'''
|
|
698
|
-
return typing.cast(
|
|
689
|
+
return typing.cast(builtins.str, jsii.get(self, "channelName"))
|
|
699
690
|
|
|
700
691
|
@channel_name.setter
|
|
701
|
-
def channel_name(self, value:
|
|
692
|
+
def channel_name(self, value: builtins.str) -> None:
|
|
702
693
|
if __debug__:
|
|
703
694
|
type_hints = typing.get_type_hints(_typecheckingstub__ffc77e98d707d0206432d1f5669baff83936b87558c5f6b3966d25c6d2682bcb)
|
|
704
695
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
705
696
|
jsii.set(self, "channelName", value)
|
|
706
697
|
|
|
698
|
+
@builtins.property
|
|
699
|
+
@jsii.member(jsii_name="policy")
|
|
700
|
+
def policy(self) -> typing.Any:
|
|
701
|
+
'''The policy associated with the channel.'''
|
|
702
|
+
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
703
|
+
|
|
704
|
+
@policy.setter
|
|
705
|
+
def policy(self, value: typing.Any) -> None:
|
|
706
|
+
if __debug__:
|
|
707
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9f9e54d124a239f2e45623971b96e9da027d679f90368ed2a8e63d67a707784f)
|
|
708
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
709
|
+
jsii.set(self, "policy", value)
|
|
710
|
+
|
|
707
711
|
|
|
708
712
|
@jsii.data_type(
|
|
709
713
|
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelPolicyProps",
|
|
710
714
|
jsii_struct_bases=[],
|
|
711
715
|
name_mapping={
|
|
712
|
-
"policy": "policy",
|
|
713
716
|
"channel_group_name": "channelGroupName",
|
|
714
717
|
"channel_name": "channelName",
|
|
718
|
+
"policy": "policy",
|
|
715
719
|
},
|
|
716
720
|
)
|
|
717
721
|
class CfnChannelPolicyProps:
|
|
718
722
|
def __init__(
|
|
719
723
|
self,
|
|
720
724
|
*,
|
|
725
|
+
channel_group_name: builtins.str,
|
|
726
|
+
channel_name: builtins.str,
|
|
721
727
|
policy: typing.Any,
|
|
722
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
723
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
724
728
|
) -> None:
|
|
725
729
|
'''Properties for defining a ``CfnChannelPolicy``.
|
|
726
730
|
|
|
727
|
-
:param policy: The policy associated with the channel.
|
|
728
731
|
:param channel_group_name: The name of the channel group associated with the channel policy.
|
|
729
732
|
:param channel_name: The name of the channel associated with the channel policy.
|
|
733
|
+
:param policy: The policy associated with the channel.
|
|
730
734
|
|
|
731
735
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html
|
|
732
736
|
:exampleMetadata: fixture=_generated
|
|
@@ -740,53 +744,51 @@ class CfnChannelPolicyProps:
|
|
|
740
744
|
# policy: Any
|
|
741
745
|
|
|
742
746
|
cfn_channel_policy_props = mediapackagev2.CfnChannelPolicyProps(
|
|
743
|
-
policy=policy,
|
|
744
|
-
|
|
745
|
-
# the properties below are optional
|
|
746
747
|
channel_group_name="channelGroupName",
|
|
747
|
-
channel_name="channelName"
|
|
748
|
+
channel_name="channelName",
|
|
749
|
+
policy=policy
|
|
748
750
|
)
|
|
749
751
|
'''
|
|
750
752
|
if __debug__:
|
|
751
753
|
type_hints = typing.get_type_hints(_typecheckingstub__3b390a62609d42c685f94c0572af995fa58a878e57dc79822886178cfbe0a33f)
|
|
752
|
-
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
753
754
|
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
754
755
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
756
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
755
757
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
758
|
+
"channel_group_name": channel_group_name,
|
|
759
|
+
"channel_name": channel_name,
|
|
756
760
|
"policy": policy,
|
|
757
761
|
}
|
|
758
|
-
if channel_group_name is not None:
|
|
759
|
-
self._values["channel_group_name"] = channel_group_name
|
|
760
|
-
if channel_name is not None:
|
|
761
|
-
self._values["channel_name"] = channel_name
|
|
762
|
-
|
|
763
|
-
@builtins.property
|
|
764
|
-
def policy(self) -> typing.Any:
|
|
765
|
-
'''The policy associated with the channel.
|
|
766
|
-
|
|
767
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-policy
|
|
768
|
-
'''
|
|
769
|
-
result = self._values.get("policy")
|
|
770
|
-
assert result is not None, "Required property 'policy' is missing"
|
|
771
|
-
return typing.cast(typing.Any, result)
|
|
772
762
|
|
|
773
763
|
@builtins.property
|
|
774
|
-
def channel_group_name(self) ->
|
|
764
|
+
def channel_group_name(self) -> builtins.str:
|
|
775
765
|
'''The name of the channel group associated with the channel policy.
|
|
776
766
|
|
|
777
767
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-channelgroupname
|
|
778
768
|
'''
|
|
779
769
|
result = self._values.get("channel_group_name")
|
|
780
|
-
|
|
770
|
+
assert result is not None, "Required property 'channel_group_name' is missing"
|
|
771
|
+
return typing.cast(builtins.str, result)
|
|
781
772
|
|
|
782
773
|
@builtins.property
|
|
783
|
-
def channel_name(self) ->
|
|
774
|
+
def channel_name(self) -> builtins.str:
|
|
784
775
|
'''The name of the channel associated with the channel policy.
|
|
785
776
|
|
|
786
777
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-channelname
|
|
787
778
|
'''
|
|
788
779
|
result = self._values.get("channel_name")
|
|
789
|
-
|
|
780
|
+
assert result is not None, "Required property 'channel_name' is missing"
|
|
781
|
+
return typing.cast(builtins.str, result)
|
|
782
|
+
|
|
783
|
+
@builtins.property
|
|
784
|
+
def policy(self) -> typing.Any:
|
|
785
|
+
'''The policy associated with the channel.
|
|
786
|
+
|
|
787
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-policy
|
|
788
|
+
'''
|
|
789
|
+
result = self._values.get("policy")
|
|
790
|
+
assert result is not None, "Required property 'policy' is missing"
|
|
791
|
+
return typing.cast(typing.Any, result)
|
|
790
792
|
|
|
791
793
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
792
794
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -814,8 +816,8 @@ class CfnChannelProps:
|
|
|
814
816
|
def __init__(
|
|
815
817
|
self,
|
|
816
818
|
*,
|
|
817
|
-
channel_group_name:
|
|
818
|
-
channel_name:
|
|
819
|
+
channel_group_name: builtins.str,
|
|
820
|
+
channel_name: builtins.str,
|
|
819
821
|
description: typing.Optional[builtins.str] = None,
|
|
820
822
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
821
823
|
) -> None:
|
|
@@ -838,6 +840,8 @@ class CfnChannelProps:
|
|
|
838
840
|
cfn_channel_props = mediapackagev2.CfnChannelProps(
|
|
839
841
|
channel_group_name="channelGroupName",
|
|
840
842
|
channel_name="channelName",
|
|
843
|
+
|
|
844
|
+
# the properties below are optional
|
|
841
845
|
description="description",
|
|
842
846
|
tags=[CfnTag(
|
|
843
847
|
key="key",
|
|
@@ -851,33 +855,34 @@ class CfnChannelProps:
|
|
|
851
855
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
852
856
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
853
857
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
854
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
self._values["channel_name"] = channel_name
|
|
858
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
859
|
+
"channel_group_name": channel_group_name,
|
|
860
|
+
"channel_name": channel_name,
|
|
861
|
+
}
|
|
859
862
|
if description is not None:
|
|
860
863
|
self._values["description"] = description
|
|
861
864
|
if tags is not None:
|
|
862
865
|
self._values["tags"] = tags
|
|
863
866
|
|
|
864
867
|
@builtins.property
|
|
865
|
-
def channel_group_name(self) ->
|
|
868
|
+
def channel_group_name(self) -> builtins.str:
|
|
866
869
|
'''The name of the channel group associated with the channel configuration.
|
|
867
870
|
|
|
868
871
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelgroupname
|
|
869
872
|
'''
|
|
870
873
|
result = self._values.get("channel_group_name")
|
|
871
|
-
|
|
874
|
+
assert result is not None, "Required property 'channel_group_name' is missing"
|
|
875
|
+
return typing.cast(builtins.str, result)
|
|
872
876
|
|
|
873
877
|
@builtins.property
|
|
874
|
-
def channel_name(self) ->
|
|
878
|
+
def channel_name(self) -> builtins.str:
|
|
875
879
|
'''The name of the channel.
|
|
876
880
|
|
|
877
881
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelname
|
|
878
882
|
'''
|
|
879
883
|
result = self._values.get("channel_name")
|
|
880
|
-
|
|
884
|
+
assert result is not None, "Required property 'channel_name' is missing"
|
|
885
|
+
return typing.cast(builtins.str, result)
|
|
881
886
|
|
|
882
887
|
@builtins.property
|
|
883
888
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -928,11 +933,12 @@ class CfnOriginEndpoint(
|
|
|
928
933
|
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
929
934
|
|
|
930
935
|
cfn_origin_endpoint = mediapackagev2.CfnOriginEndpoint(self, "MyCfnOriginEndpoint",
|
|
931
|
-
container_type="containerType",
|
|
932
|
-
|
|
933
|
-
# the properties below are optional
|
|
934
936
|
channel_group_name="channelGroupName",
|
|
935
937
|
channel_name="channelName",
|
|
938
|
+
origin_endpoint_name="originEndpointName",
|
|
939
|
+
|
|
940
|
+
# the properties below are optional
|
|
941
|
+
container_type="containerType",
|
|
936
942
|
description="description",
|
|
937
943
|
hls_manifests=[mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
|
|
938
944
|
manifest_name="manifestName",
|
|
@@ -970,7 +976,6 @@ class CfnOriginEndpoint(
|
|
|
970
976
|
),
|
|
971
977
|
url="url"
|
|
972
978
|
)],
|
|
973
|
-
origin_endpoint_name="originEndpointName",
|
|
974
979
|
segment=mediapackagev2.CfnOriginEndpoint.SegmentProperty(
|
|
975
980
|
encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
976
981
|
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
@@ -1014,13 +1019,13 @@ class CfnOriginEndpoint(
|
|
|
1014
1019
|
scope: _constructs_77d1e7e8.Construct,
|
|
1015
1020
|
id: builtins.str,
|
|
1016
1021
|
*,
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1022
|
+
channel_group_name: builtins.str,
|
|
1023
|
+
channel_name: builtins.str,
|
|
1024
|
+
origin_endpoint_name: builtins.str,
|
|
1025
|
+
container_type: typing.Optional[builtins.str] = None,
|
|
1020
1026
|
description: typing.Optional[builtins.str] = None,
|
|
1021
1027
|
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.HlsManifestConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1022
1028
|
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1023
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
1024
1029
|
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.SegmentProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1025
1030
|
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
1026
1031
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1028,13 +1033,13 @@ class CfnOriginEndpoint(
|
|
|
1028
1033
|
'''
|
|
1029
1034
|
:param scope: Scope in which this resource is defined.
|
|
1030
1035
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1031
|
-
:param container_type: The container type associated with the origin endpoint configuration.
|
|
1032
1036
|
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
1033
1037
|
:param channel_name: The channel name associated with the origin endpoint.
|
|
1038
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
1039
|
+
:param container_type: The container type associated with the origin endpoint configuration.
|
|
1034
1040
|
:param description: The description associated with the origin endpoint.
|
|
1035
1041
|
:param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
|
|
1036
1042
|
:param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
|
|
1037
|
-
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
1038
1043
|
:param segment: The segment associated with the origin endpoint.
|
|
1039
1044
|
:param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
|
|
1040
1045
|
:param tags: The tags associated with the origin endpoint.
|
|
@@ -1044,13 +1049,13 @@ class CfnOriginEndpoint(
|
|
|
1044
1049
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1045
1050
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1046
1051
|
props = CfnOriginEndpointProps(
|
|
1047
|
-
container_type=container_type,
|
|
1048
1052
|
channel_group_name=channel_group_name,
|
|
1049
1053
|
channel_name=channel_name,
|
|
1054
|
+
origin_endpoint_name=origin_endpoint_name,
|
|
1055
|
+
container_type=container_type,
|
|
1050
1056
|
description=description,
|
|
1051
1057
|
hls_manifests=hls_manifests,
|
|
1052
1058
|
low_latency_hls_manifests=low_latency_hls_manifests,
|
|
1053
|
-
origin_endpoint_name=origin_endpoint_name,
|
|
1054
1059
|
segment=segment,
|
|
1055
1060
|
startover_window_seconds=startover_window_seconds,
|
|
1056
1061
|
tags=tags,
|
|
@@ -1120,27 +1125,14 @@ class CfnOriginEndpoint(
|
|
|
1120
1125
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1121
1126
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1122
1127
|
|
|
1123
|
-
@builtins.property
|
|
1124
|
-
@jsii.member(jsii_name="containerType")
|
|
1125
|
-
def container_type(self) -> builtins.str:
|
|
1126
|
-
'''The container type associated with the origin endpoint configuration.'''
|
|
1127
|
-
return typing.cast(builtins.str, jsii.get(self, "containerType"))
|
|
1128
|
-
|
|
1129
|
-
@container_type.setter
|
|
1130
|
-
def container_type(self, value: builtins.str) -> None:
|
|
1131
|
-
if __debug__:
|
|
1132
|
-
type_hints = typing.get_type_hints(_typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6)
|
|
1133
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1134
|
-
jsii.set(self, "containerType", value)
|
|
1135
|
-
|
|
1136
1128
|
@builtins.property
|
|
1137
1129
|
@jsii.member(jsii_name="channelGroupName")
|
|
1138
|
-
def channel_group_name(self) ->
|
|
1130
|
+
def channel_group_name(self) -> builtins.str:
|
|
1139
1131
|
'''The name of the channel group associated with the origin endpoint configuration.'''
|
|
1140
|
-
return typing.cast(
|
|
1132
|
+
return typing.cast(builtins.str, jsii.get(self, "channelGroupName"))
|
|
1141
1133
|
|
|
1142
1134
|
@channel_group_name.setter
|
|
1143
|
-
def channel_group_name(self, value:
|
|
1135
|
+
def channel_group_name(self, value: builtins.str) -> None:
|
|
1144
1136
|
if __debug__:
|
|
1145
1137
|
type_hints = typing.get_type_hints(_typecheckingstub__7078125edd1beb221f7e3a35a200ce058d31cb41756eb7b1dca1af5dfe90c96f)
|
|
1146
1138
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1148,17 +1140,43 @@ class CfnOriginEndpoint(
|
|
|
1148
1140
|
|
|
1149
1141
|
@builtins.property
|
|
1150
1142
|
@jsii.member(jsii_name="channelName")
|
|
1151
|
-
def channel_name(self) ->
|
|
1143
|
+
def channel_name(self) -> builtins.str:
|
|
1152
1144
|
'''The channel name associated with the origin endpoint.'''
|
|
1153
|
-
return typing.cast(
|
|
1145
|
+
return typing.cast(builtins.str, jsii.get(self, "channelName"))
|
|
1154
1146
|
|
|
1155
1147
|
@channel_name.setter
|
|
1156
|
-
def channel_name(self, value:
|
|
1148
|
+
def channel_name(self, value: builtins.str) -> None:
|
|
1157
1149
|
if __debug__:
|
|
1158
1150
|
type_hints = typing.get_type_hints(_typecheckingstub__300d202906247d29b698e05c2891ad6a3e8f72748a5cb046f44ee1cde390954a)
|
|
1159
1151
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1160
1152
|
jsii.set(self, "channelName", value)
|
|
1161
1153
|
|
|
1154
|
+
@builtins.property
|
|
1155
|
+
@jsii.member(jsii_name="originEndpointName")
|
|
1156
|
+
def origin_endpoint_name(self) -> builtins.str:
|
|
1157
|
+
'''The name of the origin endpoint associated with the origin endpoint configuration.'''
|
|
1158
|
+
return typing.cast(builtins.str, jsii.get(self, "originEndpointName"))
|
|
1159
|
+
|
|
1160
|
+
@origin_endpoint_name.setter
|
|
1161
|
+
def origin_endpoint_name(self, value: builtins.str) -> None:
|
|
1162
|
+
if __debug__:
|
|
1163
|
+
type_hints = typing.get_type_hints(_typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb)
|
|
1164
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1165
|
+
jsii.set(self, "originEndpointName", value)
|
|
1166
|
+
|
|
1167
|
+
@builtins.property
|
|
1168
|
+
@jsii.member(jsii_name="containerType")
|
|
1169
|
+
def container_type(self) -> typing.Optional[builtins.str]:
|
|
1170
|
+
'''The container type associated with the origin endpoint configuration.'''
|
|
1171
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "containerType"))
|
|
1172
|
+
|
|
1173
|
+
@container_type.setter
|
|
1174
|
+
def container_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
1175
|
+
if __debug__:
|
|
1176
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6)
|
|
1177
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1178
|
+
jsii.set(self, "containerType", value)
|
|
1179
|
+
|
|
1162
1180
|
@builtins.property
|
|
1163
1181
|
@jsii.member(jsii_name="description")
|
|
1164
1182
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -1208,19 +1226,6 @@ class CfnOriginEndpoint(
|
|
|
1208
1226
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1209
1227
|
jsii.set(self, "lowLatencyHlsManifests", value)
|
|
1210
1228
|
|
|
1211
|
-
@builtins.property
|
|
1212
|
-
@jsii.member(jsii_name="originEndpointName")
|
|
1213
|
-
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
1214
|
-
'''The name of the origin endpoint associated with the origin endpoint configuration.'''
|
|
1215
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "originEndpointName"))
|
|
1216
|
-
|
|
1217
|
-
@origin_endpoint_name.setter
|
|
1218
|
-
def origin_endpoint_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1219
|
-
if __debug__:
|
|
1220
|
-
type_hints = typing.get_type_hints(_typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb)
|
|
1221
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1222
|
-
jsii.set(self, "originEndpointName", value)
|
|
1223
|
-
|
|
1224
1229
|
@builtins.property
|
|
1225
1230
|
@jsii.member(jsii_name="segment")
|
|
1226
1231
|
def segment(
|
|
@@ -2459,12 +2464,10 @@ class CfnOriginEndpointPolicy(
|
|
|
2459
2464
|
# policy: Any
|
|
2460
2465
|
|
|
2461
2466
|
cfn_origin_endpoint_policy = mediapackagev2.CfnOriginEndpointPolicy(self, "MyCfnOriginEndpointPolicy",
|
|
2462
|
-
policy=policy,
|
|
2463
|
-
|
|
2464
|
-
# the properties below are optional
|
|
2465
2467
|
channel_group_name="channelGroupName",
|
|
2466
2468
|
channel_name="channelName",
|
|
2467
|
-
origin_endpoint_name="originEndpointName"
|
|
2469
|
+
origin_endpoint_name="originEndpointName",
|
|
2470
|
+
policy=policy
|
|
2468
2471
|
)
|
|
2469
2472
|
'''
|
|
2470
2473
|
|
|
@@ -2473,28 +2476,28 @@ class CfnOriginEndpointPolicy(
|
|
|
2473
2476
|
scope: _constructs_77d1e7e8.Construct,
|
|
2474
2477
|
id: builtins.str,
|
|
2475
2478
|
*,
|
|
2479
|
+
channel_group_name: builtins.str,
|
|
2480
|
+
channel_name: builtins.str,
|
|
2481
|
+
origin_endpoint_name: builtins.str,
|
|
2476
2482
|
policy: typing.Any,
|
|
2477
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2478
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
2479
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2480
2483
|
) -> None:
|
|
2481
2484
|
'''
|
|
2482
2485
|
:param scope: Scope in which this resource is defined.
|
|
2483
2486
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2484
|
-
:param policy: The policy associated with the origin endpoint.
|
|
2485
2487
|
:param channel_group_name: The name of the channel group associated with the origin endpoint policy.
|
|
2486
2488
|
:param channel_name: The channel name associated with the origin endpoint policy.
|
|
2487
2489
|
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
|
|
2490
|
+
:param policy: The policy associated with the origin endpoint.
|
|
2488
2491
|
'''
|
|
2489
2492
|
if __debug__:
|
|
2490
2493
|
type_hints = typing.get_type_hints(_typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b6745377)
|
|
2491
2494
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2492
2495
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2493
2496
|
props = CfnOriginEndpointPolicyProps(
|
|
2494
|
-
policy=policy,
|
|
2495
2497
|
channel_group_name=channel_group_name,
|
|
2496
2498
|
channel_name=channel_name,
|
|
2497
2499
|
origin_endpoint_name=origin_endpoint_name,
|
|
2500
|
+
policy=policy,
|
|
2498
2501
|
)
|
|
2499
2502
|
|
|
2500
2503
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -2534,27 +2537,14 @@ class CfnOriginEndpointPolicy(
|
|
|
2534
2537
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2535
2538
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2536
2539
|
|
|
2537
|
-
@builtins.property
|
|
2538
|
-
@jsii.member(jsii_name="policy")
|
|
2539
|
-
def policy(self) -> typing.Any:
|
|
2540
|
-
'''The policy associated with the origin endpoint.'''
|
|
2541
|
-
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
2542
|
-
|
|
2543
|
-
@policy.setter
|
|
2544
|
-
def policy(self, value: typing.Any) -> None:
|
|
2545
|
-
if __debug__:
|
|
2546
|
-
type_hints = typing.get_type_hints(_typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b23af07b)
|
|
2547
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2548
|
-
jsii.set(self, "policy", value)
|
|
2549
|
-
|
|
2550
2540
|
@builtins.property
|
|
2551
2541
|
@jsii.member(jsii_name="channelGroupName")
|
|
2552
|
-
def channel_group_name(self) ->
|
|
2542
|
+
def channel_group_name(self) -> builtins.str:
|
|
2553
2543
|
'''The name of the channel group associated with the origin endpoint policy.'''
|
|
2554
|
-
return typing.cast(
|
|
2544
|
+
return typing.cast(builtins.str, jsii.get(self, "channelGroupName"))
|
|
2555
2545
|
|
|
2556
2546
|
@channel_group_name.setter
|
|
2557
|
-
def channel_group_name(self, value:
|
|
2547
|
+
def channel_group_name(self, value: builtins.str) -> None:
|
|
2558
2548
|
if __debug__:
|
|
2559
2549
|
type_hints = typing.get_type_hints(_typecheckingstub__ece6fe1f3215cf8ea357ac0ae337fd3ee216bd554b13e1ed66f380a551871cf8)
|
|
2560
2550
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -2562,12 +2552,12 @@ class CfnOriginEndpointPolicy(
|
|
|
2562
2552
|
|
|
2563
2553
|
@builtins.property
|
|
2564
2554
|
@jsii.member(jsii_name="channelName")
|
|
2565
|
-
def channel_name(self) ->
|
|
2555
|
+
def channel_name(self) -> builtins.str:
|
|
2566
2556
|
'''The channel name associated with the origin endpoint policy.'''
|
|
2567
|
-
return typing.cast(
|
|
2557
|
+
return typing.cast(builtins.str, jsii.get(self, "channelName"))
|
|
2568
2558
|
|
|
2569
2559
|
@channel_name.setter
|
|
2570
|
-
def channel_name(self, value:
|
|
2560
|
+
def channel_name(self, value: builtins.str) -> None:
|
|
2571
2561
|
if __debug__:
|
|
2572
2562
|
type_hints = typing.get_type_hints(_typecheckingstub__061507a42f38505f6e3060097229ce610dd50d3f6f96ac0cdbd883d1e13cad8a)
|
|
2573
2563
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -2575,43 +2565,56 @@ class CfnOriginEndpointPolicy(
|
|
|
2575
2565
|
|
|
2576
2566
|
@builtins.property
|
|
2577
2567
|
@jsii.member(jsii_name="originEndpointName")
|
|
2578
|
-
def origin_endpoint_name(self) ->
|
|
2568
|
+
def origin_endpoint_name(self) -> builtins.str:
|
|
2579
2569
|
'''The name of the origin endpoint associated with the origin endpoint policy.'''
|
|
2580
|
-
return typing.cast(
|
|
2570
|
+
return typing.cast(builtins.str, jsii.get(self, "originEndpointName"))
|
|
2581
2571
|
|
|
2582
2572
|
@origin_endpoint_name.setter
|
|
2583
|
-
def origin_endpoint_name(self, value:
|
|
2573
|
+
def origin_endpoint_name(self, value: builtins.str) -> None:
|
|
2584
2574
|
if __debug__:
|
|
2585
2575
|
type_hints = typing.get_type_hints(_typecheckingstub__1a22e35010e441892b8eae01173c80ff68e7e2c1da6f52737a724971f5555743)
|
|
2586
2576
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2587
2577
|
jsii.set(self, "originEndpointName", value)
|
|
2588
2578
|
|
|
2579
|
+
@builtins.property
|
|
2580
|
+
@jsii.member(jsii_name="policy")
|
|
2581
|
+
def policy(self) -> typing.Any:
|
|
2582
|
+
'''The policy associated with the origin endpoint.'''
|
|
2583
|
+
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
2584
|
+
|
|
2585
|
+
@policy.setter
|
|
2586
|
+
def policy(self, value: typing.Any) -> None:
|
|
2587
|
+
if __debug__:
|
|
2588
|
+
type_hints = typing.get_type_hints(_typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b23af07b)
|
|
2589
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2590
|
+
jsii.set(self, "policy", value)
|
|
2591
|
+
|
|
2589
2592
|
|
|
2590
2593
|
@jsii.data_type(
|
|
2591
2594
|
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointPolicyProps",
|
|
2592
2595
|
jsii_struct_bases=[],
|
|
2593
2596
|
name_mapping={
|
|
2594
|
-
"policy": "policy",
|
|
2595
2597
|
"channel_group_name": "channelGroupName",
|
|
2596
2598
|
"channel_name": "channelName",
|
|
2597
2599
|
"origin_endpoint_name": "originEndpointName",
|
|
2600
|
+
"policy": "policy",
|
|
2598
2601
|
},
|
|
2599
2602
|
)
|
|
2600
2603
|
class CfnOriginEndpointPolicyProps:
|
|
2601
2604
|
def __init__(
|
|
2602
2605
|
self,
|
|
2603
2606
|
*,
|
|
2607
|
+
channel_group_name: builtins.str,
|
|
2608
|
+
channel_name: builtins.str,
|
|
2609
|
+
origin_endpoint_name: builtins.str,
|
|
2604
2610
|
policy: typing.Any,
|
|
2605
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2606
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
2607
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2608
2611
|
) -> None:
|
|
2609
2612
|
'''Properties for defining a ``CfnOriginEndpointPolicy``.
|
|
2610
2613
|
|
|
2611
|
-
:param policy: The policy associated with the origin endpoint.
|
|
2612
2614
|
:param channel_group_name: The name of the channel group associated with the origin endpoint policy.
|
|
2613
2615
|
:param channel_name: The channel name associated with the origin endpoint policy.
|
|
2614
2616
|
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
|
|
2617
|
+
:param policy: The policy associated with the origin endpoint.
|
|
2615
2618
|
|
|
2616
2619
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html
|
|
2617
2620
|
:exampleMetadata: fixture=_generated
|
|
@@ -2625,66 +2628,64 @@ class CfnOriginEndpointPolicyProps:
|
|
|
2625
2628
|
# policy: Any
|
|
2626
2629
|
|
|
2627
2630
|
cfn_origin_endpoint_policy_props = mediapackagev2.CfnOriginEndpointPolicyProps(
|
|
2628
|
-
policy=policy,
|
|
2629
|
-
|
|
2630
|
-
# the properties below are optional
|
|
2631
2631
|
channel_group_name="channelGroupName",
|
|
2632
2632
|
channel_name="channelName",
|
|
2633
|
-
origin_endpoint_name="originEndpointName"
|
|
2633
|
+
origin_endpoint_name="originEndpointName",
|
|
2634
|
+
policy=policy
|
|
2634
2635
|
)
|
|
2635
2636
|
'''
|
|
2636
2637
|
if __debug__:
|
|
2637
2638
|
type_hints = typing.get_type_hints(_typecheckingstub__f894be53e4aa1a8dbf54a25d139b2ffb41422bce69404dd7f536c4f418ceaa35)
|
|
2638
|
-
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
2639
2639
|
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
2640
2640
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
2641
2641
|
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
2642
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
2642
2643
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2644
|
+
"channel_group_name": channel_group_name,
|
|
2645
|
+
"channel_name": channel_name,
|
|
2646
|
+
"origin_endpoint_name": origin_endpoint_name,
|
|
2643
2647
|
"policy": policy,
|
|
2644
2648
|
}
|
|
2645
|
-
if channel_group_name is not None:
|
|
2646
|
-
self._values["channel_group_name"] = channel_group_name
|
|
2647
|
-
if channel_name is not None:
|
|
2648
|
-
self._values["channel_name"] = channel_name
|
|
2649
|
-
if origin_endpoint_name is not None:
|
|
2650
|
-
self._values["origin_endpoint_name"] = origin_endpoint_name
|
|
2651
|
-
|
|
2652
|
-
@builtins.property
|
|
2653
|
-
def policy(self) -> typing.Any:
|
|
2654
|
-
'''The policy associated with the origin endpoint.
|
|
2655
|
-
|
|
2656
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-policy
|
|
2657
|
-
'''
|
|
2658
|
-
result = self._values.get("policy")
|
|
2659
|
-
assert result is not None, "Required property 'policy' is missing"
|
|
2660
|
-
return typing.cast(typing.Any, result)
|
|
2661
2649
|
|
|
2662
2650
|
@builtins.property
|
|
2663
|
-
def channel_group_name(self) ->
|
|
2651
|
+
def channel_group_name(self) -> builtins.str:
|
|
2664
2652
|
'''The name of the channel group associated with the origin endpoint policy.
|
|
2665
2653
|
|
|
2666
2654
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-channelgroupname
|
|
2667
2655
|
'''
|
|
2668
2656
|
result = self._values.get("channel_group_name")
|
|
2669
|
-
|
|
2657
|
+
assert result is not None, "Required property 'channel_group_name' is missing"
|
|
2658
|
+
return typing.cast(builtins.str, result)
|
|
2670
2659
|
|
|
2671
2660
|
@builtins.property
|
|
2672
|
-
def channel_name(self) ->
|
|
2661
|
+
def channel_name(self) -> builtins.str:
|
|
2673
2662
|
'''The channel name associated with the origin endpoint policy.
|
|
2674
2663
|
|
|
2675
2664
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-channelname
|
|
2676
2665
|
'''
|
|
2677
2666
|
result = self._values.get("channel_name")
|
|
2678
|
-
|
|
2667
|
+
assert result is not None, "Required property 'channel_name' is missing"
|
|
2668
|
+
return typing.cast(builtins.str, result)
|
|
2679
2669
|
|
|
2680
2670
|
@builtins.property
|
|
2681
|
-
def origin_endpoint_name(self) ->
|
|
2671
|
+
def origin_endpoint_name(self) -> builtins.str:
|
|
2682
2672
|
'''The name of the origin endpoint associated with the origin endpoint policy.
|
|
2683
2673
|
|
|
2684
2674
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-originendpointname
|
|
2685
2675
|
'''
|
|
2686
2676
|
result = self._values.get("origin_endpoint_name")
|
|
2687
|
-
|
|
2677
|
+
assert result is not None, "Required property 'origin_endpoint_name' is missing"
|
|
2678
|
+
return typing.cast(builtins.str, result)
|
|
2679
|
+
|
|
2680
|
+
@builtins.property
|
|
2681
|
+
def policy(self) -> typing.Any:
|
|
2682
|
+
'''The policy associated with the origin endpoint.
|
|
2683
|
+
|
|
2684
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-policy
|
|
2685
|
+
'''
|
|
2686
|
+
result = self._values.get("policy")
|
|
2687
|
+
assert result is not None, "Required property 'policy' is missing"
|
|
2688
|
+
return typing.cast(typing.Any, result)
|
|
2688
2689
|
|
|
2689
2690
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2690
2691
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -2702,13 +2703,13 @@ class CfnOriginEndpointPolicyProps:
|
|
|
2702
2703
|
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointProps",
|
|
2703
2704
|
jsii_struct_bases=[],
|
|
2704
2705
|
name_mapping={
|
|
2705
|
-
"container_type": "containerType",
|
|
2706
2706
|
"channel_group_name": "channelGroupName",
|
|
2707
2707
|
"channel_name": "channelName",
|
|
2708
|
+
"origin_endpoint_name": "originEndpointName",
|
|
2709
|
+
"container_type": "containerType",
|
|
2708
2710
|
"description": "description",
|
|
2709
2711
|
"hls_manifests": "hlsManifests",
|
|
2710
2712
|
"low_latency_hls_manifests": "lowLatencyHlsManifests",
|
|
2711
|
-
"origin_endpoint_name": "originEndpointName",
|
|
2712
2713
|
"segment": "segment",
|
|
2713
2714
|
"startover_window_seconds": "startoverWindowSeconds",
|
|
2714
2715
|
"tags": "tags",
|
|
@@ -2718,26 +2719,26 @@ class CfnOriginEndpointProps:
|
|
|
2718
2719
|
def __init__(
|
|
2719
2720
|
self,
|
|
2720
2721
|
*,
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2722
|
+
channel_group_name: builtins.str,
|
|
2723
|
+
channel_name: builtins.str,
|
|
2724
|
+
origin_endpoint_name: builtins.str,
|
|
2725
|
+
container_type: typing.Optional[builtins.str] = None,
|
|
2724
2726
|
description: typing.Optional[builtins.str] = None,
|
|
2725
2727
|
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2726
2728
|
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2727
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2728
2729
|
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2729
2730
|
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
2730
2731
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2731
2732
|
) -> None:
|
|
2732
2733
|
'''Properties for defining a ``CfnOriginEndpoint``.
|
|
2733
2734
|
|
|
2734
|
-
:param container_type: The container type associated with the origin endpoint configuration.
|
|
2735
2735
|
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
2736
2736
|
:param channel_name: The channel name associated with the origin endpoint.
|
|
2737
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2738
|
+
:param container_type: The container type associated with the origin endpoint configuration.
|
|
2737
2739
|
:param description: The description associated with the origin endpoint.
|
|
2738
2740
|
:param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
|
|
2739
2741
|
:param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
|
|
2740
|
-
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2741
2742
|
:param segment: The segment associated with the origin endpoint.
|
|
2742
2743
|
:param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
|
|
2743
2744
|
:param tags: The tags associated with the origin endpoint.
|
|
@@ -2752,11 +2753,12 @@ class CfnOriginEndpointProps:
|
|
|
2752
2753
|
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2753
2754
|
|
|
2754
2755
|
cfn_origin_endpoint_props = mediapackagev2.CfnOriginEndpointProps(
|
|
2755
|
-
container_type="containerType",
|
|
2756
|
-
|
|
2757
|
-
# the properties below are optional
|
|
2758
2756
|
channel_group_name="channelGroupName",
|
|
2759
2757
|
channel_name="channelName",
|
|
2758
|
+
origin_endpoint_name="originEndpointName",
|
|
2759
|
+
|
|
2760
|
+
# the properties below are optional
|
|
2761
|
+
container_type="containerType",
|
|
2760
2762
|
description="description",
|
|
2761
2763
|
hls_manifests=[mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
|
|
2762
2764
|
manifest_name="manifestName",
|
|
@@ -2794,7 +2796,6 @@ class CfnOriginEndpointProps:
|
|
|
2794
2796
|
),
|
|
2795
2797
|
url="url"
|
|
2796
2798
|
)],
|
|
2797
|
-
origin_endpoint_name="originEndpointName",
|
|
2798
2799
|
segment=mediapackagev2.CfnOriginEndpoint.SegmentProperty(
|
|
2799
2800
|
encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
2800
2801
|
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
@@ -2834,31 +2835,29 @@ class CfnOriginEndpointProps:
|
|
|
2834
2835
|
'''
|
|
2835
2836
|
if __debug__:
|
|
2836
2837
|
type_hints = typing.get_type_hints(_typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de765f62402)
|
|
2837
|
-
check_type(argname="argument container_type", value=container_type, expected_type=type_hints["container_type"])
|
|
2838
2838
|
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
2839
2839
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
2840
|
+
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
2841
|
+
check_type(argname="argument container_type", value=container_type, expected_type=type_hints["container_type"])
|
|
2840
2842
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2841
2843
|
check_type(argname="argument hls_manifests", value=hls_manifests, expected_type=type_hints["hls_manifests"])
|
|
2842
2844
|
check_type(argname="argument low_latency_hls_manifests", value=low_latency_hls_manifests, expected_type=type_hints["low_latency_hls_manifests"])
|
|
2843
|
-
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
2844
2845
|
check_type(argname="argument segment", value=segment, expected_type=type_hints["segment"])
|
|
2845
2846
|
check_type(argname="argument startover_window_seconds", value=startover_window_seconds, expected_type=type_hints["startover_window_seconds"])
|
|
2846
2847
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2847
2848
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2848
|
-
"
|
|
2849
|
+
"channel_group_name": channel_group_name,
|
|
2850
|
+
"channel_name": channel_name,
|
|
2851
|
+
"origin_endpoint_name": origin_endpoint_name,
|
|
2849
2852
|
}
|
|
2850
|
-
if
|
|
2851
|
-
self._values["
|
|
2852
|
-
if channel_name is not None:
|
|
2853
|
-
self._values["channel_name"] = channel_name
|
|
2853
|
+
if container_type is not None:
|
|
2854
|
+
self._values["container_type"] = container_type
|
|
2854
2855
|
if description is not None:
|
|
2855
2856
|
self._values["description"] = description
|
|
2856
2857
|
if hls_manifests is not None:
|
|
2857
2858
|
self._values["hls_manifests"] = hls_manifests
|
|
2858
2859
|
if low_latency_hls_manifests is not None:
|
|
2859
2860
|
self._values["low_latency_hls_manifests"] = low_latency_hls_manifests
|
|
2860
|
-
if origin_endpoint_name is not None:
|
|
2861
|
-
self._values["origin_endpoint_name"] = origin_endpoint_name
|
|
2862
2861
|
if segment is not None:
|
|
2863
2862
|
self._values["segment"] = segment
|
|
2864
2863
|
if startover_window_seconds is not None:
|
|
@@ -2867,31 +2866,42 @@ class CfnOriginEndpointProps:
|
|
|
2867
2866
|
self._values["tags"] = tags
|
|
2868
2867
|
|
|
2869
2868
|
@builtins.property
|
|
2870
|
-
def
|
|
2871
|
-
'''The container type associated with the origin endpoint configuration.
|
|
2872
|
-
|
|
2873
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype
|
|
2874
|
-
'''
|
|
2875
|
-
result = self._values.get("container_type")
|
|
2876
|
-
assert result is not None, "Required property 'container_type' is missing"
|
|
2877
|
-
return typing.cast(builtins.str, result)
|
|
2878
|
-
|
|
2879
|
-
@builtins.property
|
|
2880
|
-
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
2869
|
+
def channel_group_name(self) -> builtins.str:
|
|
2881
2870
|
'''The name of the channel group associated with the origin endpoint configuration.
|
|
2882
2871
|
|
|
2883
2872
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelgroupname
|
|
2884
2873
|
'''
|
|
2885
2874
|
result = self._values.get("channel_group_name")
|
|
2886
|
-
|
|
2875
|
+
assert result is not None, "Required property 'channel_group_name' is missing"
|
|
2876
|
+
return typing.cast(builtins.str, result)
|
|
2887
2877
|
|
|
2888
2878
|
@builtins.property
|
|
2889
|
-
def channel_name(self) ->
|
|
2879
|
+
def channel_name(self) -> builtins.str:
|
|
2890
2880
|
'''The channel name associated with the origin endpoint.
|
|
2891
2881
|
|
|
2892
2882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelname
|
|
2893
2883
|
'''
|
|
2894
2884
|
result = self._values.get("channel_name")
|
|
2885
|
+
assert result is not None, "Required property 'channel_name' is missing"
|
|
2886
|
+
return typing.cast(builtins.str, result)
|
|
2887
|
+
|
|
2888
|
+
@builtins.property
|
|
2889
|
+
def origin_endpoint_name(self) -> builtins.str:
|
|
2890
|
+
'''The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2891
|
+
|
|
2892
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-originendpointname
|
|
2893
|
+
'''
|
|
2894
|
+
result = self._values.get("origin_endpoint_name")
|
|
2895
|
+
assert result is not None, "Required property 'origin_endpoint_name' is missing"
|
|
2896
|
+
return typing.cast(builtins.str, result)
|
|
2897
|
+
|
|
2898
|
+
@builtins.property
|
|
2899
|
+
def container_type(self) -> typing.Optional[builtins.str]:
|
|
2900
|
+
'''The container type associated with the origin endpoint configuration.
|
|
2901
|
+
|
|
2902
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype
|
|
2903
|
+
'''
|
|
2904
|
+
result = self._values.get("container_type")
|
|
2895
2905
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2896
2906
|
|
|
2897
2907
|
@builtins.property
|
|
@@ -2925,15 +2935,6 @@ class CfnOriginEndpointProps:
|
|
|
2925
2935
|
result = self._values.get("low_latency_hls_manifests")
|
|
2926
2936
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty]]]], result)
|
|
2927
2937
|
|
|
2928
|
-
@builtins.property
|
|
2929
|
-
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
2930
|
-
'''The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2931
|
-
|
|
2932
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-originendpointname
|
|
2933
|
-
'''
|
|
2934
|
-
result = self._values.get("origin_endpoint_name")
|
|
2935
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
2936
|
-
|
|
2937
2938
|
@builtins.property
|
|
2938
2939
|
def segment(
|
|
2939
2940
|
self,
|
|
@@ -2996,8 +2997,8 @@ def _typecheckingstub__f5f12d43fb05232f03795c27e5dde1f408f5762e93edacb27e01efb9e
|
|
|
2996
2997
|
scope: _constructs_77d1e7e8.Construct,
|
|
2997
2998
|
id: builtins.str,
|
|
2998
2999
|
*,
|
|
2999
|
-
channel_group_name:
|
|
3000
|
-
channel_name:
|
|
3000
|
+
channel_group_name: builtins.str,
|
|
3001
|
+
channel_name: builtins.str,
|
|
3001
3002
|
description: typing.Optional[builtins.str] = None,
|
|
3002
3003
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3003
3004
|
) -> None:
|
|
@@ -3017,13 +3018,13 @@ def _typecheckingstub__151c82108a0a47810b493e5e882a8c1cee0d53d834da01c686f370947
|
|
|
3017
3018
|
pass
|
|
3018
3019
|
|
|
3019
3020
|
def _typecheckingstub__9226145b09f87b401f2f5e357dafd5cd14b0b6a288f53bb6f985030a67a2ac8c(
|
|
3020
|
-
value:
|
|
3021
|
+
value: builtins.str,
|
|
3021
3022
|
) -> None:
|
|
3022
3023
|
"""Type checking stubs"""
|
|
3023
3024
|
pass
|
|
3024
3025
|
|
|
3025
3026
|
def _typecheckingstub__f1e91bde8ef4635665f6fef9c2cf22478a1d6e8a29ee675d883277fd4eb950f8(
|
|
3026
|
-
value:
|
|
3027
|
+
value: builtins.str,
|
|
3027
3028
|
) -> None:
|
|
3028
3029
|
"""Type checking stubs"""
|
|
3029
3030
|
pass
|
|
@@ -3052,7 +3053,7 @@ def _typecheckingstub__0d830ced0539d40633bba571496a990f327b96c8fb475a589dba800d2
|
|
|
3052
3053
|
scope: _constructs_77d1e7e8.Construct,
|
|
3053
3054
|
id: builtins.str,
|
|
3054
3055
|
*,
|
|
3055
|
-
channel_group_name:
|
|
3056
|
+
channel_group_name: builtins.str,
|
|
3056
3057
|
description: typing.Optional[builtins.str] = None,
|
|
3057
3058
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3058
3059
|
) -> None:
|
|
@@ -3072,7 +3073,7 @@ def _typecheckingstub__15b97c97551c59b98a88e9243bce42e0880ba6021ce928c5162f4d188
|
|
|
3072
3073
|
pass
|
|
3073
3074
|
|
|
3074
3075
|
def _typecheckingstub__ab608f9f2545c6bf246db306be81d4790f5052ef181c364ada9dfba9527799b0(
|
|
3075
|
-
value:
|
|
3076
|
+
value: builtins.str,
|
|
3076
3077
|
) -> None:
|
|
3077
3078
|
"""Type checking stubs"""
|
|
3078
3079
|
pass
|
|
@@ -3091,7 +3092,7 @@ def _typecheckingstub__07fbb1a31d1fae7c89e591bbcc359f5dc55386649647301df2f2e0b4e
|
|
|
3091
3092
|
|
|
3092
3093
|
def _typecheckingstub__c53e8c32bcc3339086fcebea2b9a32198690f58e488775d546eac1d98ce6635e(
|
|
3093
3094
|
*,
|
|
3094
|
-
channel_group_name:
|
|
3095
|
+
channel_group_name: builtins.str,
|
|
3095
3096
|
description: typing.Optional[builtins.str] = None,
|
|
3096
3097
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3097
3098
|
) -> None:
|
|
@@ -3102,9 +3103,9 @@ def _typecheckingstub__b3bd3df241e2da49b066856cd5205c086667bdeae2c7accc2fb87dc6c
|
|
|
3102
3103
|
scope: _constructs_77d1e7e8.Construct,
|
|
3103
3104
|
id: builtins.str,
|
|
3104
3105
|
*,
|
|
3106
|
+
channel_group_name: builtins.str,
|
|
3107
|
+
channel_name: builtins.str,
|
|
3105
3108
|
policy: typing.Any,
|
|
3106
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3107
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
3108
3109
|
) -> None:
|
|
3109
3110
|
"""Type checking stubs"""
|
|
3110
3111
|
pass
|
|
@@ -3121,37 +3122,37 @@ def _typecheckingstub__428a901c1d832a1ec31a5a15117cbe43d42edeb32192ef35e21682ad7
|
|
|
3121
3122
|
"""Type checking stubs"""
|
|
3122
3123
|
pass
|
|
3123
3124
|
|
|
3124
|
-
def
|
|
3125
|
-
value:
|
|
3125
|
+
def _typecheckingstub__fb6da332e5cbe78bc72a7af1de80f930372aa6490fa2d573b540c4b4050a16b7(
|
|
3126
|
+
value: builtins.str,
|
|
3126
3127
|
) -> None:
|
|
3127
3128
|
"""Type checking stubs"""
|
|
3128
3129
|
pass
|
|
3129
3130
|
|
|
3130
|
-
def
|
|
3131
|
-
value:
|
|
3131
|
+
def _typecheckingstub__ffc77e98d707d0206432d1f5669baff83936b87558c5f6b3966d25c6d2682bcb(
|
|
3132
|
+
value: builtins.str,
|
|
3132
3133
|
) -> None:
|
|
3133
3134
|
"""Type checking stubs"""
|
|
3134
3135
|
pass
|
|
3135
3136
|
|
|
3136
|
-
def
|
|
3137
|
-
value: typing.
|
|
3137
|
+
def _typecheckingstub__9f9e54d124a239f2e45623971b96e9da027d679f90368ed2a8e63d67a707784f(
|
|
3138
|
+
value: typing.Any,
|
|
3138
3139
|
) -> None:
|
|
3139
3140
|
"""Type checking stubs"""
|
|
3140
3141
|
pass
|
|
3141
3142
|
|
|
3142
3143
|
def _typecheckingstub__3b390a62609d42c685f94c0572af995fa58a878e57dc79822886178cfbe0a33f(
|
|
3143
3144
|
*,
|
|
3145
|
+
channel_group_name: builtins.str,
|
|
3146
|
+
channel_name: builtins.str,
|
|
3144
3147
|
policy: typing.Any,
|
|
3145
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3146
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
3147
3148
|
) -> None:
|
|
3148
3149
|
"""Type checking stubs"""
|
|
3149
3150
|
pass
|
|
3150
3151
|
|
|
3151
3152
|
def _typecheckingstub__cb84231dfbf08cdefe6ca207d49155a084aa492947c635c5e9ba404f1b3b987f(
|
|
3152
3153
|
*,
|
|
3153
|
-
channel_group_name:
|
|
3154
|
-
channel_name:
|
|
3154
|
+
channel_group_name: builtins.str,
|
|
3155
|
+
channel_name: builtins.str,
|
|
3155
3156
|
description: typing.Optional[builtins.str] = None,
|
|
3156
3157
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3157
3158
|
) -> None:
|
|
@@ -3162,13 +3163,13 @@ def _typecheckingstub__7dba3dfc2892c78e53aee7675a7a24aa25c0b29481aca92446e31a0d8
|
|
|
3162
3163
|
scope: _constructs_77d1e7e8.Construct,
|
|
3163
3164
|
id: builtins.str,
|
|
3164
3165
|
*,
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3166
|
+
channel_group_name: builtins.str,
|
|
3167
|
+
channel_name: builtins.str,
|
|
3168
|
+
origin_endpoint_name: builtins.str,
|
|
3169
|
+
container_type: typing.Optional[builtins.str] = None,
|
|
3168
3170
|
description: typing.Optional[builtins.str] = None,
|
|
3169
3171
|
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3170
3172
|
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3171
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3172
3173
|
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3173
3174
|
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
3174
3175
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3188,19 +3189,25 @@ def _typecheckingstub__bffcdef090bba09d673a36358d5eb3ba86b040c5c727f2f4cc117a5fa
|
|
|
3188
3189
|
"""Type checking stubs"""
|
|
3189
3190
|
pass
|
|
3190
3191
|
|
|
3191
|
-
def
|
|
3192
|
+
def _typecheckingstub__7078125edd1beb221f7e3a35a200ce058d31cb41756eb7b1dca1af5dfe90c96f(
|
|
3192
3193
|
value: builtins.str,
|
|
3193
3194
|
) -> None:
|
|
3194
3195
|
"""Type checking stubs"""
|
|
3195
3196
|
pass
|
|
3196
3197
|
|
|
3197
|
-
def
|
|
3198
|
-
value:
|
|
3198
|
+
def _typecheckingstub__300d202906247d29b698e05c2891ad6a3e8f72748a5cb046f44ee1cde390954a(
|
|
3199
|
+
value: builtins.str,
|
|
3199
3200
|
) -> None:
|
|
3200
3201
|
"""Type checking stubs"""
|
|
3201
3202
|
pass
|
|
3202
3203
|
|
|
3203
|
-
def
|
|
3204
|
+
def _typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb(
|
|
3205
|
+
value: builtins.str,
|
|
3206
|
+
) -> None:
|
|
3207
|
+
"""Type checking stubs"""
|
|
3208
|
+
pass
|
|
3209
|
+
|
|
3210
|
+
def _typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6(
|
|
3204
3211
|
value: typing.Optional[builtins.str],
|
|
3205
3212
|
) -> None:
|
|
3206
3213
|
"""Type checking stubs"""
|
|
@@ -3224,12 +3231,6 @@ def _typecheckingstub__0ab0da83ecaf5e8b2eb477e1a7bb2f955c99813829faeb44ce46e408a
|
|
|
3224
3231
|
"""Type checking stubs"""
|
|
3225
3232
|
pass
|
|
3226
3233
|
|
|
3227
|
-
def _typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb(
|
|
3228
|
-
value: typing.Optional[builtins.str],
|
|
3229
|
-
) -> None:
|
|
3230
|
-
"""Type checking stubs"""
|
|
3231
|
-
pass
|
|
3232
|
-
|
|
3233
3234
|
def _typecheckingstub__761931cab894d0c1a04fe9fe8aad0785de043e26b7f476c427bb231ae9fc1eeb(
|
|
3234
3235
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.SegmentProperty]],
|
|
3235
3236
|
) -> None:
|
|
@@ -3352,10 +3353,10 @@ def _typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b
|
|
|
3352
3353
|
scope: _constructs_77d1e7e8.Construct,
|
|
3353
3354
|
id: builtins.str,
|
|
3354
3355
|
*,
|
|
3356
|
+
channel_group_name: builtins.str,
|
|
3357
|
+
channel_name: builtins.str,
|
|
3358
|
+
origin_endpoint_name: builtins.str,
|
|
3355
3359
|
policy: typing.Any,
|
|
3356
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3357
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
3358
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3359
3360
|
) -> None:
|
|
3360
3361
|
"""Type checking stubs"""
|
|
3361
3362
|
pass
|
|
@@ -3372,49 +3373,49 @@ def _typecheckingstub__9132218ebec80b439a7e6308166a5da9778046634a6a905cd5b916488
|
|
|
3372
3373
|
"""Type checking stubs"""
|
|
3373
3374
|
pass
|
|
3374
3375
|
|
|
3375
|
-
def
|
|
3376
|
-
value:
|
|
3376
|
+
def _typecheckingstub__ece6fe1f3215cf8ea357ac0ae337fd3ee216bd554b13e1ed66f380a551871cf8(
|
|
3377
|
+
value: builtins.str,
|
|
3377
3378
|
) -> None:
|
|
3378
3379
|
"""Type checking stubs"""
|
|
3379
3380
|
pass
|
|
3380
3381
|
|
|
3381
|
-
def
|
|
3382
|
-
value:
|
|
3382
|
+
def _typecheckingstub__061507a42f38505f6e3060097229ce610dd50d3f6f96ac0cdbd883d1e13cad8a(
|
|
3383
|
+
value: builtins.str,
|
|
3383
3384
|
) -> None:
|
|
3384
3385
|
"""Type checking stubs"""
|
|
3385
3386
|
pass
|
|
3386
3387
|
|
|
3387
|
-
def
|
|
3388
|
-
value:
|
|
3388
|
+
def _typecheckingstub__1a22e35010e441892b8eae01173c80ff68e7e2c1da6f52737a724971f5555743(
|
|
3389
|
+
value: builtins.str,
|
|
3389
3390
|
) -> None:
|
|
3390
3391
|
"""Type checking stubs"""
|
|
3391
3392
|
pass
|
|
3392
3393
|
|
|
3393
|
-
def
|
|
3394
|
-
value: typing.
|
|
3394
|
+
def _typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b23af07b(
|
|
3395
|
+
value: typing.Any,
|
|
3395
3396
|
) -> None:
|
|
3396
3397
|
"""Type checking stubs"""
|
|
3397
3398
|
pass
|
|
3398
3399
|
|
|
3399
3400
|
def _typecheckingstub__f894be53e4aa1a8dbf54a25d139b2ffb41422bce69404dd7f536c4f418ceaa35(
|
|
3400
3401
|
*,
|
|
3402
|
+
channel_group_name: builtins.str,
|
|
3403
|
+
channel_name: builtins.str,
|
|
3404
|
+
origin_endpoint_name: builtins.str,
|
|
3401
3405
|
policy: typing.Any,
|
|
3402
|
-
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3403
|
-
channel_name: typing.Optional[builtins.str] = None,
|
|
3404
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3405
3406
|
) -> None:
|
|
3406
3407
|
"""Type checking stubs"""
|
|
3407
3408
|
pass
|
|
3408
3409
|
|
|
3409
3410
|
def _typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de765f62402(
|
|
3410
3411
|
*,
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3412
|
+
channel_group_name: builtins.str,
|
|
3413
|
+
channel_name: builtins.str,
|
|
3414
|
+
origin_endpoint_name: builtins.str,
|
|
3415
|
+
container_type: typing.Optional[builtins.str] = None,
|
|
3414
3416
|
description: typing.Optional[builtins.str] = None,
|
|
3415
3417
|
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3416
3418
|
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3417
|
-
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3418
3419
|
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3419
3420
|
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
3420
3421
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|