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 providerdefaultTags
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
create
- (Default5M
)update
- (Default5M
)delete
- (Default5M
)
Import
MediaLive InputSecurityGroup can be imported using the id
, e.g.,