1. Packages
  2. AWS Classic
  3. API Docs
  4. connect
  5. InstanceStorageConfig

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi

aws.connect.InstanceStorageConfig

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi

    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:

    InstanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    ResourceType 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.
    StorageConfig InstanceStorageConfigStorageConfig
    Specifies the storage configuration options for the Connect Instance. Documented below.
    InstanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    ResourceType 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.
    StorageConfig InstanceStorageConfigStorageConfigArgs
    Specifies the storage configuration options for the Connect Instance. Documented below.
    instanceId String
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig InstanceStorageConfigStorageConfig
    Specifies the storage configuration options for the Connect Instance. Documented below.
    instanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig InstanceStorageConfigStorageConfig
    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 InstanceStorageConfigStorageConfigArgs
    Specifies the storage configuration options for the Connect Instance. Documented below.
    instanceId String
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig 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:

    AssociationId 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.
    AssociationId 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.
    associationId 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.
    associationId 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.
    associationId 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.
    The following state arguments are supported:
    AssociationId string
    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
    InstanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    ResourceType 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.
    StorageConfig InstanceStorageConfigStorageConfig
    Specifies the storage configuration options for the Connect Instance. Documented below.
    AssociationId string
    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
    InstanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    ResourceType 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.
    StorageConfig InstanceStorageConfigStorageConfigArgs
    Specifies the storage configuration options for the Connect Instance. Documented below.
    associationId String
    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
    instanceId String
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig InstanceStorageConfigStorageConfig
    Specifies the storage configuration options for the Connect Instance. Documented below.
    associationId string
    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
    instanceId string
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig InstanceStorageConfigStorageConfig
    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 InstanceStorageConfigStorageConfigArgs
    Specifies the storage configuration options for the Connect Instance. Documented below.
    associationId String
    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
    instanceId String
    Specifies the identifier of the hosting Amazon Connect Instance.
    resourceType 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.
    storageConfig Property Map
    Specifies the storage configuration options for the Connect Instance. Documented below.

    Supporting Types

    InstanceStorageConfigStorageConfig, InstanceStorageConfigStorageConfigArgs

    StorageType string
    A valid storage type. Valid Values: S3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.
    KinesisFirehoseConfig InstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    KinesisStreamConfig InstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    KinesisVideoStreamConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    S3Config InstanceStorageConfigStorageConfigS3Config
    A block that specifies the configuration of S3 Bucket. Documented below.
    StorageType string
    A valid storage type. Valid Values: S3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.
    KinesisFirehoseConfig InstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    KinesisStreamConfig InstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    KinesisVideoStreamConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    S3Config InstanceStorageConfigStorageConfigS3Config
    A block that specifies the configuration of S3 Bucket. Documented below.
    storageType String
    A valid storage type. Valid Values: S3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.
    kinesisFirehoseConfig InstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfig InstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3Config InstanceStorageConfigStorageConfigS3Config
    A block that specifies the configuration of S3 Bucket. Documented below.
    storageType string
    A valid storage type. Valid Values: S3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.
    kinesisFirehoseConfig InstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfig InstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3Config InstanceStorageConfigStorageConfigS3Config
    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_config InstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesis_stream_config InstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesis_video_stream_config InstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3_config InstanceStorageConfigStorageConfigS3Config
    A block that specifies the configuration of S3 Bucket. Documented below.
    storageType String
    A valid storage type. Valid Values: S3 | KINESIS_VIDEO_STREAM | KINESIS_STREAM | KINESIS_FIREHOSE.
    kinesisFirehoseConfig Property Map
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfig Property Map
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfig Property Map
    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

    FirehoseArn string
    The Amazon Resource Name (ARN) of the delivery stream.
    FirehoseArn string
    The Amazon Resource Name (ARN) of the delivery stream.
    firehoseArn String
    The Amazon Resource Name (ARN) of the delivery stream.
    firehoseArn string
    The Amazon Resource Name (ARN) of the delivery stream.
    firehose_arn str
    The Amazon Resource Name (ARN) of the delivery stream.
    firehoseArn String
    The Amazon Resource Name (ARN) of the delivery stream.

    InstanceStorageConfigStorageConfigKinesisStreamConfig, InstanceStorageConfigStorageConfigKinesisStreamConfigArgs

    StreamArn string
    The Amazon Resource Name (ARN) of the data stream.
    StreamArn string
    The Amazon Resource Name (ARN) of the data stream.
    streamArn String
    The Amazon Resource Name (ARN) of the data stream.
    streamArn string
    The Amazon Resource Name (ARN) of the data stream.
    stream_arn str
    The Amazon Resource Name (ARN) of the data stream.
    streamArn String
    The Amazon Resource Name (ARN) of the data stream.

    InstanceStorageConfigStorageConfigKinesisVideoStreamConfig, InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs

    EncryptionConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    The encryption configuration. Documented below.
    Prefix string
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    RetentionPeriodHours int
    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 of 87600. A value of 0, indicates that the stream does not persist data.
    EncryptionConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    The encryption configuration. Documented below.
    Prefix string
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    RetentionPeriodHours int
    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 of 87600. A value of 0, indicates that the stream does not persist data.
    encryptionConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    The encryption configuration. Documented below.
    prefix String
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    retentionPeriodHours Integer
    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 of 87600. A value of 0, indicates that the stream does not persist data.
    encryptionConfig InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    The encryption configuration. Documented below.
    prefix string
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    retentionPeriodHours number
    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 of 87600. A value of 0, indicates that the stream does not persist data.
    encryption_config InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    The encryption configuration. Documented below.
    prefix str
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    retention_period_hours int
    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 of 87600. A value of 0, indicates that the stream does not persist data.
    encryptionConfig Property Map
    The encryption configuration. Documented below.
    prefix String
    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-<connect_instance_alias>-contact- since the API appends additional details to the prefix.
    retentionPeriodHours Number
    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 of 87600. A value of 0, indicates that the stream does not persist data.

    InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig, InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs

    EncryptionType string
    The type of encryption. Valid Values: KMS.
    KeyId string
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    EncryptionType string
    The type of encryption. Valid Values: KMS.
    KeyId string
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    encryptionType String
    The type of encryption. Valid Values: KMS.
    keyId String
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    encryptionType string
    The type of encryption. Valid Values: KMS.
    keyId 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.
    encryptionType String
    The type of encryption. Valid Values: KMS.
    keyId 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

    BucketName string
    The S3 bucket name.
    BucketPrefix string
    The S3 bucket prefix.
    EncryptionConfig InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    BucketName string
    The S3 bucket name.
    BucketPrefix string
    The S3 bucket prefix.
    EncryptionConfig InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    bucketName String
    The S3 bucket name.
    bucketPrefix String
    The S3 bucket prefix.
    encryptionConfig InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    bucketName string
    The S3 bucket name.
    bucketPrefix string
    The S3 bucket prefix.
    encryptionConfig InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    bucket_name str
    The S3 bucket name.
    bucket_prefix str
    The S3 bucket prefix.
    encryption_config InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    bucketName String
    The S3 bucket name.
    bucketPrefix String
    The S3 bucket prefix.
    encryptionConfig Property Map
    The encryption configuration. Documented below.

    InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig, InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs

    EncryptionType string
    The type of encryption. Valid Values: KMS.
    KeyId string
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    EncryptionType string
    The type of encryption. Valid Values: KMS.
    KeyId string
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    encryptionType String
    The type of encryption. Valid Values: KMS.
    keyId String
    The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
    encryptionType string
    The type of encryption. Valid Values: KMS.
    keyId 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.
    encryptionType String
    The type of encryption. Valid Values: KMS.
    keyId 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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi