Class CfnChannelPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnChannelPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPolicyPropsMixin>
- Enclosing class:
CfnChannelPolicyPropsMixin
@Stability(Stable)
public static final class CfnChannelPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPolicyPropsMixin>
A fluent builder for
CfnChannelPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelName(String channelName) The name of the channel associated with this Channel Policy.create()create(CfnPropertyMixinOptions options) The IAM policy for the channel.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChannelPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChannelPolicyPropsMixin.Builder.
-
channelName
The name of the channel associated with this Channel Policy.- Parameters:
channelName- The name of the channel associated with this Channel Policy. This parameter is required.- Returns:
this- See Also:
-
policy
The IAM policy for the channel.IAM policies are used to control access to your channel.
- Parameters:
policy- The IAM policy for the channel. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPolicyPropsMixin>- Returns:
- a newly built instance of
CfnChannelPolicyPropsMixin.
-