Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.connect.getInstanceStorageConfig
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 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: "1234567890123456789012345678901234567890123456789012345678901234",
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="1234567890123456789012345678901234567890123456789012345678901234",
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: "1234567890123456789012345678901234567890123456789012345678901234",
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 = "1234567890123456789012345678901234567890123456789012345678901234",
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("1234567890123456789012345678901234567890123456789012345678901234")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.resourceType("CONTACT_TRACE_RECORDS")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:connect:getInstanceStorageConfig
Arguments:
associationId: 1234567890123456789012345678901234567890123456789012345678901234
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:
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Instance
Id string - Reference to the hosting Amazon Connect Instance
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
.
- Association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- Instance
Id string - Reference to the hosting Amazon Connect Instance
- Resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id String - Reference to the hosting Amazon Connect Instance
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
.
- association
Id string - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id string - Reference to the hosting Amazon Connect Instance
- resource
Type string - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
.
- 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
.
- association
Id String - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- instance
Id String - Reference to the hosting Amazon Connect Instance
- resource
Type String - A valid resource type. Valid Values:
AGENT_EVENTS
|ATTACHMENTS
|CALL_RECORDINGS
|CHAT_TRANSCRIPTS
|CONTACT_EVALUATIONS
|CONTACT_TRACE_RECORDS
|MEDIA_STREAMS
|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
|SCHEDULED_REPORTS
|SCREEN_RECORDINGS
.
getInstanceStorageConfig Result
The following output properties are available:
- Association
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Resource
Type string - Storage
Configs List<GetInstance Storage Config Storage Config> - Specifies the storage configuration options for the Connect Instance. Documented below.
- Association
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Resource
Type string - Storage
Configs []GetInstance Storage Config Storage Config - Specifies the storage configuration options for the Connect Instance. Documented below.
- association
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - resource
Type String - storage
Configs List<GetInstance Storage Config Storage Config> - Specifies the storage configuration options for the Connect Instance. Documented below.
- association
Id string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - resource
Type string - storage
Configs 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.
- association
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - resource
Type String - storage
Configs List<Property Map> - Specifies the storage configuration options for the Connect Instance. Documented below.
Supporting Types
GetInstanceStorageConfigStorageConfig
- Kinesis
Firehose List<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 List<GetConfigs Instance Storage Config Storage Config Kinesis Stream Config> - A block that specifies the configuration of the Kinesis data stream. Documented below.
- Kinesis
Video 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<Get
Instance Storage Config Storage Config S3Config> - A block that specifies the configuration of S3 Bucket. Documented below.
- Storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
.
- Kinesis
Firehose []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 []GetConfigs Instance Storage Config Storage Config Kinesis Stream Config - A block that specifies the configuration of the Kinesis data stream. Documented below.
- Kinesis
Video []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
[]Get
Instance Storage Config Storage Config S3Config - A block that specifies the configuration of S3 Bucket. Documented below.
- Storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
.
- kinesis
Firehose List<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 List<GetConfigs Instance Storage Config Storage Config Kinesis Stream Config> - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video 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<Get
Instance Storage Config Storage Config S3Config> - A block that specifies the configuration of S3 Bucket. Documented below.
- storage
Type String - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
.
- kinesis
Firehose 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 GetConfigs Instance Storage Config Storage Config Kinesis Stream Config[] - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video 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
Get
Instance Storage Config Storage Config S3Config[] - A block that specifies the configuration of S3 Bucket. Documented below.
- storage
Type string - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
.
- kinesis_
firehose_ 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
.
- kinesis
Firehose List<Property Map>Configs - A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
- kinesis
Stream List<Property Map>Configs - A block that specifies the configuration of the Kinesis data stream. Documented below.
- kinesis
Video 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.
- storage
Type String - A valid storage type. Valid Values:
S3
|KINESIS_VIDEO_STREAM
|KINESIS_STREAM
|KINESIS_FIREHOSE
.
GetInstanceStorageConfigStorageConfigKinesisFirehoseConfig
- Firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- Firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn String - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn string - The Amazon Resource Name (ARN) of the delivery stream.
- firehose_
arn str - The Amazon Resource Name (ARN) of the delivery stream.
- firehose
Arn String - The Amazon Resource Name (ARN) of the delivery stream.
GetInstanceStorageConfigStorageConfigKinesisStreamConfig
- Stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- Stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn String - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn string - The Amazon Resource Name (ARN) of the data stream.
- stream_
arn str - The Amazon Resource Name (ARN) of the data stream.
- stream
Arn String - The Amazon Resource Name (ARN) of the data stream.
GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfig
- Encryption
Configs 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
. - 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 of0
indicates that the stream does not persist data.
- Encryption
Configs []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
. - 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 of0
indicates that the stream does not persist data.
- encryption
Configs 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
. - retention
Period 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 of0
indicates that the stream does not persist data.
- encryption
Configs 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
. - retention
Period 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 of0
indicates 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 of0
indicates that the stream does not persist data.
- encryption
Configs 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
. - retention
Period 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 of0
indicates that the stream does not persist data.
GetInstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfig
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type string - The type of encryption. Valid Values:
KMS
. - key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption_
type str - The type of encryption. Valid Values:
KMS
. - key_
id str - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
GetInstanceStorageConfigStorageConfigS3Config
- Bucket
Name string - The S3 bucket name.
- Bucket
Prefix string - The S3 bucket prefix.
- Encryption
Configs List<GetInstance Storage Config Storage Config S3Config Encryption Config> - The encryption configuration. Documented below.
- Bucket
Name string - The S3 bucket name.
- Bucket
Prefix string - The S3 bucket prefix.
- Encryption
Configs []GetInstance Storage Config Storage Config S3Config Encryption Config - The encryption configuration. Documented below.
- bucket
Name String - The S3 bucket name.
- bucket
Prefix String - The S3 bucket prefix.
- encryption
Configs List<GetInstance Storage Config Storage Config S3Config Encryption Config> - The encryption configuration. Documented below.
- bucket
Name string - The S3 bucket name.
- bucket
Prefix string - The S3 bucket prefix.
- encryption
Configs 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.
- bucket
Name String - The S3 bucket name.
- bucket
Prefix String - The S3 bucket prefix.
- encryption
Configs List<Property Map> - The encryption configuration. Documented below.
GetInstanceStorageConfigStorageConfigS3ConfigEncryptionConfig
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- Encryption
Type string - The type of encryption. Valid Values:
KMS
. - Key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type string - The type of encryption. Valid Values:
KMS
. - key
Id string - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption_
type str - The type of encryption. Valid Values:
KMS
. - key_
id str - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
- encryption
Type String - The type of encryption. Valid Values:
KMS
. - key
Id String - The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi