You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaConnect::Types::CreateFlowRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateFlowRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  availability_zone: "__string",
  entitlements: [
    {
      data_transfer_subscriber_fee_percent: 1,
      description: "__string",
      encryption: {
        algorithm: "aes128", # required, accepts aes128, aes192, aes256
        constant_initialization_vector: "__string",
        device_id: "__string",
        key_type: "speke", # accepts speke, static-key
        region: "__string",
        resource_id: "__string",
        role_arn: "__string", # required
        secret_arn: "__string",
        url: "__string",
      },
      name: "__string",
      subscribers: ["__string"], # required
    },
  ],
  name: "__string", # required
  outputs: [
    {
      cidr_allow_list: ["__string"],
      description: "__string",
      destination: "__string",
      encryption: {
        algorithm: "aes128", # required, accepts aes128, aes192, aes256
        constant_initialization_vector: "__string",
        device_id: "__string",
        key_type: "speke", # accepts speke, static-key
        region: "__string",
        resource_id: "__string",
        role_arn: "__string", # required
        secret_arn: "__string",
        url: "__string",
      },
      max_latency: 1,
      name: "__string",
      port: 1,
      protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
      remote_id: "__string",
      smoothing_latency: 1,
      stream_id: "__string",
    },
  ],
  source: {
    decryption: {
      algorithm: "aes128", # required, accepts aes128, aes192, aes256
      constant_initialization_vector: "__string",
      device_id: "__string",
      key_type: "speke", # accepts speke, static-key
      region: "__string",
      resource_id: "__string",
      role_arn: "__string", # required
      secret_arn: "__string",
      url: "__string",
    },
    description: "__string",
    entitlement_arn: "__string",
    ingest_port: 1,
    max_bitrate: 1,
    max_latency: 1,
    name: "__string",
    protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
    stream_id: "__string",
    whitelist_cidr: "__string",
  },
  source_failover_config: {
    recovery_window: 1,
    state: "ENABLED", # accepts ENABLED, DISABLED
  },
  sources: [
    {
      decryption: {
        algorithm: "aes128", # required, accepts aes128, aes192, aes256
        constant_initialization_vector: "__string",
        device_id: "__string",
        key_type: "speke", # accepts speke, static-key
        region: "__string",
        resource_id: "__string",
        role_arn: "__string", # required
        secret_arn: "__string",
        url: "__string",
      },
      description: "__string",
      entitlement_arn: "__string",
      ingest_port: 1,
      max_bitrate: 1,
      max_latency: 1,
      name: "__string",
      protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
      stream_id: "__string",
      whitelist_cidr: "__string",
    },
  ],
}

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and one entitlement.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

Returns:

  • (String)

    The Availability Zone that you want to create the flow in.

#entitlementsArray<Types::GrantEntitlementRequest>

The entitlements that you want to grant on a flow.

Returns:

#nameString

The name of the flow.

Returns:

  • (String)

    The name of the flow.

#outputsArray<Types::AddOutputRequest>

The outputs that you want to add to this flow.

Returns:

#sourceTypes::SetSourceRequest

The settings for the source of the flow.

Returns:

#source_failover_configTypes::FailoverConfig

The settings for source failover

Returns:

#sourcesArray<Types::SetSourceRequest>

Returns: