Skip to content

Resource: awsIvsPlaybackKeyPair

Terraform resource for managing an AWS IVS (Interactive Video) Playback Key Pair.

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.ivsPlaybackKeyPair.IvsPlaybackKeyPair(this, "example", {
  publicKey: '${file("./public-key.pem")}',
});

Argument Reference

The following arguments are required:

  • publicKey - (Required) Public portion of a customer-generated key pair. Must be an ECDSA public key in PEM format.

The following arguments are optional:

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

Attributes Reference

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

  • arn - ARN of the Playback Key Pair.
  • fingerprint - Key-pair identifier.
  • tagsAll - Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Timeouts

Configuration options:

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

Import

IVS (Interactive Video) Playback Key Pair can be imported using the ARN, e.g.,

$ terraform import aws_ivs_playback_key_pair.example arn:aws:ivs:us-west-2:326937407773:playback-key/KDJRJNQhiQzA