Skip to content
v2.273.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

VpcOutputSettings Struct ​

VPC output settings for the channel.

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
import { aws_elasticache as interfaces_elasticache } from 'aws-cdk-lib/interfaces';

declare const securityGroupRef: interfaces_elasticache.ISecurityGroupRef;
declare const subnetRef: interfaces_ec2.ISubnetRef;
const vpcOutputSettings: medialive_alpha.VpcOutputSettings = {
  subnets: [subnetRef],

  // the properties below are optional
  publicAddressAllocationIds: ['publicAddressAllocationIds'],
  securityGroups: [securityGroupRef],
};

Properties ​

publicAddressAllocationIdsstring[]public_address_allocation_idstyping.List[str]publicAddressAllocationIdsList<String>PublicAddressAllocationIdsstring[]PublicAddressAllocationIds*[]*string= no public addresses#
Public address allocation IDs to associate with ENIs created in the output VPC.

Must specify one for SINGLE_PIPELINE, two for STANDARD channels.

securityGroupsISecurityGroupRef[]security_groupstyping.List[ISecurityGroupRef]securityGroupsList<ISecurityGroupRef>SecurityGroupsISecurityGroupRef[]SecurityGroups*[]ISecurityGroupRef= VPC default security group#
The security groups to attach to the output VPC network interfaces.
subnetsISubnetRef[]subnetstyping.List[ISubnetRef]subnetsList<ISubnetRef>SubnetsISubnetRef[]Subnets*[]ISubnetRefrequired#
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.