Class CfnChannelPolicyPropsMixin
Specifies an IAM policy for the channel.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnChannelPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnChannelPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins;
var policy;
var cfnChannelPolicyPropsMixin = new CfnChannelPolicyPropsMixin(new CfnChannelPolicyMixinProps {
ChannelName = "channelName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnChannelPolicyPropsMixin(ICfnChannelPolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies an IAM policy for the channel. |
| Props | Specifies an IAM policy for the channel. |
| Strategy | Specifies an IAM policy for the channel. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnChannelPolicyPropsMixin(ICfnChannelPolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::MediaTailor::ChannelPolicy.
public CfnChannelPolicyPropsMixin(ICfnChannelPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnChannelPolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies an IAM policy for the channel.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins;
var policy;
var cfnChannelPolicyPropsMixin = new CfnChannelPolicyPropsMixin(new CfnChannelPolicyMixinProps {
ChannelName = "channelName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Specifies an IAM policy for the channel.
protected virtual ICfnChannelPolicyMixinProps Props { get; }
Property Value
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins;
var policy;
var cfnChannelPolicyPropsMixin = new CfnChannelPolicyPropsMixin(new CfnChannelPolicyMixinProps {
ChannelName = "channelName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Specifies an IAM policy for the channel.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins;
var policy;
var cfnChannelPolicyPropsMixin = new CfnChannelPolicyPropsMixin(new CfnChannelPolicyMixinProps {
ChannelName = "channelName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
IAM policies are used to control access to your channel.
CloudformationResource: AWS::MediaTailor::ChannelPolicy
Mixin: true
ExampleMetadata: fixture=_generated