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
- Struct
- Aws::MediaConnect::Types::CreateFlowRequest
 
- Defined in:
- (unknown)
Overview
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",
      },
      entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
      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",
      vpc_interface_attachment: {
        vpc_interface_name: "__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",
    vpc_interface_name: "__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",
      vpc_interface_name: "__string",
      whitelist_cidr: "__string",
    },
  ],
  vpc_interfaces: [
    {
      name: "__string", # required
      role_arn: "__string", # required
      security_group_ids: ["__string"], # required
      subnet_id: "__string", # required
    },
  ],
}
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
- 
  
    
      #availability_zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Availability Zone that you want to create the flow in. 
- 
  
    
      #entitlements  ⇒ Array<Types::GrantEntitlementRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The entitlements that you want to grant on a flow. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the flow. 
- 
  
    
      #outputs  ⇒ Array<Types::AddOutputRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The outputs that you want to add to this flow. 
- 
  
    
      #source  ⇒ Types::SetSourceRequest 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The settings for the source of the flow. 
- 
  
    
      #source_failover_config  ⇒ Types::FailoverConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The settings for source failover. 
- 
  
    
      #sources  ⇒ Array<Types::SetSourceRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
- 
  
    
      #vpc_interfaces  ⇒ Array<Types::VpcInterfaceRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The VPC interfaces you want on the flow. 
Instance Attribute Details
#availability_zone ⇒ String
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
#entitlements ⇒ Array<Types::GrantEntitlementRequest>
The entitlements that you want to grant on a flow.
#name ⇒ String
The name of the flow.
#outputs ⇒ Array<Types::AddOutputRequest>
The outputs that you want to add to this flow.
#source ⇒ Types::SetSourceRequest
The settings for the source of the flow.
#source_failover_config ⇒ Types::FailoverConfig
The settings for source failover
#sources ⇒ Array<Types::SetSourceRequest>
#vpc_interfaces ⇒ Array<Types::VpcInterfaceRequest>
The VPC interfaces you want on the flow.