@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.559Z") @Stability(value=Stable) public class CfnInput extends CfnResource implements IInspectable
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()))
.tags(tags)
.type("type")
.vpc(InputVpcRequestProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnInput.Builder
A fluent builder for
CfnInput. |
static interface |
CfnInput.InputDestinationRequestProperty
Example:
|
static interface |
CfnInput.InputDeviceRequestProperty
Example:
|
static interface |
CfnInput.InputDeviceSettingsProperty
Example:
|
static interface |
CfnInput.InputSourceRequestProperty
Example:
|
static interface |
CfnInput.InputVpcRequestProperty
Example:
|
static interface |
CfnInput.MediaConnectFlowRequestProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnInput(software.constructs.Construct scope,
String id)
Create a new `AWS::MediaLive::Input`.
|
|
CfnInput(software.constructs.Construct scope,
String id,
CfnInputProps props)
Create a new `AWS::MediaLive::Input`.
|
protected |
CfnInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnInput(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
List<String> |
getAttrDestinations() |
List<String> |
getAttrSources() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getDestinations()
`AWS::MediaLive::Input.Destinations`.
|
Object |
getInputDevices()
`AWS::MediaLive::Input.InputDevices`.
|
List<String> |
getInputSecurityGroups()
`AWS::MediaLive::Input.InputSecurityGroups`.
|
Object |
getMediaConnectFlows()
`AWS::MediaLive::Input.MediaConnectFlows`.
|
String |
getName()
`AWS::MediaLive::Input.Name`.
|
String |
getRoleArn()
`AWS::MediaLive::Input.RoleArn`.
|
Object |
getSources()
`AWS::MediaLive::Input.Sources`.
|
TagManager |
getTags()
`AWS::MediaLive::Input.Tags`.
|
String |
getType()
`AWS::MediaLive::Input.Type`.
|
Object |
getVpc()
`AWS::MediaLive::Input.Vpc`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDestinations(IResolvable value)
`AWS::MediaLive::Input.Destinations`.
|
void |
setDestinations(List<Object> value)
`AWS::MediaLive::Input.Destinations`.
|
void |
setInputDevices(IResolvable value)
`AWS::MediaLive::Input.InputDevices`.
|
void |
setInputDevices(List<Object> value)
`AWS::MediaLive::Input.InputDevices`.
|
void |
setInputSecurityGroups(List<String> value)
`AWS::MediaLive::Input.InputSecurityGroups`.
|
void |
setMediaConnectFlows(IResolvable value)
`AWS::MediaLive::Input.MediaConnectFlows`.
|
void |
setMediaConnectFlows(List<Object> value)
`AWS::MediaLive::Input.MediaConnectFlows`.
|
void |
setName(String value)
`AWS::MediaLive::Input.Name`.
|
void |
setRoleArn(String value)
`AWS::MediaLive::Input.RoleArn`.
|
void |
setSources(IResolvable value)
`AWS::MediaLive::Input.Sources`.
|
void |
setSources(List<Object> value)
`AWS::MediaLive::Input.Sources`.
|
void |
setType(String value)
`AWS::MediaLive::Input.Type`.
|
void |
setVpc(CfnInput.InputVpcRequestProperty value)
`AWS::MediaLive::Input.Vpc`.
|
void |
setVpc(IResolvable value)
`AWS::MediaLive::Input.Vpc`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnInput(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnInput(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnInputProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnInput(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getDestinations()
@Stability(value=Stable)
public void setDestinations(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDestinations(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getInputDevices()
@Stability(value=Stable)
public void setInputDevices(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setInputDevices(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public List<String> getInputSecurityGroups()
@Stability(value=Stable)
public void setInputSecurityGroups(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getMediaConnectFlows()
@Stability(value=Stable)
public void setMediaConnectFlows(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setMediaConnectFlows(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getSources()
@Stability(value=Stable)
public void setSources(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setSources(@Nullable
List<Object> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getType()
@Stability(value=Stable)
public void setType(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getVpc()
@Stability(value=Stable)
public void setVpc(@Nullable
CfnInput.InputVpcRequestProperty value)
@Stability(value=Stable)
public void setVpc(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.