1. Packages
  2. AWS
  3. API Docs
  4. connect
  5. getInstanceStorageConfig
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.connect.getInstanceStorageConfig

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:connect/getInstanceStorageConfig:getInstanceStorageConfig
      arguments:
        # arguments dictionary

    The 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<GetInstanceStorageConfigStorageConfig>
    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 []GetInstanceStorageConfigStorageConfig
    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<GetInstanceStorageConfigStorageConfig>
    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 GetInstanceStorageConfigStorageConfig[]
    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[GetInstanceStorageConfigStorageConfig]
    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

    KinesisFirehoseConfigs List<GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig>
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    KinesisStreamConfigs List<GetInstanceStorageConfigStorageConfigKinesisStreamConfig>
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    KinesisVideoStreamConfigs List<GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig>
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    S3Configs List<GetInstanceStorageConfigStorageConfigS3Config>
    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.
    KinesisFirehoseConfigs []GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    KinesisStreamConfigs []GetInstanceStorageConfigStorageConfigKinesisStreamConfig
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    KinesisVideoStreamConfigs []GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    S3Configs []GetInstanceStorageConfigStorageConfigS3Config
    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.
    kinesisFirehoseConfigs List<GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig>
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfigs List<GetInstanceStorageConfigStorageConfigKinesisStreamConfig>
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfigs List<GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig>
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3Configs List<GetInstanceStorageConfigStorageConfigS3Config>
    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.
    kinesisFirehoseConfigs GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig[]
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfigs GetInstanceStorageConfigStorageConfigKinesisStreamConfig[]
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfigs GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig[]
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3Configs GetInstanceStorageConfigStorageConfigS3Config[]
    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_configs Sequence[GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig]
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesis_stream_configs Sequence[GetInstanceStorageConfigStorageConfigKinesisStreamConfig]
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesis_video_stream_configs Sequence[GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig]
    A block that specifies the configuration of the Kinesis video stream. Documented below.
    s3_configs Sequence[GetInstanceStorageConfigStorageConfigS3Config]
    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.
    kinesisFirehoseConfigs List<Property Map>
    A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
    kinesisStreamConfigs List<Property Map>
    A block that specifies the configuration of the Kinesis data stream. Documented below.
    kinesisVideoStreamConfigs List<Property Map>
    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<GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig>
    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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.
    EncryptionConfigs []GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
    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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.
    encryptionConfigs List<GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig>
    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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.
    encryptionConfigs GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig[]
    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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.
    encryption_configs Sequence[GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig]
    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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.
    encryptionConfigs List<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 to retain the data in a data store associated with the stream. Minimum value of 0. Maximum value of 87600. A value of 0 indicates that the stream does not persist data.

    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<GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig>
    The encryption configuration. Documented below.
    BucketName string
    The S3 bucket name.
    BucketPrefix string
    The S3 bucket prefix.
    EncryptionConfigs []GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
    The encryption configuration. Documented below.
    bucketName String
    The S3 bucket name.
    bucketPrefix String
    The S3 bucket prefix.
    encryptionConfigs List<GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig>
    The encryption configuration. Documented below.
    bucketName string
    The S3 bucket name.
    bucketPrefix string
    The S3 bucket prefix.
    encryptionConfigs GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig[]
    The encryption configuration. Documented below.
    bucket_name str
    The S3 bucket name.
    bucket_prefix str
    The S3 bucket prefix.
    encryption_configs Sequence[GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig]
    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 aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi