Interface CfnInputProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInputProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.267Z") @Stability(Stable) public interface CfnInputProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnInput.

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;
 CfnInputProps cfnInputProps = CfnInputProps.builder()
         .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();
 
  • Method Details

    • getDestinations

      @Stability(Stable) @Nullable default Object getDestinations()
      Settings that apply only if the input is a push type of input.
    • getInputDevices

      @Stability(Stable) @Nullable default Object getInputDevices()
      Settings that apply only if the input is an Elemental Link input.
    • getInputSecurityGroups

      @Stability(Stable) @Nullable default List<String> getInputSecurityGroups()
      The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.
    • getMediaConnectFlows

      @Stability(Stable) @Nullable default Object getMediaConnectFlows()
      Settings that apply only if the input is a MediaConnect input.
    • getName

      @Stability(Stable) @Nullable default String getName()
      A name for the input.
    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      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.

    • getSources

      @Stability(Stable) @Nullable default Object getSources()
      Settings that apply only if the input is a pull type of input.
    • getTags

      @Stability(Stable) @Nullable default Object getTags()
      A collection of tags for this input.

      Each tag is a key-value pair.

    • getType

      @Stability(Stable) @Nullable default String getType()
      The type for this input.
    • getVpc

      @Stability(Stable) @Nullable default Object getVpc()
      Settings that apply only if the input is an push input where the source is on Amazon VPC.
    • builder

      @Stability(Stable) static CfnInputProps.Builder builder()
      Returns:
      a CfnInputProps.Builder of CfnInputProps