interface CfnOriginEndpointPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_mediapackagev2.CfnOriginEndpointPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackagev2#CfnOriginEndpointPolicyProps |
Java | software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpointPolicyProps |
Python | aws_cdk.aws_mediapackagev2.CfnOriginEndpointPolicyProps |
TypeScript | aws-cdk-lib » aws_mediapackagev2 » CfnOriginEndpointPolicyProps |
Properties for defining a CfnOriginEndpointPolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
declare const policy: any;
const cfnOriginEndpointPolicyProps: mediapackagev2.CfnOriginEndpointPolicyProps = {
channelGroupName: 'channelGroupName',
channelName: 'channelName',
originEndpointName: 'originEndpointName',
policy: policy,
// the properties below are optional
cdnAuthConfiguration: {
cdnIdentifierSecretArns: ['cdnIdentifierSecretArns'],
secretsRoleArn: 'secretsRoleArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| channel | string | The name of the channel group associated with the origin endpoint policy. |
| channel | string | The channel name associated with the origin endpoint policy. |
| origin | string | The name of the origin endpoint associated with the origin endpoint policy. |
| policy | any | The policy associated with the origin endpoint. |
| cdn | IResolvable | Cdn | The settings to enable CDN authorization headers in MediaPackage. |
channelGroupName
Type:
string
The name of the channel group associated with the origin endpoint policy.
channelName
Type:
string
The channel name associated with the origin endpoint policy.
originEndpointName
Type:
string
The name of the origin endpoint associated with the origin endpoint policy.
policy
Type:
any
The policy associated with the origin endpoint.
cdnAuthConfiguration?
Type:
IResolvable | Cdn
(optional)
The settings to enable CDN authorization headers in MediaPackage.

.NET
Go
Java
Python
TypeScript