Class CfnInput
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.medialive.CfnInput
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:04.602Z")
@Stability(Stable)
public class CfnInput
extends CfnResource
implements IInspectable, ITaggable
The AWS::MediaLive::Input resource is a MediaLive resource type that creates an input.
A MediaLive input holds information that describes how the MediaLive channel is connected to the upstream system that is providing the source content that is to be transcoded.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.medialive.*; Object tags; CfnInput cfnInput = CfnInput.Builder.create(this, "MyCfnInput") .destinations(List.of(InputDestinationRequestProperty.builder() .streamName("streamName") .build())) .inputDevices(List.of(InputDeviceSettingsProperty.builder() .id("id") .build())) .inputSecurityGroups(List.of("inputSecurityGroups")) .mediaConnectFlows(List.of(MediaConnectFlowRequestProperty.builder() .flowArn("flowArn") .build())) .name("name") .roleArn("roleArn") .sources(List.of(InputSourceRequestProperty.builder() .passwordParam("passwordParam") .url("url") .username("username") .build())) .srtSettings(SrtSettingsRequestProperty.builder() .srtCallerSources(List.of(SrtCallerSourceRequestProperty.builder() .decryption(SrtCallerDecryptionRequestProperty.builder() .algorithm("algorithm") .passphraseSecretArn("passphraseSecretArn") .build()) .minimumLatency(123) .srtListenerAddress("srtListenerAddress") .srtListenerPort("srtListenerPort") .streamId("streamId") .build())) .build()) .tags(tags) .type("type") .vpc(InputVpcRequestProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnetIds(List.of("subnetIds")) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnInput
.static interface
Settings that apply only if the input is a push type of input.static interface
Example:static interface
Settings that apply only if the input is an Elemental Link input.static interface
Settings that apply only if the input is a pull type of input.static interface
Settings that apply only if the input is an push input where the source is on Amazon VPC.static interface
Settings that apply only if the input is a MediaConnect input.static interface
Example:static interface
Example:static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnInput
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnInput
(software.amazon.jsii.JsiiObjectRef objRef) CfnInput
(software.constructs.Construct scope, String id, CfnInputProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the MediaLive input.For a push input, the the destination or destinations for the input.The unique ID for the device.For a pull input, the source or sources for the input.Settings that apply only if the input is a push type of input.Settings that apply only if the input is an Elemental Link input.The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.Settings that apply only if the input is a MediaConnect input.getName()
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.getTags()
Tag Manager which manages the tags for this resource.A collection of tags for this input.getType()
The type for this input.getVpc()
Settings that apply only if the input is an push input where the source is on Amazon VPC.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDestinations
(List<Object> value) Settings that apply only if the input is a push type of input.void
setDestinations
(IResolvable value) Settings that apply only if the input is a push type of input.void
setInputDevices
(List<Object> value) Settings that apply only if the input is an Elemental Link input.void
setInputDevices
(IResolvable value) Settings that apply only if the input is an Elemental Link input.void
setInputSecurityGroups
(List<String> value) The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.void
setMediaConnectFlows
(List<Object> value) Settings that apply only if the input is a MediaConnect input.void
setMediaConnectFlows
(IResolvable value) Settings that apply only if the input is a MediaConnect input.void
A name for the input.void
setRoleArn
(String value) The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.void
setSources
(List<Object> value) Settings that apply only if the input is a pull type of input.void
setSources
(IResolvable value) Settings that apply only if the input is a pull type of input.void
setSrtSettings
(IResolvable value) void
void
setTagsRaw
(Object value) A collection of tags for this input.void
The type for this input.void
setVpc
(IResolvable value) Settings that apply only if the input is an push input where the source is on Amazon VPC.void
Settings that apply only if the input is an push input where the source is on Amazon VPC.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnInput
protected CfnInput(software.amazon.jsii.JsiiObjectRef objRef) -
CfnInput
protected CfnInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnInput
@Stability(Stable) public CfnInput(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnInputProps props) - 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.props
- Resource properties.
-
CfnInput
@Stability(Stable) public CfnInput(@NotNull software.constructs.Construct scope, @NotNull 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.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The ARN of the MediaLive input.For example: arn:aws:medialive:us-west-1:111122223333:medialive:input:1234567. MediaLive creates this ARN when it creates the input.
-
getAttrDestinations
For a push input, the the destination or destinations for the input.The destinations are the URLs of locations on MediaLive where the upstream system pushes the content to, for this input. MediaLive creates these addresses when it creates the input.
-
getAttrId
The unique ID for the device. -
getAttrSources
For a pull input, the source or sources for the input.The sources are the URLs of locations on the upstream system where MediaLive pulls the content from, for this input. You included these URLs in the create request.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDestinations
Settings that apply only if the input is a push type of input. -
setDestinations
Settings that apply only if the input is a push type of input. -
setDestinations
Settings that apply only if the input is a push type of input. -
getInputDevices
Settings that apply only if the input is an Elemental Link input. -
setInputDevices
Settings that apply only if the input is an Elemental Link input. -
setInputDevices
Settings that apply only if the input is an Elemental Link input. -
getInputSecurityGroups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. -
setInputSecurityGroups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. -
getMediaConnectFlows
Settings that apply only if the input is a MediaConnect input. -
setMediaConnectFlows
Settings that apply only if the input is a MediaConnect input. -
setMediaConnectFlows
Settings that apply only if the input is a MediaConnect input. -
getName
A name for the input. -
setName
A name for the input. -
getRoleArn
The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. -
setRoleArn
The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. -
getSources
Settings that apply only if the input is a pull type of input. -
setSources
Settings that apply only if the input is a pull type of input. -
setSources
Settings that apply only if the input is a pull type of input. -
getSrtSettings
-
setSrtSettings
-
setSrtSettings
-
getTagsRaw
A collection of tags for this input. -
setTagsRaw
A collection of tags for this input. -
getType
The type for this input. -
setType
The type for this input. -
getVpc
Settings that apply only if the input is an push input where the source is on Amazon VPC. -
setVpc
Settings that apply only if the input is an push input where the source is on Amazon VPC. -
setVpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.
-