Skip to content
v2.278.0

Experimental

@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IOriginEndpoint Interface ​

Origin Endpoint interface.

Properties ​

channelGroupNamestringchannel_group_namestrchannelGroupNameStringChannelGroupNamestringChannelGroupName*string #
The name of the channel group associated with the origin endpoint configuration.
channelNamestringchannel_namestrchannelNameStringChannelNamestringChannelName*string #
The channel name associated with the origin endpoint.
createdAtmay be undefinedstringcreated_atmay be undefinedstrcreatedAtmay be undefinedStringCreatedAtmay be undefinedstringCreatedAtmay be undefined*string #
The date and time the origin endpoint was created.
dashManifestUrlsmay be undefinedstring[]dash_manifest_urlsmay be undefinedtyping.List[str]dashManifestUrlsmay be undefinedList<String>DashManifestUrlsmay be undefinedstring[]DashManifestUrlsmay be undefined*[]*string #
The DASH manifest URLs for the origin endpoint.
The environment this resource belongs to.
notes

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

hlsManifestUrlsmay be undefinedstring[]hls_manifest_urlsmay be undefinedtyping.List[str]hlsManifestUrlsmay be undefinedList<String>HlsManifestUrlsmay be undefinedstring[]HlsManifestUrlsmay be undefined*[]*string #
The HLS manifest URLs for the origin endpoint.
lowLatencyHlsManifestUrlsmay be undefinedstring[]low_latency_hls_manifest_urlsmay be undefinedtyping.List[str]lowLatencyHlsManifestUrlsmay be undefinedList<String>LowLatencyHlsManifestUrlsmay be undefinedstring[]LowLatencyHlsManifestUrlsmay be undefined*[]*string #
The Low Latency HLS manifest URLs for the origin endpoint.
modifiedAtmay be undefinedstringmodified_atmay be undefinedstrmodifiedAtmay be undefinedStringModifiedAtmay be undefinedstringModifiedAtmay be undefined*string #
The date and time the origin endpoint was modified.
mssManifestUrlsmay be undefinedstring[]mss_manifest_urlsmay be undefinedtyping.List[str]mssManifestUrlsmay be undefinedList<String>MssManifestUrlsmay be undefinedstring[]MssManifestUrlsmay be undefined*[]*string #
The MSS manifest URLs for the origin endpoint.
nodeNodenodeNodenodeNodeNodeNodeNodeNode #
The tree node.
originEndpointArnstringorigin_endpoint_arnstroriginEndpointArnStringOriginEndpointArnstringOriginEndpointArn*string #
The Amazon Resource Name (ARN) of the origin endpoint.
originEndpointNamestringorigin_endpoint_namestroriginEndpointNameStringOriginEndpointNamestringOriginEndpointName*string #
The name of the origin endpoint associated with the origin endpoint configuration.
originEndpointRefOriginEndpointReferenceorigin_endpoint_refOriginEndpointReferenceoriginEndpointRefOriginEndpointReferenceOriginEndpointRefOriginEndpointReferenceOriginEndpointRefOriginEndpointReference #
A reference to a OriginEndpoint resource.
stackStackstackStackstackStackStackStackStackStack #
The stack in which this resource is defined.

Methods ​

addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResultdef add_to_resource_policy(self, statement: PolicyStatement) -> AddToResourcePolicyResultpublic AddToResourcePolicyResult addToResourcePolicy(PolicyStatement statement)public AddToResourcePolicyResult AddToResourcePolicy(PolicyStatement statement)func AddToResourcePolicy(Statement PolicyStatement) AddToResourcePolicyResult #
Configure origin endpoint policy.

You can only add 1 OriginEndpointPolicy to an OriginEndpoint. If you have already defined one, it will append to the policy already created.

1 parameter

Parameters

  • statementstatementstatementstatementStatement — - The policy statement to add.
applyRemovalPolicy(policy: RemovalPolicy): voiddef apply_removal_policy(self, policy: RemovalPolicy) -> Nonepublic void applyRemovalPolicy(RemovalPolicy policy)public void ApplyRemovalPolicy(RemovalPolicy policy)func ApplyRemovalPolicy(Policy RemovalPolicy) #
Apply the given removal policy to this resource.
notes

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

metric(metricName: string, props?: MetricOptions): Metricdef metric(self, metric_name: str, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metric(String metricName, MetricOptions props)public Metric Metric(string metricName, MetricOptions? props = null)func Metric(MetricName *string, Props MetricOptions) Metric #
Create a CloudWatch metric.
2 parameters

Parameters

  • metricNamemetric_namemetricNamemetricNameMetricName — name of the metric.
  • propspropspropspropsProps — metric options.
metricEgressBytes(props?: MetricOptions): Metricdef metric_egress_bytes(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricEgressBytes(MetricOptions props)public Metric MetricEgressBytes(MetricOptions? props = null)func MetricEgressBytes(Props MetricOptions) Metric #
Returns Metric for Egress Bytes.
metricEgressRequestCount(props?: MetricOptions): Metricdef metric_egress_request_count(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricEgressRequestCount(MetricOptions props)public Metric MetricEgressRequestCount(MetricOptions? props = null)func MetricEgressRequestCount(Props MetricOptions) Metric #
Returns Metric for Egress Request Count.
metricEgressResponseTime(props?: MetricOptions): Metricdef metric_egress_response_time(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricEgressResponseTime(MetricOptions props)public Metric MetricEgressResponseTime(MetricOptions? props = null)func MetricEgressResponseTime(Props MetricOptions) Metric #
Returns Metric for Egress Response time.
metricIngressBytes(options?: MetricOptions): Metricdef metric_ingress_bytes(self, options: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricIngressBytes(MetricOptions options)public Metric MetricIngressBytes(MetricOptions? options = null)func MetricIngressBytes(Options MetricOptions) Metric #
Returns Metric for Ingress Bytes.
metricIngressRequestCount(props?: MetricOptions): Metricdef metric_ingress_request_count(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricIngressRequestCount(MetricOptions props)public Metric MetricIngressRequestCount(MetricOptions? props = null)func MetricIngressRequestCount(Props MetricOptions) Metric #
Returns Metric for Ingress Request Count.
metricIngressResponseTime(props?: MetricOptions): Metricdef metric_ingress_response_time(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricIngressResponseTime(MetricOptions props)public Metric MetricIngressResponseTime(MetricOptions? props = null)func MetricIngressResponseTime(Props MetricOptions) Metric #
Returns Metric for Ingress response time.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct #
Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining