Skip to content

Data Source: awsConnectInstanceStorageConfig

Provides details about a specific Amazon Connect Instance Storage Config.

Example 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.dataAwsConnectInstanceStorageConfig.DataAwsConnectInstanceStorageConfig(
  this,
  "example",
  {
    associationId:
      "1234567890123456789012345678901234567890123456789012345678901234",
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    resourceType: "CONTACT_TRACE_RECORDS",
  }
);

Argument Reference

The following arguments are supported:

  • associationId - (Required) The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
  • instanceId - (Required) Reference to the hosting Amazon Connect Instance
  • resourceType - (Required) A valid resource type. Valid Values: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

Attributes Reference

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

  • id - The identifier of the hosting Amazon Connect Instance, associationId, and resourceType separated by a colon (:).
  • storageConfig - Specifies the storage configuration options for the Connect Instance. Documented below.

storageConfig

The storageConfig configuration block supports the following arguments:

  • kinesisFirehoseConfig - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
  • kinesisStreamConfig - A block that specifies the configuration of the Kinesis data stream. Documented below.
  • kinesisVideoStreamConfig - A block that specifies the configuration of the Kinesis video stream. Documented below.
  • s3Config - A block that specifies the configuration of S3 Bucket. Documented below.
  • storageType - A valid storage type. Valid Values: s3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.

kinesisFirehoseConfig

The kinesisFirehoseConfig configuration block supports the following arguments:

  • firehoseArn - The Amazon Resource Name (ARN) of the delivery stream.

kinesisStreamConfig

The kinesisStreamConfig configuration block supports the following arguments:

  • streamArn - The Amazon Resource Name (ARN) of the data stream.

kinesisVideoStreamConfig

The kinesisVideoStreamConfig configuration block supports the following arguments:

  • encryptionConfig - The encryption configuration. Documented below.
  • prefix - The prefix of the video stream. Minimum length of 1. Maximum length of 128. When read from the state, the value returned is <prefix>Connect-<connectInstanceAlias>Contact since the API appends additional details to the prefix.
  • retentionPeriodHours - The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.

s3Config

The s3Config configuration block supports the following arguments:

  • bucketName - The S3 bucket name.
  • bucketPrefix - The S3 bucket prefix.
  • encryptionConfig - The encryption configuration. Documented below.

encryptionConfig

The encryptionConfig configuration block supports the following arguments:

  • encryptionType - The type of encryption. Valid Values: kms.
  • keyId - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.