AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.connect.getInstanceStorageConfig
Explore with Pulumi AI
Provides details about a specific Amazon Connect Instance Storage Config.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.connect.getInstanceStorageConfig({
    associationId: "1234567891234567890122345678912345678901223456789123456789012234",
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    resourceType: "CONTACT_TRACE_RECORDS",
});
import pulumi
import pulumi_aws as aws
example = aws.connect.get_instance_storage_config(association_id="1234567891234567890122345678912345678901223456789123456789012234",
    instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    resource_type="CONTACT_TRACE_RECORDS")
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.LookupInstanceStorageConfig(ctx, &connect.LookupInstanceStorageConfigArgs{
			AssociationId: "1234567891234567890122345678912345678901223456789123456789012234",
			InstanceId:    "aaaaaaaa-bbbb-cccc-dddd-111111111111",
			ResourceType:  "CONTACT_TRACE_RECORDS",
		}, nil)
		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 = Aws.Connect.GetInstanceStorageConfig.Invoke(new()
    {
        AssociationId = "1234567891234567890122345678912345678901223456789123456789012234",
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        ResourceType = "CONTACT_TRACE_RECORDS",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.ConnectFunctions;
import com.pulumi.aws.connect.inputs.GetInstanceStorageConfigArgs;
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) {
        final var example = ConnectFunctions.getInstanceStorageConfig(GetInstanceStorageConfigArgs.builder()
            .associationId("1234567891234567890122345678912345678901223456789123456789012234")
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .resourceType("CONTACT_TRACE_RECORDS")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:connect:getInstanceStorageConfig
      arguments:
        associationId: 1234567891234567890122345678912345678901223456789123456789012234
        instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
        resourceType: CONTACT_TRACE_RECORDS
Using getInstanceStorageConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceStorageConfig(args: GetInstanceStorageConfigArgs, opts?: InvokeOptions): Promise<GetInstanceStorageConfigResult>
function getInstanceStorageConfigOutput(args: GetInstanceStorageConfigOutputArgs, opts?: InvokeOptions): Output<GetInstanceStorageConfigResult>def get_instance_storage_config(association_id: Optional[str] = None,
                                instance_id: Optional[str] = None,
                                resource_type: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetInstanceStorageConfigResult
def get_instance_storage_config_output(association_id: Optional[pulumi.Input[str]] = None,
                                instance_id: Optional[pulumi.Input[str]] = None,
                                resource_type: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetInstanceStorageConfigResult]func LookupInstanceStorageConfig(ctx *Context, args *LookupInstanceStorageConfigArgs, opts ...InvokeOption) (*LookupInstanceStorageConfigResult, error)
func LookupInstanceStorageConfigOutput(ctx *Context, args *LookupInstanceStorageConfigOutputArgs, opts ...InvokeOption) LookupInstanceStorageConfigResultOutput> Note: This function is named LookupInstanceStorageConfig in the Go SDK.
public static class GetInstanceStorageConfig 
{
    public static Task<GetInstanceStorageConfigResult> InvokeAsync(GetInstanceStorageConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceStorageConfigResult> Invoke(GetInstanceStorageConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceStorageConfigResult> getInstanceStorageConfig(GetInstanceStorageConfigArgs args, InvokeOptions options)
public static Output<GetInstanceStorageConfigResult> getInstanceStorageConfig(GetInstanceStorageConfigArgs args, InvokeOptions options)
fn::invoke:
  function: aws:connect/getInstanceStorageConfig:getInstanceStorageConfig
  arguments:
    # arguments dictionaryThe following 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
- Reference to 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.
- AssociationId string
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- InstanceId string
- Reference to 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.
- associationId String
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instanceId String
- Reference to 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.
- associationId string
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instanceId string
- Reference to 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.
- association_id str
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance_id str
- Reference to 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.
- associationId String
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instanceId String
- Reference to 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.
getInstanceStorageConfig Result
The following output properties are available:
- AssociationId string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- ResourceType string
- StorageConfigs List<GetInstance Storage Config Storage Config> 
- Specifies the storage configuration options for the Connect Instance. Documented below.
- AssociationId string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- ResourceType string
- StorageConfigs []GetInstance Storage Config Storage Config 
- Specifies the storage configuration options for the Connect Instance. Documented below.
- associationId String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- resourceType String
- storageConfigs List<GetInstance Storage Config Storage Config> 
- Specifies the storage configuration options for the Connect Instance. Documented below.
- associationId string
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- resourceType string
- storageConfigs GetInstance Storage Config Storage Config[] 
- Specifies the storage configuration options for the Connect Instance. Documented below.
- association_id str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_id str
- resource_type str
- storage_configs Sequence[GetInstance Storage Config Storage Config] 
- Specifies the storage configuration options for the Connect Instance. Documented below.
- associationId String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- resourceType String
- storageConfigs List<Property Map>
- Specifies the storage configuration options for the Connect Instance. Documented below.
Supporting Types
GetInstanceStorageConfigStorageConfig     
- KinesisFirehose List<GetConfigs Instance Storage Config Storage Config Kinesis Firehose Config> 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- KinesisStream List<GetConfigs Instance Storage Config Storage Config Kinesis Stream Config> 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- KinesisVideo List<GetStream Configs Instance Storage Config Storage Config Kinesis Video Stream Config> 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- S3Configs
List<GetInstance Storage Config Storage Config S3Config> 
- 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.
- KinesisFirehose []GetConfigs Instance Storage Config Storage Config Kinesis Firehose Config 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- KinesisStream []GetConfigs Instance Storage Config Storage Config Kinesis Stream Config 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- KinesisVideo []GetStream Configs Instance Storage Config Storage Config Kinesis Video Stream Config 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- S3Configs
[]GetInstance Storage Config Storage Config S3Config 
- 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.
- kinesisFirehose List<GetConfigs Instance Storage Config Storage Config Kinesis Firehose Config> 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesisStream List<GetConfigs Instance Storage Config Storage Config Kinesis Stream Config> 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesisVideo List<GetStream Configs Instance Storage Config Storage Config Kinesis Video Stream Config> 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Configs
List<GetInstance Storage Config Storage Config S3Config> 
- 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.
- kinesisFirehose GetConfigs Instance Storage Config Storage Config Kinesis Firehose Config[] 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesisStream GetConfigs Instance Storage Config Storage Config Kinesis Stream Config[] 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesisVideo GetStream Configs Instance Storage Config Storage Config Kinesis Video Stream Config[] 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Configs
GetInstance Storage Config Storage Config S3Config[] 
- 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.
- kinesis_firehose_ Sequence[Getconfigs Instance Storage Config Storage Config Kinesis Firehose Config] 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis_stream_ Sequence[Getconfigs Instance Storage Config Storage Config Kinesis Stream Config] 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis_video_ Sequence[Getstream_ configs Instance Storage Config Storage Config Kinesis Video Stream Config] 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3_configs Sequence[GetInstance Storage Config Storage Config S3Config] 
- A block that specifies the configuration of S3 Bucket. Documented below.
- storage_type str
- A valid storage type. Valid Values: S3|KINESIS_VIDEO_STREAM|KINESIS_STREAM|KINESIS_FIREHOSE.
- kinesisFirehose List<Property Map>Configs 
- A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesisStream List<Property Map>Configs 
- A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesisVideo List<Property Map>Stream Configs 
- A block that specifies the configuration of the Kinesis video stream. Documented below.
- s3Configs List<Property Map>
- 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.
GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig        
- 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.
GetInstanceStorageConfigStorageConfigKinesisStreamConfig        
- 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.
GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig         
- EncryptionConfigs List<GetInstance Storage Config Storage Config Kinesis Video Stream Config Encryption Config> 
- The encryption configuration. Documented below.
- Prefix string
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- RetentionPeriod intHours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
- EncryptionConfigs []GetInstance Storage Config Storage Config Kinesis Video Stream Config Encryption Config 
- The encryption configuration. Documented below.
- Prefix string
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- RetentionPeriod intHours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
- encryptionConfigs List<GetInstance Storage Config Storage Config Kinesis Video Stream Config Encryption Config> 
- The encryption configuration. Documented below.
- prefix String
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- retentionPeriod IntegerHours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
- encryptionConfigs GetInstance Storage Config Storage Config Kinesis Video Stream Config Encryption Config[] 
- The encryption configuration. Documented below.
- prefix string
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- retentionPeriod numberHours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
- encryption_configs Sequence[GetInstance Storage Config Storage Config Kinesis Video Stream Config Encryption Config] 
- The encryption configuration. Documented below.
- prefix str
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- retention_period_ inthours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
- encryptionConfigs List<Property Map>
- The encryption configuration. Documented below.
- prefix String
- The prefix of the video stream. Minimum length of 1. Maximum length of128. When read from the state, the value returned is<prefix>-connect-<connect_instance_alias>-contact-since the API appends additional details to theprefix.
- retentionPeriod NumberHours 
- The number of hours to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of87600. A value of0indicates that the stream does not persist data.
GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig           
- 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.
GetInstanceStorageConfigStorageConfigS3Config      
- BucketName string
- The S3 bucket name.
- BucketPrefix string
- The S3 bucket prefix.
- EncryptionConfigs List<GetInstance Storage Config Storage Config S3Config Encryption Config> 
- The encryption configuration. Documented below.
- BucketName string
- The S3 bucket name.
- BucketPrefix string
- The S3 bucket prefix.
- EncryptionConfigs []GetInstance Storage Config Storage Config S3Config Encryption Config 
- The encryption configuration. Documented below.
- bucketName String
- The S3 bucket name.
- bucketPrefix String
- The S3 bucket prefix.
- encryptionConfigs List<GetInstance Storage Config Storage Config S3Config Encryption Config> 
- The encryption configuration. Documented below.
- bucketName string
- The S3 bucket name.
- bucketPrefix string
- The S3 bucket prefix.
- encryptionConfigs GetInstance Storage Config Storage Config S3Config Encryption Config[] 
- The encryption configuration. Documented below.
- bucket_name str
- The S3 bucket name.
- bucket_prefix str
- The S3 bucket prefix.
- encryption_configs Sequence[GetInstance Storage Config Storage Config S3Config Encryption Config] 
- The encryption configuration. Documented below.
- bucketName String
- The S3 bucket name.
- bucketPrefix String
- The S3 bucket prefix.
- encryptionConfigs List<Property Map>
- The encryption configuration. Documented below.
GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig        
- 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.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.