Class CfnChannelPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnChannelPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPolicy>
- Enclosing class:
CfnChannelPolicy
@Stability(Stable)
public static final class CfnChannelPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPolicy>
A fluent builder for
CfnChannelPolicy.-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelName(String channelName) The name of the channel associated with this Channel Policy.static CfnChannelPolicy.BuilderThe IAM policy for the channel.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannelPolicy.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<CfnChannelPolicy>- Returns:
- a newly built instance of
CfnChannelPolicy.
-