Try AWS Native preview for resources not in the classic version.
aws.connect.InstanceStorageConfig
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an Amazon Connect Instance Storage Config resource. For more information see Amazon Connect: Getting Started
Example Usage
Storage Config Kinesis Firehose Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.InstanceStorageConfig("example", {
instanceId: exampleAwsConnectInstance.id,
resourceType: "CONTACT_TRACE_RECORDS",
storageConfig: {
kinesisFirehoseConfig: {
firehoseArn: exampleAwsKinesisFirehoseDeliveryStream.arn,
},
storageType: "KINESIS_FIREHOSE",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.InstanceStorageConfig("example",
instance_id=example_aws_connect_instance["id"],
resource_type="CONTACT_TRACE_RECORDS",
storage_config={
"kinesisFirehoseConfig": {
"firehoseArn": example_aws_kinesis_firehose_delivery_stream["arn"],
},
"storageType": "KINESIS_FIREHOSE",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewInstanceStorageConfig(ctx, "example", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.Any(exampleAwsConnectInstance.Id),
ResourceType: pulumi.String("CONTACT_TRACE_RECORDS"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
KinesisFirehoseConfig: &connect.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs{
FirehoseArn: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn),
},
StorageType: pulumi.String("KINESIS_FIREHOSE"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.InstanceStorageConfig("example", new()
{
InstanceId = exampleAwsConnectInstance.Id,
ResourceType = "CONTACT_TRACE_RECORDS",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
KinesisFirehoseConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs
{
FirehoseArn = exampleAwsKinesisFirehoseDeliveryStream.Arn,
},
StorageType = "KINESIS_FIREHOSE",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.InstanceStorageConfig;
import com.pulumi.aws.connect.InstanceStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()
.instanceId(exampleAwsConnectInstance.id())
.resourceType("CONTACT_TRACE_RECORDS")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.kinesisFirehoseConfig(InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs.builder()
.firehoseArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
.build())
.storageType("KINESIS_FIREHOSE")
.build())
.build());
}
}
resources:
example:
type: aws:connect:InstanceStorageConfig
properties:
instanceId: ${exampleAwsConnectInstance.id}
resourceType: CONTACT_TRACE_RECORDS
storageConfig:
kinesisFirehoseConfig:
firehoseArn: ${exampleAwsKinesisFirehoseDeliveryStream.arn}
storageType: KINESIS_FIREHOSE
Storage Config Kinesis Stream Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.InstanceStorageConfig("example", {
instanceId: exampleAwsConnectInstance.id,
resourceType: "CONTACT_TRACE_RECORDS",
storageConfig: {
kinesisStreamConfig: {
streamArn: exampleAwsKinesisStream.arn,
},
storageType: "KINESIS_STREAM",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.InstanceStorageConfig("example",
instance_id=example_aws_connect_instance["id"],
resource_type="CONTACT_TRACE_RECORDS",
storage_config={
"kinesisStreamConfig": {
"streamArn": example_aws_kinesis_stream["arn"],
},
"storageType": "KINESIS_STREAM",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewInstanceStorageConfig(ctx, "example", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.Any(exampleAwsConnectInstance.Id),
ResourceType: pulumi.String("CONTACT_TRACE_RECORDS"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
KinesisStreamConfig: &connect.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs{
StreamArn: pulumi.Any(exampleAwsKinesisStream.Arn),
},
StorageType: pulumi.String("KINESIS_STREAM"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.InstanceStorageConfig("example", new()
{
InstanceId = exampleAwsConnectInstance.Id,
ResourceType = "CONTACT_TRACE_RECORDS",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
KinesisStreamConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs
{
StreamArn = exampleAwsKinesisStream.Arn,
},
StorageType = "KINESIS_STREAM",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.InstanceStorageConfig;
import com.pulumi.aws.connect.InstanceStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()
.instanceId(exampleAwsConnectInstance.id())
.resourceType("CONTACT_TRACE_RECORDS")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.kinesisStreamConfig(InstanceStorageConfigStorageConfigKinesisStreamConfigArgs.builder()
.streamArn(exampleAwsKinesisStream.arn())
.build())
.storageType("KINESIS_STREAM")
.build())
.build());
}
}
resources:
example:
type: aws:connect:InstanceStorageConfig
properties:
instanceId: ${exampleAwsConnectInstance.id}
resourceType: CONTACT_TRACE_RECORDS
storageConfig:
kinesisStreamConfig:
streamArn: ${exampleAwsKinesisStream.arn}
storageType: KINESIS_STREAM
Storage Config Kinesis Video Stream Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.InstanceStorageConfig("example", {
instanceId: exampleAwsConnectInstance.id,
resourceType: "MEDIA_STREAMS",
storageConfig: {
kinesisVideoStreamConfig: {
prefix: "example",
retentionPeriodHours: 3,
encryptionConfig: {
encryptionType: "KMS",
keyId: exampleAwsKmsKey.arn,
},
},
storageType: "KINESIS_VIDEO_STREAM",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.InstanceStorageConfig("example",
instance_id=example_aws_connect_instance["id"],
resource_type="MEDIA_STREAMS",
storage_config={
"kinesisVideoStreamConfig": {
"prefix": "example",
"retentionPeriodHours": 3,
"encryptionConfig": {
"encryptionType": "KMS",
"keyId": example_aws_kms_key["arn"],
},
},
"storageType": "KINESIS_VIDEO_STREAM",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewInstanceStorageConfig(ctx, "example", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.Any(exampleAwsConnectInstance.Id),
ResourceType: pulumi.String("MEDIA_STREAMS"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
KinesisVideoStreamConfig: &connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs{
Prefix: pulumi.String("example"),
RetentionPeriodHours: pulumi.Int(3),
EncryptionConfig: &connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs{
EncryptionType: pulumi.String("KMS"),
KeyId: pulumi.Any(exampleAwsKmsKey.Arn),
},
},
StorageType: pulumi.String("KINESIS_VIDEO_STREAM"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.InstanceStorageConfig("example", new()
{
InstanceId = exampleAwsConnectInstance.Id,
ResourceType = "MEDIA_STREAMS",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
KinesisVideoStreamConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs
{
Prefix = "example",
RetentionPeriodHours = 3,
EncryptionConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs
{
EncryptionType = "KMS",
KeyId = exampleAwsKmsKey.Arn,
},
},
StorageType = "KINESIS_VIDEO_STREAM",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.InstanceStorageConfig;
import com.pulumi.aws.connect.InstanceStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()
.instanceId(exampleAwsConnectInstance.id())
.resourceType("MEDIA_STREAMS")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.kinesisVideoStreamConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs.builder()
.prefix("example")
.retentionPeriodHours(3)
.encryptionConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs.builder()
.encryptionType("KMS")
.keyId(exampleAwsKmsKey.arn())
.build())
.build())
.storageType("KINESIS_VIDEO_STREAM")
.build())
.build());
}
}
resources:
example:
type: aws:connect:InstanceStorageConfig
properties:
instanceId: ${exampleAwsConnectInstance.id}
resourceType: MEDIA_STREAMS
storageConfig:
kinesisVideoStreamConfig:
prefix: example
retentionPeriodHours: 3
encryptionConfig:
encryptionType: KMS
keyId: ${exampleAwsKmsKey.arn}
storageType: KINESIS_VIDEO_STREAM
Storage Config S3 Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.InstanceStorageConfig("example", {
instanceId: exampleAwsConnectInstance.id,
resourceType: "CHAT_TRANSCRIPTS",
storageConfig: {
s3Config: {
bucketName: exampleAwsS3Bucket.id,
bucketPrefix: "example",
},
storageType: "S3",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.InstanceStorageConfig("example",
instance_id=example_aws_connect_instance["id"],
resource_type="CHAT_TRANSCRIPTS",
storage_config={
"s3Config": {
"bucketName": example_aws_s3_bucket["id"],
"bucketPrefix": "example",
},
"storageType": "S3",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewInstanceStorageConfig(ctx, "example", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.Any(exampleAwsConnectInstance.Id),
ResourceType: pulumi.String("CHAT_TRANSCRIPTS"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
S3Config: &connect.InstanceStorageConfigStorageConfigS3ConfigArgs{
BucketName: pulumi.Any(exampleAwsS3Bucket.Id),
BucketPrefix: pulumi.String("example"),
},
StorageType: pulumi.String("S3"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.InstanceStorageConfig("example", new()
{
InstanceId = exampleAwsConnectInstance.Id,
ResourceType = "CHAT_TRANSCRIPTS",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
S3Config = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigArgs
{
BucketName = exampleAwsS3Bucket.Id,
BucketPrefix = "example",
},
StorageType = "S3",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.InstanceStorageConfig;
import com.pulumi.aws.connect.InstanceStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigS3ConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()
.instanceId(exampleAwsConnectInstance.id())
.resourceType("CHAT_TRANSCRIPTS")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
.bucketName(exampleAwsS3Bucket.id())
.bucketPrefix("example")
.build())
.storageType("S3")
.build())
.build());
}
}
resources:
example:
type: aws:connect:InstanceStorageConfig
properties:
instanceId: ${exampleAwsConnectInstance.id}
resourceType: CHAT_TRANSCRIPTS
storageConfig:
s3Config:
bucketName: ${exampleAwsS3Bucket.id}
bucketPrefix: example
storageType: S3
Storage Config S3 Config with Encryption Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.InstanceStorageConfig("example", {
instanceId: exampleAwsConnectInstance.id,
resourceType: "CHAT_TRANSCRIPTS",
storageConfig: {
s3Config: {
bucketName: exampleAwsS3Bucket.id,
bucketPrefix: "example",
encryptionConfig: {
encryptionType: "KMS",
keyId: exampleAwsKmsKey.arn,
},
},
storageType: "S3",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.InstanceStorageConfig("example",
instance_id=example_aws_connect_instance["id"],
resource_type="CHAT_TRANSCRIPTS",
storage_config={
"s3Config": {
"bucketName": example_aws_s3_bucket["id"],
"bucketPrefix": "example",
"encryptionConfig": {
"encryptionType": "KMS",
"keyId": example_aws_kms_key["arn"],
},
},
"storageType": "S3",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewInstanceStorageConfig(ctx, "example", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.Any(exampleAwsConnectInstance.Id),
ResourceType: pulumi.String("CHAT_TRANSCRIPTS"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
S3Config: &connect.InstanceStorageConfigStorageConfigS3ConfigArgs{
BucketName: pulumi.Any(exampleAwsS3Bucket.Id),
BucketPrefix: pulumi.String("example"),
EncryptionConfig: &connect.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs{
EncryptionType: pulumi.String("KMS"),
KeyId: pulumi.Any(exampleAwsKmsKey.Arn),
},
},
StorageType: pulumi.String("S3"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.InstanceStorageConfig("example", new()
{
InstanceId = exampleAwsConnectInstance.Id,
ResourceType = "CHAT_TRANSCRIPTS",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
S3Config = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigArgs
{
BucketName = exampleAwsS3Bucket.Id,
BucketPrefix = "example",
EncryptionConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs
{
EncryptionType = "KMS",
KeyId = exampleAwsKmsKey.Arn,
},
},
StorageType = "S3",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.InstanceStorageConfig;
import com.pulumi.aws.connect.InstanceStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigS3ConfigArgs;
import com.pulumi.aws.connect.inputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()
.instanceId(exampleAwsConnectInstance.id())
.resourceType("CHAT_TRANSCRIPTS")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
.bucketName(exampleAwsS3Bucket.id())
.bucketPrefix("example")
.encryptionConfig(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs.builder()
.encryptionType("KMS")
.keyId(exampleAwsKmsKey.arn())
.build())
.build())
.storageType("S3")
.build())
.build());
}
}
resources:
example:
type: aws:connect:InstanceStorageConfig
properties:
instanceId: ${exampleAwsConnectInstance.id}
resourceType: CHAT_TRANSCRIPTS
storageConfig:
s3Config:
bucketName: ${exampleAwsS3Bucket.id}
bucketPrefix: example
encryptionConfig:
encryptionType: KMS
keyId: ${exampleAwsKmsKey.arn}
storageType: S3
Create InstanceStorageConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceStorageConfig(name: string, args: InstanceStorageConfigArgs, opts?: CustomResourceOptions);
@overload
def InstanceStorageConfig(resource_name: str,
args: InstanceStorageConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceStorageConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
resource_type: Optional[str] = None,
storage_config: Optional[InstanceStorageConfigStorageConfigArgs] = None)
func NewInstanceStorageConfig(ctx *Context, name string, args InstanceStorageConfigArgs, opts ...ResourceOption) (*InstanceStorageConfig, error)
public InstanceStorageConfig(string name, InstanceStorageConfigArgs args, CustomResourceOptions? opts = null)
public InstanceStorageConfig(String name, InstanceStorageConfigArgs args)
public InstanceStorageConfig(String name, InstanceStorageConfigArgs args, CustomResourceOptions options)
type: aws:connect:InstanceStorageConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceStorageConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceStorageConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceStorageConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceStorageConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceStorageConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var instanceStorageConfigResource = new Aws.Connect.InstanceStorageConfig("instanceStorageConfigResource", new()
{
InstanceId = "string",
ResourceType = "string",
StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
{
StorageType = "string",
KinesisFirehoseConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs
{
FirehoseArn = "string",
},
KinesisStreamConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs
{
StreamArn = "string",
},
KinesisVideoStreamConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs
{
EncryptionConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs
{
EncryptionType = "string",
KeyId = "string",
},
Prefix = "string",
RetentionPeriodHours = 0,
},
S3Config = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigArgs
{
BucketName = "string",
BucketPrefix = "string",
EncryptionConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs
{
EncryptionType = "string",
KeyId = "string",
},
},
},
});
example, err := connect.NewInstanceStorageConfig(ctx, "instanceStorageConfigResource", &connect.InstanceStorageConfigArgs{
InstanceId: pulumi.String("string"),
ResourceType: pulumi.String("string"),
StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
StorageType: pulumi.String("string"),
KinesisFirehoseConfig: &connect.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs{
FirehoseArn: pulumi.String("string"),
},
KinesisStreamConfig: &connect.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs{
StreamArn: pulumi.String("string"),
},
KinesisVideoStreamConfig: &connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs{
EncryptionConfig: &connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs{
EncryptionType: pulumi.String("string"),
KeyId: pulumi.String("string"),
},
Prefix: pulumi.String("string"),
RetentionPeriodHours: pulumi.Int(0),
},
S3Config: &connect.InstanceStorageConfigStorageConfigS3ConfigArgs{
BucketName: pulumi.String("string"),
BucketPrefix: pulumi.String("string"),
EncryptionConfig: &connect.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs{
EncryptionType: pulumi.String("string"),
KeyId: pulumi.String("string"),
},
},
},
})
var instanceStorageConfigResource = new InstanceStorageConfig("instanceStorageConfigResource", InstanceStorageConfigArgs.builder()
.instanceId("string")
.resourceType("string")
.storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
.storageType("string")
.kinesisFirehoseConfig(InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs.builder()
.firehoseArn("string")
.build())
.kinesisStreamConfig(InstanceStorageConfigStorageConfigKinesisStreamConfigArgs.builder()
.streamArn("string")
.build())
.kinesisVideoStreamConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs.builder()
.encryptionConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs.builder()
.encryptionType("string")
.keyId("string")
.build())
.prefix("string")
.retentionPeriodHours(0)
.build())
.s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
.bucketName("string")
.bucketPrefix("string")
.encryptionConfig(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs.builder()
.encryptionType("string")
.keyId("string")
.build())
.build())
.build())
.build());
instance_storage_config_resource = aws.connect.InstanceStorageConfig("instanceStorageConfigResource",
instance_id="string",
resource_type="string",
storage_config={
"storageType": "string",
"kinesisFirehoseConfig": {
"firehoseArn": "string",
},
"kinesisStreamConfig": {
"streamArn": "string",
},
"kinesisVideoStreamConfig": {
"encryptionConfig": {
"encryptionType": "string",
"keyId": "string",
},
"prefix": "string",
"retentionPeriodHours": 0,
},
"s3Config": {
"bucketName": "string",
"bucketPrefix": "string",
"encryptionConfig": {
"encryptionType": "string",
"keyId": "string",
},
},
})
const instanceStorageConfigResource = new aws.connect.InstanceStorageConfig("instanceStorageConfigResource", {
instanceId: "string",
resourceType: "string",
storageConfig: {
storageType: "string",
kinesisFirehoseConfig: {
firehoseArn: "string",
},
kinesisStreamConfig: {
streamArn: "string",
},
kinesisVideoStreamConfig: {
encryptionConfig: {
encryptionType: "string",
keyId: "string",
},
prefix: "string",
retentionPeriodHours: 0,
},
s3Config: {
bucketName: "string",
bucketPrefix: "string",
encryptionConfig: {
encryptionType: "string",
keyId: "string",
},
},
},
});
type: aws:connect:InstanceStorageConfig
properties:
instanceId: string
resourceType: string
storageConfig:
kinesisFirehoseConfig:
firehoseArn: string
kinesisStreamConfig:
streamArn: string
kinesisVideoStreamConfig:
encryptionConfig:
encryptionType: string
keyId: string
prefix: string
retentionPeriodHours: 0
s3Config:
bucketName: string
bucketPrefix: string
encryptionConfig:
encryptionType: string
keyId: string
storageType: string
InstanceStorageConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InstanceStorageConfig resource accepts the following input properties:
- Instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - Storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- Instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - Storage
Config InstanceStorage Config Storage Config Args - Specifies the storage configuration options for the Connect Instance. Documented below.
- instance
Id String - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- instance_
id str - Specifies the identifier of the hosting Amazon Connect Instance.
- resource_
type str - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage_
config InstanceStorage Config Storage Config Args - Specifies the storage configuration options for the Connect Instance. Documented below.
- instance
Id String - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config Property Map - Specifies the storage configuration options for the Connect Instance. Documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceStorageConfig resource produces the following output properties:
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- id String
- The provider-assigned unique ID for this managed resource.
- association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- id string
- The provider-assigned unique ID for this managed resource.
- association_
id str - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- id str
- The provider-assigned unique ID for this managed resource.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing InstanceStorageConfig Resource
Get an existing InstanceStorageConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceStorageConfigState, opts?: CustomResourceOptions): InstanceStorageConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
association_id: Optional[str] = None,
instance_id: Optional[str] = None,
resource_type: Optional[str] = None,
storage_config: Optional[InstanceStorageConfigStorageConfigArgs] = None) -> InstanceStorageConfig
func GetInstanceStorageConfig(ctx *Context, name string, id IDInput, state *InstanceStorageConfigState, opts ...ResourceOption) (*InstanceStorageConfig, error)
public static InstanceStorageConfig Get(string name, Input<string> id, InstanceStorageConfigState? state, CustomResourceOptions? opts = null)
public static InstanceStorageConfig get(String name, Output<String> id, InstanceStorageConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - Storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - Storage
Config InstanceStorage Config Storage Config Args - Specifies the storage configuration options for the Connect Instance. Documented below.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id String - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id string - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config InstanceStorage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- association_
id str - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance_
id str - Specifies the identifier of the hosting Amazon Connect Instance.
- resource_
type str - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage_
config InstanceStorage Config Storage Config Args - Specifies the storage configuration options for the Connect Instance. Documented below.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id String - Specifies the identifier of the hosting Amazon Connect Instance.
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
. - storage
Config Property Map - Specifies the storage configuration options for the Connect Instance. Documented below.
Supporting Types
InstanceStorageConfigStorageConfig, InstanceStorageConfigStorageConfigArgs
- Storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - Kinesis
Firehose InstanceConfig Storage Config Storage Config Kinesis Firehose Config - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- Kinesis
Stream InstanceConfig Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- Kinesis
Video InstanceStream Config Storage Config Storage Config Kinesis Video Stream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- S3Config
Instance
Storage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- Storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - Kinesis
Firehose InstanceConfig Storage Config Storage Config Kinesis Firehose Config - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- Kinesis
Stream InstanceConfig Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- Kinesis
Video InstanceStream Config Storage Config Storage Config Kinesis Video Stream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- S3Config
Instance
Storage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- storage
Type String - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - kinesis
Firehose InstanceConfig Storage Config Storage Config Kinesis Firehose Config - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis
Stream InstanceConfig Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video InstanceStream Config Storage Config Storage Config Kinesis Video Stream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Config
Instance
Storage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - kinesis
Firehose InstanceConfig Storage Config Storage Config Kinesis Firehose Config - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis
Stream InstanceConfig Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video InstanceStream Config Storage Config Storage Config Kinesis Video Stream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Config
Instance
Storage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- storage_
type str - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - kinesis_
firehose_ Instanceconfig Storage Config Storage Config Kinesis Firehose Config - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis_
stream_ Instanceconfig Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis_
video_ Instancestream_ config Storage Config Storage Config Kinesis Video Stream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3_
config InstanceStorage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- storage
Type String - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
. - kinesis
Firehose Property MapConfig - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis
Stream Property MapConfig - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video Property MapStream Config - A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Config Property Map
- A block that specifies the configuration of S3 Bucket. Documented below.
InstanceStorageConfigStorageConfigKinesisFirehoseConfig, InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs
- Firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- Firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn String - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- firehose_
arn str - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn String - The Amazon Resource Name (ARN) of the delivery stream.
InstanceStorageConfigStorageConfigKinesisStreamConfig, InstanceStorageConfigStorageConfigKinesisStreamConfigArgs
- Stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- Stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn String - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- stream_
arn str - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn String - The Amazon Resource Name (ARN) of the data stream.
InstanceStorageConfigStorageConfigKinesisVideoStreamConfig, InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs
- Encryption
Config InstanceStorage Config Storage Config Kinesis Video Stream Config Encryption Config - The encryption configuration. Documented below.
- Prefix string
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - Retention
Period intHours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
- Encryption
Config InstanceStorage Config Storage Config Kinesis Video Stream Config Encryption Config - The encryption configuration. Documented below.
- Prefix string
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - Retention
Period intHours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
- encryption
Config InstanceStorage Config Storage Config Kinesis Video Stream Config Encryption Config - The encryption configuration. Documented below.
- prefix String
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - retention
Period IntegerHours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
- encryption
Config InstanceStorage Config Storage Config Kinesis Video Stream Config Encryption Config - The encryption configuration. Documented below.
- prefix string
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - retention
Period numberHours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
- encryption_
config InstanceStorage Config Storage Config Kinesis Video Stream Config Encryption Config - The encryption configuration. Documented below.
- prefix str
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - retention_
period_ inthours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
- encryption
Config Property Map - The encryption configuration. Documented below.
- prefix String
- The prefix of the video stream. Minimum length of
1
. Maximum length of128
. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-
since the API appends additional details to theprefix
. - retention
Period NumberHours - The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. Minimum value of
0
. Maximum value of87600
. A value of0
, indicates that the stream does not persist data.
InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig, InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type string - The type of encryption. Valid Values:
KMS
. - key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption_
type str - The type of encryption. Valid Values:
KMS
. - key_
id str - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
InstanceStorageConfigStorageConfigS3Config, InstanceStorageConfigStorageConfigS3ConfigArgs
- Bucket
Name string - The S3 bucket name.
- Bucket
Prefix string - The S3 bucket prefix.
- Encryption
Config InstanceStorage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- Bucket
Name string - The S3 bucket name.
- Bucket
Prefix string - The S3 bucket prefix.
- Encryption
Config InstanceStorage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- bucket
Name String - The S3 bucket name.
- bucket
Prefix String - The S3 bucket prefix.
- encryption
Config InstanceStorage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- bucket
Name string - The S3 bucket name.
- bucket
Prefix string - The S3 bucket prefix.
- encryption
Config InstanceStorage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- bucket_
name str - The S3 bucket name.
- bucket_
prefix str - The S3 bucket prefix.
- encryption_
config InstanceStorage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- bucket
Name String - The S3 bucket name.
- bucket
Prefix String - The S3 bucket prefix.
- encryption
Config Property Map - The encryption configuration. Documented below.
InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig, InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type string - The type of encryption. Valid Values:
KMS
. - key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption_
type str - The type of encryption. Valid Values:
KMS
. - key_
id str - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
Import
Using pulumi import
, import Amazon Connect Instance Storage Configs using the instance_id
, association_id
, and resource_type
separated by a colon (:
). For example:
$ pulumi import aws:connect/instanceStorageConfig:InstanceStorageConfig example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5:CHAT_TRANSCRIPTS
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.