aws logo
AWS Classic v5.41.0, May 15 23

aws.connect.InstanceStorageConfig

Explore with Pulumi AI

Provides an Amazon Connect Instance Storage Config resource. For more information see Amazon Connect: Getting Started

Example Usage

Storage Config Kinesis Firehose Config

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 = aws_connect_instance.Example.Id,
        ResourceType = "CONTACT_TRACE_RECORDS",
        StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
        {
            KinesisFirehoseConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs
            {
                FirehoseArn = aws_kinesis_firehose_delivery_stream.Example.Arn,
            },
            StorageType = "KINESIS_FIREHOSE",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_connect_instance.Example.Id),
			ResourceType: pulumi.String("CONTACT_TRACE_RECORDS"),
			StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
				KinesisFirehoseConfig: &connect.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs{
					FirehoseArn: pulumi.Any(aws_kinesis_firehose_delivery_stream.Example.Arn),
				},
				StorageType: pulumi.String("KINESIS_FIREHOSE"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(aws_connect_instance.example().id())
            .resourceType("CONTACT_TRACE_RECORDS")
            .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
                .kinesisFirehoseConfig(InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs.builder()
                    .firehoseArn(aws_kinesis_firehose_delivery_stream.example().arn())
                    .build())
                .storageType("KINESIS_FIREHOSE")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.InstanceStorageConfig("example",
    instance_id=aws_connect_instance["example"]["id"],
    resource_type="CONTACT_TRACE_RECORDS",
    storage_config=aws.connect.InstanceStorageConfigStorageConfigArgs(
        kinesis_firehose_config=aws.connect.InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs(
            firehose_arn=aws_kinesis_firehose_delivery_stream["example"]["arn"],
        ),
        storage_type="KINESIS_FIREHOSE",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.InstanceStorageConfig("example", {
    instanceId: aws_connect_instance.example.id,
    resourceType: "CONTACT_TRACE_RECORDS",
    storageConfig: {
        kinesisFirehoseConfig: {
            firehoseArn: aws_kinesis_firehose_delivery_stream.example.arn,
        },
        storageType: "KINESIS_FIREHOSE",
    },
});
resources:
  example:
    type: aws:connect:InstanceStorageConfig
    properties:
      instanceId: ${aws_connect_instance.example.id}
      resourceType: CONTACT_TRACE_RECORDS
      storageConfig:
        kinesisFirehoseConfig:
          firehoseArn: ${aws_kinesis_firehose_delivery_stream.example.arn}
        storageType: KINESIS_FIREHOSE

Storage Config Kinesis Stream Config

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 = aws_connect_instance.Example.Id,
        ResourceType = "CONTACT_TRACE_RECORDS",
        StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
        {
            KinesisStreamConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs
            {
                StreamArn = aws_kinesis_stream.Example.Arn,
            },
            StorageType = "KINESIS_STREAM",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_connect_instance.Example.Id),
			ResourceType: pulumi.String("CONTACT_TRACE_RECORDS"),
			StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
				KinesisStreamConfig: &connect.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs{
					StreamArn: pulumi.Any(aws_kinesis_stream.Example.Arn),
				},
				StorageType: pulumi.String("KINESIS_STREAM"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(aws_connect_instance.example().id())
            .resourceType("CONTACT_TRACE_RECORDS")
            .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
                .kinesisStreamConfig(InstanceStorageConfigStorageConfigKinesisStreamConfigArgs.builder()
                    .streamArn(aws_kinesis_stream.example().arn())
                    .build())
                .storageType("KINESIS_STREAM")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.InstanceStorageConfig("example",
    instance_id=aws_connect_instance["example"]["id"],
    resource_type="CONTACT_TRACE_RECORDS",
    storage_config=aws.connect.InstanceStorageConfigStorageConfigArgs(
        kinesis_stream_config=aws.connect.InstanceStorageConfigStorageConfigKinesisStreamConfigArgs(
            stream_arn=aws_kinesis_stream["example"]["arn"],
        ),
        storage_type="KINESIS_STREAM",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.InstanceStorageConfig("example", {
    instanceId: aws_connect_instance.example.id,
    resourceType: "CONTACT_TRACE_RECORDS",
    storageConfig: {
        kinesisStreamConfig: {
            streamArn: aws_kinesis_stream.example.arn,
        },
        storageType: "KINESIS_STREAM",
    },
});
resources:
  example:
    type: aws:connect:InstanceStorageConfig
    properties:
      instanceId: ${aws_connect_instance.example.id}
      resourceType: CONTACT_TRACE_RECORDS
      storageConfig:
        kinesisStreamConfig:
          streamArn: ${aws_kinesis_stream.example.arn}
        storageType: KINESIS_STREAM

Storage Config Kinesis Video Stream Config

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 = aws_connect_instance.Example.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 = aws_kms_key.Example.Arn,
                },
            },
            StorageType = "KINESIS_VIDEO_STREAM",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_connect_instance.Example.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(aws_kms_key.Example.Arn),
					},
				},
				StorageType: pulumi.String("KINESIS_VIDEO_STREAM"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(aws_connect_instance.example().id())
            .resourceType("MEDIA_STREAMS")
            .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
                .kinesisVideoStreamConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs.builder()
                    .prefix("example")
                    .retentionPeriodHours(3)
                    .encryptionConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs.builder()
                        .encryptionType("KMS")
                        .keyId(aws_kms_key.example().arn())
                        .build())
                    .build())
                .storageType("KINESIS_VIDEO_STREAM")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.InstanceStorageConfig("example",
    instance_id=aws_connect_instance["example"]["id"],
    resource_type="MEDIA_STREAMS",
    storage_config=aws.connect.InstanceStorageConfigStorageConfigArgs(
        kinesis_video_stream_config=aws.connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs(
            prefix="example",
            retention_period_hours=3,
            encryption_config=aws.connect.InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs(
                encryption_type="KMS",
                key_id=aws_kms_key["example"]["arn"],
            ),
        ),
        storage_type="KINESIS_VIDEO_STREAM",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.InstanceStorageConfig("example", {
    instanceId: aws_connect_instance.example.id,
    resourceType: "MEDIA_STREAMS",
    storageConfig: {
        kinesisVideoStreamConfig: {
            prefix: "example",
            retentionPeriodHours: 3,
            encryptionConfig: {
                encryptionType: "KMS",
                keyId: aws_kms_key.example.arn,
            },
        },
        storageType: "KINESIS_VIDEO_STREAM",
    },
});
resources:
  example:
    type: aws:connect:InstanceStorageConfig
    properties:
      instanceId: ${aws_connect_instance.example.id}
      resourceType: MEDIA_STREAMS
      storageConfig:
        kinesisVideoStreamConfig:
          prefix: example
          retentionPeriodHours: 3
          encryptionConfig:
            encryptionType: KMS
            keyId: ${aws_kms_key.example.arn}
        storageType: KINESIS_VIDEO_STREAM

Storage Config S3 Config

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 = aws_connect_instance.Example.Id,
        ResourceType = "CHAT_TRANSCRIPTS",
        StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
        {
            S3Config = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigArgs
            {
                BucketName = aws_s3_bucket.Example.Id,
                BucketPrefix = "example",
            },
            StorageType = "S3",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_connect_instance.Example.Id),
			ResourceType: pulumi.String("CHAT_TRANSCRIPTS"),
			StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
				S3Config: &connect.InstanceStorageConfigStorageConfigS3ConfigArgs{
					BucketName:   pulumi.Any(aws_s3_bucket.Example.Id),
					BucketPrefix: pulumi.String("example"),
				},
				StorageType: pulumi.String("S3"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(aws_connect_instance.example().id())
            .resourceType("CHAT_TRANSCRIPTS")
            .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
                .s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
                    .bucketName(aws_s3_bucket.example().id())
                    .bucketPrefix("example")
                    .build())
                .storageType("S3")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.InstanceStorageConfig("example",
    instance_id=aws_connect_instance["example"]["id"],
    resource_type="CHAT_TRANSCRIPTS",
    storage_config=aws.connect.InstanceStorageConfigStorageConfigArgs(
        s3_config=aws.connect.InstanceStorageConfigStorageConfigS3ConfigArgs(
            bucket_name=aws_s3_bucket["example"]["id"],
            bucket_prefix="example",
        ),
        storage_type="S3",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.InstanceStorageConfig("example", {
    instanceId: aws_connect_instance.example.id,
    resourceType: "CHAT_TRANSCRIPTS",
    storageConfig: {
        s3Config: {
            bucketName: aws_s3_bucket.example.id,
            bucketPrefix: "example",
        },
        storageType: "S3",
    },
});
resources:
  example:
    type: aws:connect:InstanceStorageConfig
    properties:
      instanceId: ${aws_connect_instance.example.id}
      resourceType: CHAT_TRANSCRIPTS
      storageConfig:
        s3Config:
          bucketName: ${aws_s3_bucket.example.id}
          bucketPrefix: example
        storageType: S3

Storage Config S3 Config with Encryption Config

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 = aws_connect_instance.Example.Id,
        ResourceType = "CHAT_TRANSCRIPTS",
        StorageConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigArgs
        {
            S3Config = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigArgs
            {
                BucketName = aws_s3_bucket.Example.Id,
                BucketPrefix = "example",
                EncryptionConfig = new Aws.Connect.Inputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs
                {
                    EncryptionType = "KMS",
                    KeyId = aws_kms_key.Example.Arn,
                },
            },
            StorageType = "S3",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_connect_instance.Example.Id),
			ResourceType: pulumi.String("CHAT_TRANSCRIPTS"),
			StorageConfig: &connect.InstanceStorageConfigStorageConfigArgs{
				S3Config: &connect.InstanceStorageConfigStorageConfigS3ConfigArgs{
					BucketName:   pulumi.Any(aws_s3_bucket.Example.Id),
					BucketPrefix: pulumi.String("example"),
					EncryptionConfig: &connect.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs{
						EncryptionType: pulumi.String("KMS"),
						KeyId:          pulumi.Any(aws_kms_key.Example.Arn),
					},
				},
				StorageType: pulumi.String("S3"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(aws_connect_instance.example().id())
            .resourceType("CHAT_TRANSCRIPTS")
            .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
                .s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
                    .bucketName(aws_s3_bucket.example().id())
                    .bucketPrefix("example")
                    .encryptionConfig(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs.builder()
                        .encryptionType("KMS")
                        .keyId(aws_kms_key.example().arn())
                        .build())
                    .build())
                .storageType("S3")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.InstanceStorageConfig("example",
    instance_id=aws_connect_instance["example"]["id"],
    resource_type="CHAT_TRANSCRIPTS",
    storage_config=aws.connect.InstanceStorageConfigStorageConfigArgs(
        s3_config=aws.connect.InstanceStorageConfigStorageConfigS3ConfigArgs(
            bucket_name=aws_s3_bucket["example"]["id"],
            bucket_prefix="example",
            encryption_config=aws.connect.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs(
                encryption_type="KMS",
                key_id=aws_kms_key["example"]["arn"],
            ),
        ),
        storage_type="S3",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.InstanceStorageConfig("example", {
    instanceId: aws_connect_instance.example.id,
    resourceType: "CHAT_TRANSCRIPTS",
    storageConfig: {
        s3Config: {
            bucketName: aws_s3_bucket.example.id,
            bucketPrefix: "example",
            encryptionConfig: {
                encryptionType: "KMS",
                keyId: aws_kms_key.example.arn,
            },
        },
        storageType: "S3",
    },
});
resources:
  example:
    type: aws:connect:InstanceStorageConfig
    properties:
      instanceId: ${aws_connect_instance.example.id}
      resourceType: CHAT_TRANSCRIPTS
      storageConfig:
        s3Config:
          bucketName: ${aws_s3_bucket.example.id}
          bucketPrefix: example
          encryptionConfig:
            encryptionType: KMS
            keyId: ${aws_kms_key.example.arn}
        storageType: S3

Create InstanceStorageConfig Resource

new InstanceStorageConfig(name: string, args: InstanceStorageConfigArgs, opts?: CustomResourceOptions);
@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)
@overload
def InstanceStorageConfig(resource_name: str,
                          args: InstanceStorageConfigArgs,
                          opts: Optional[ResourceOptions] = 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.

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.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

storageConfig InstanceStorageConfigStorageConfigArgs

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

storageConfig InstanceStorageConfigStorageConfigArgs

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

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: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS.

storageConfig Property Map

Specifies the storage configuration options for the Connect Instance. Documented below.

Supporting Types

InstanceStorageConfigStorageConfig

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

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

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

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

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

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

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

Amazon Connect Instance Storage Configs can be imported using the instance_id, association_id, and resource_type separated by a colon (:), e.g.,

 $ pulumi import aws:connect/instanceStorageConfig:InstanceStorageConfig example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5:CHAT_TRANSCRIPTS

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.