Class CfnInput.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput>
- Enclosing class:
- CfnInput
@Stability(Stable)
public static final class CfnInput.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput>
A fluent builder for
CfnInput
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnInput.Builder
destinations
(List<? extends Object> destinations) Settings that apply only if the input is a push type of input.destinations
(IResolvable destinations) Settings that apply only if the input is a push type of input.inputDevices
(List<? extends Object> inputDevices) Settings that apply only if the input is an Elemental Link input.inputDevices
(IResolvable inputDevices) Settings that apply only if the input is an Elemental Link input.inputSecurityGroups
(List<String> inputSecurityGroups) The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.mediaConnectFlows
(List<? extends Object> mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.mediaConnectFlows
(IResolvable mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.A name for the input.The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.Settings that apply only if the input is a pull type of input.sources
(IResolvable sources) Settings that apply only if the input is a pull type of input.A collection of tags for this input.The type for this input.vpc
(IResolvable vpc) Settings that apply only if the input is an push input where the source is on Amazon VPC.Settings that apply only if the input is an push input where the source is on Amazon VPC.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnInput.Builder
.
-
destinations
Settings that apply only if the input is a push type of input.- Parameters:
destinations
- Settings that apply only if the input is a push type of input. This parameter is required.- Returns:
this
-
destinations
Settings that apply only if the input is a push type of input.- Parameters:
destinations
- Settings that apply only if the input is a push type of input. This parameter is required.- Returns:
this
-
inputDevices
Settings that apply only if the input is an Elemental Link input.- Parameters:
inputDevices
- Settings that apply only if the input is an Elemental Link input. This parameter is required.- Returns:
this
-
inputDevices
Settings that apply only if the input is an Elemental Link input.- Parameters:
inputDevices
- Settings that apply only if the input is an Elemental Link input. This parameter is required.- Returns:
this
-
inputSecurityGroups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.- Parameters:
inputSecurityGroups
- The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. This parameter is required.- Returns:
this
-
mediaConnectFlows
Settings that apply only if the input is a MediaConnect input.- Parameters:
mediaConnectFlows
- Settings that apply only if the input is a MediaConnect input. This parameter is required.- Returns:
this
-
mediaConnectFlows
@Stability(Stable) public CfnInput.Builder mediaConnectFlows(List<? extends Object> mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.- Parameters:
mediaConnectFlows
- Settings that apply only if the input is a MediaConnect input. This parameter is required.- Returns:
this
-
name
A name for the input.- Parameters:
name
- A name for the input. This parameter is required.- Returns:
this
-
roleArn
The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.This doesn't apply to other types of inputs. The role is identified by its ARN.
- Parameters:
roleArn
- The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. This parameter is required.- Returns:
this
-
sources
Settings that apply only if the input is a pull type of input.- Parameters:
sources
- Settings that apply only if the input is a pull type of input. This parameter is required.- Returns:
this
-
sources
Settings that apply only if the input is a pull type of input.- Parameters:
sources
- Settings that apply only if the input is a pull type of input. This parameter is required.- Returns:
this
-
tags
A collection of tags for this input.Each tag is a key-value pair.
- Parameters:
tags
- A collection of tags for this input. This parameter is required.- Returns:
this
-
type
The type for this input.- Parameters:
type
- The type for this input. This parameter is required.- Returns:
this
-
vpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.- Parameters:
vpc
- Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.- Returns:
this
-
vpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.- Parameters:
vpc
- Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.- Returns:
this
-
build
-