Skip to content
v2.275.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 ​

publicAddressAllocationIdsoptionalstring[]public_address_allocation_idsoptionaltyping.List[str]publicAddressAllocationIdsoptionalList<String>PublicAddressAllocationIdsoptionalstring[]PublicAddressAllocationIdsoptional*[]*string#
Public address allocation IDs to associate with ENIs created in the output VPC.

Default: no public addresses

Must specify one for SINGLE_PIPELINE, two for STANDARD channels.

securityGroupsoptionalISecurityGroupRef[]security_groupsoptionaltyping.List[ISecurityGroupRef]securityGroupsoptionalList<ISecurityGroupRef>SecurityGroupsoptionalISecurityGroupRef[]SecurityGroupsoptional*[]ISecurityGroupRef#
The security groups to attach to the output VPC network interfaces.

Default: VPC default security group

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.