Skip to content

Resource: awsMedialiveInputSecurityGroup

Terraform resource for managing an AWS MediaLive InputSecurityGroup.

Example Usage

Basic Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.medialiveInputSecurityGroup.MedialiveInputSecurityGroup(
  this,
  "example",
  {
    tags: {
      ENVIRONMENT: "prod",
    },
    whitelistRules: [
      {
        cidr: "10.0.0.8/32",
      },
    ],
  }
);

Argument Reference

The following arguments are required:

  • whitelistRules - (Required) Whitelist rules. See Whitelist Rules for more details.

The following arguments are optional:

  • tags - (Optional) A map of tags to assign to the InputSecurityGroup. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Whitelist Rules

  • cidr (Required) - The IPv4 CIDR that's whitelisted.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - InputSecurityGroup Id.
  • arn - ARN of the InputSecurityGroup.
  • inputs - The list of inputs currently using this InputSecurityGroup.

Timeouts

Configuration options:

  • create - (Default 5M)
  • update - (Default 5M)
  • delete - (Default 5M)

Import

MediaLive InputSecurityGroup can be imported using the id, e.g.,

$ terraform import aws_medialive_input_security_group.example 123456