interface IOriginEndpoint
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.IOriginEndpoint |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#IOriginEndpoint |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.IOriginEndpoint |
Python | aws_cdk.aws_mediapackagev2_alpha.IOriginEndpoint |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป IOriginEndpoint |
Implements
IDependable, IConstruct, IEnvironment, IResource, IOrigin
Implemented by
Origin
Obtainable from
Origin.fromOriginEndpointAttributes()
Origin Endpoint interface.
Properties
| Name | Type | Description |
|---|---|---|
| channel | string | The name of the channel group associated with the origin endpoint configuration. |
| channel | string | The channel name associated with the origin endpoint. |
| env | Resource | The environment this resource belongs to. |
| node | Node | The tree node. |
| origin | string | The Amazon Resource Name (ARN) of the origin endpoint. |
| origin | string | The name of the origin endpoint associated with the origin endpoint configuration. |
| origin | Origin | A reference to a OriginEndpoint resource. |
| stack | Stack | The stack in which this resource is defined. |
| created | string | The date and time the origin endpoint was created. |
| dash | string[] | The DASH manifest URLs for the origin endpoint. |
| hls | string[] | The HLS manifest URLs for the origin endpoint. |
| low | string[] | The Low Latency HLS manifest URLs for the origin endpoint. |
| modified | string | The date and time the origin endpoint was modified. |
| mss | string[] | The MSS manifest URLs for the origin endpoint. |
channelGroupName
Type:
string
The name of the channel group associated with the origin endpoint configuration.
channelName
Type:
string
The channel name associated with the origin endpoint.
env
Type:
Resource
The environment this resource belongs to.
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.
node
Type:
Node
The tree node.
originEndpointArn
Type:
string
The Amazon Resource Name (ARN) of the origin endpoint.
originEndpointName
Type:
string
The name of the origin endpoint associated with the origin endpoint configuration.
originEndpointRef
Type:
Origin
A reference to a OriginEndpoint resource.
stack
Type:
Stack
The stack in which this resource is defined.
createdAt?
Type:
string
(optional)
The date and time the origin endpoint was created.
dashManifestUrls?
Type:
string[]
(optional)
The DASH manifest URLs for the origin endpoint.
hlsManifestUrls?
Type:
string[]
(optional)
The HLS manifest URLs for the origin endpoint.
lowLatencyHlsManifestUrls?
Type:
string[]
(optional)
The Low Latency HLS manifest URLs for the origin endpoint.
modifiedAt?
Type:
string
(optional)
The date and time the origin endpoint was modified.
mssManifestUrls?
Type:
string[]
(optional)
The MSS manifest URLs for the origin endpoint.
Methods
| Name | Description |
|---|---|
| add | Configure origin endpoint policy. |
| apply | Apply the given removal policy to this resource. |
| metric(metricName, props?) | Create a CloudWatch metric. |
| metric | Returns Metric for Egress Bytes. |
| metric | Returns Metric for Egress Request Count. |
| metric | Returns Metric for Egress Response time. |
| metric | Returns Metric for Ingress Bytes. |
| metric | Returns Metric for Ingress Request Count. |
| metric | Returns Metric for Ingress response time. |
| with(...mixins) | Applies one or more mixins to this construct. |
addToResourcePolicy(statement, cdnAuth?)
public addToResourcePolicy(statement: PolicyStatement, cdnAuth?: CdnAuthConfiguration): AddToResourcePolicyResult
Parameters
- statement
Policyโ - The policy statement to add.Statement - cdnAuth
Cdnโ - Optional CDN authorization configuration.Auth Configuration
Returns
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.
applyRemovalPolicy(policy)
public applyRemovalPolicy(policy: RemovalPolicy): void
Parameters
- policy
RemovalPolicy
Apply the given removal policy to this resource.
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, props?)
public metric(metricName: string, props?: MetricOptions): Metric
Parameters
- metricName
stringโ name of the metric. - props
Metricโ metric options.Options
Returns
Create a CloudWatch metric.
metricEgressBytes(props?)
public metricEgressBytes(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
Returns Metric for Egress Bytes.
metricEgressRequestCount(props?)
public metricEgressRequestCount(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
Returns Metric for Egress Request Count.
metricEgressResponseTime(props?)
public metricEgressResponseTime(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
Returns Metric for Egress Response time.
metricIngressBytes(options?)
public metricIngressBytes(options?: MetricOptions): Metric
Parameters
- options
MetricOptions
Returns
Returns Metric for Ingress Bytes.
metricIngressRequestCount(props?)
public metricIngressRequestCount(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
Returns Metric for Ingress Request Count.
metricIngressResponseTime(props?)
public metricIngressResponseTime(props?: MetricOptions): Metric
Parameters
- props
MetricOptions
Returns
Returns Metric for Ingress response time.
with(...mixins)
public with(...mixins: IMixin[]): IConstruct
Parameters
- mixins
IMixinโ The mixins to apply.
Returns
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.

.NET
Go
Java
Python
TypeScript (