CdiInputProps

class aws_cdk.aws_medialive_alpha.CdiInputProps(*, subnets, role=None, security_groups=None)

Bases: object

(experimental) Properties for a CDI (uncompressed) input.

Parameters:
  • subnets (Sequence[ISubnetRef]) – (experimental) Two VPC subnets, in two different availability zones, for the CDI input network interfaces.

  • role (Optional[IRole]) – (experimental) 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: - a role is created with the medialive.amazonaws.com service principal [disable-awslint:prefer-ref-interface]

  • security_groups (Optional[Sequence[ISecurityGroupRef]]) – (experimental) Security groups to attach to the CDI input 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 import aws_iam as iam
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2

# role: iam.Role
# security_group_ref: interfaces_ec2.ISecurityGroupRef
# subnet_ref: interfaces_ec2.ISubnetRef

cdi_input_props = medialive_alpha.CdiInputProps(
    subnets=[subnet_ref],

    # the properties below are optional
    role=role,
    security_groups=[security_group_ref]
)

Attributes

role

(experimental) 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:

  • a role is created with the medialive.amazonaws.com service principal

[disable-awslint:prefer-ref-interface]

Stability:

experimental

security_groups

(experimental) Security groups to attach to the CDI input network interfaces.

Default:
  • VPC default security group

Stability:

experimental

subnets

(experimental) Two VPC subnets, in two different availability zones, for the CDI input network interfaces.

Stability:

experimental