VpcOutputSettings

class aws_cdk.aws_medialive_alpha.VpcOutputSettings(*, subnets, public_address_allocation_ids=None, security_groups=None)

Bases: object

(experimental) VPC output settings for the channel.

When configured, all output endpoints are created within the specified VPC.

Parameters:
  • subnets (Sequence[ISubnetRef]) – (experimental) The subnets to use for the channel’s output endpoints. For STANDARD channels, provide subnets in two different availability zones. For SINGLE_PIPELINE channels, provide at least one subnet.

  • public_address_allocation_ids (Optional[Sequence[str]]) – (experimental) Public address allocation IDs to associate with ENIs created in the output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels. Default: - no public addresses

  • security_groups (Optional[Sequence[ISecurityGroupRef]]) – (experimental) The security groups to attach to the output VPC network interfaces. Default: - VPC default security group

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2
from aws_cdk.interfaces import aws_elasticache as interfaces_elasticache

# security_group_ref: interfaces_elasticache.ISecurityGroupRef
# subnet_ref: interfaces_ec2.ISubnetRef

vpc_output_settings = medialive_alpha.VpcOutputSettings(
    subnets=[subnet_ref],

    # the properties below are optional
    public_address_allocation_ids=["publicAddressAllocationIds"],
    security_groups=[security_group_ref]
)

Attributes

public_address_allocation_ids

(experimental) Public address allocation IDs to associate with ENIs created in the output VPC.

Must specify one for SINGLE_PIPELINE, two for STANDARD channels.

Default:
  • no public addresses

Stability:

experimental

security_groups

(experimental) The security groups to attach to the output VPC network interfaces.

Default:
  • VPC default security group

Stability:

experimental

subnets

(experimental) The subnets to use for the channel’s output endpoints.

For STANDARD channels, provide subnets in two different availability zones. For SINGLE_PIPELINE channels, provide at least one subnet.

Stability:

experimental