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.

CdiInputProps Struct ​

Properties for a CDI (uncompressed) input.

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_iam as iam } from 'aws-cdk-lib';
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';

declare const role: iam.Role;
declare const securityGroupRef: interfaces_ec2.ISecurityGroupRef;
declare const subnetRef: interfaces_ec2.ISubnetRef;
const cdiInputProps: medialive_alpha.CdiInputProps = {
  subnets: [subnetRef],

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

Properties ​

roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRole= a role is created with the media…#
The IAM role MediaLive assumes to create network interfaces in the VPC.

When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs.

default

Default: a role is created with the medialive.amazonaws.com service principal [disable-awslint:prefer-ref-interface]

securityGroupsISecurityGroupRef[]security_groupstyping.List[ISecurityGroupRef]securityGroupsList<ISecurityGroupRef>SecurityGroupsISecurityGroupRef[]SecurityGroups*[]ISecurityGroupRef= VPC default security group#
Security groups to attach to the CDI input network interfaces.
subnetsISubnetRef[]subnetstyping.List[ISubnetRef]subnetsList<ISubnetRef>SubnetsISubnetRef[]Subnets*[]ISubnetRefrequired#
Two VPC subnets, in two different availability zones, for the CDI input network interfaces.