interface ChannelPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.ChannelPolicyProps |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#ChannelPolicyProps |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.ChannelPolicyProps |
Python | aws_cdk.aws_mediapackagev2_alpha.ChannelPolicyProps |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป ChannelPolicyProps |
Properties for the Channel Policy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const channel: mediapackagev2_alpha.Channel;
declare const policyDocument: iam.PolicyDocument;
const channelPolicyProps: mediapackagev2_alpha.ChannelPolicyProps = {
channel: channel,
// the properties below are optional
policyDocument: policyDocument,
};
Properties
| Name | Type | Description |
|---|---|---|
| channel | IChannel | Channel to apply the Channel Policy to. |
| policy | Policy | Initial policy document to apply. |
channel
Type:
IChannel
Channel to apply the Channel Policy to.
policyDocument?
Type:
Policy
(optional, default: empty policy document)
Initial policy document to apply.

.NET
Go
Java
Python
TypeScript (