CfnInstanceStorageConfigProps

class aws_cdk.aws_connect.CfnInstanceStorageConfigProps(*, instance_arn, resource_type, storage_type, kinesis_firehose_config=None, kinesis_stream_config=None, kinesis_video_stream_config=None, s3_config=None)

Bases: object

Properties for defining a CfnInstanceStorageConfig.

Parameters:
  • instance_arn (str) – The Amazon Resource Name (ARN) of the instance.

  • resource_type (str) – A valid resource type. Following are the valid resource types: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS

  • storage_type (str) – A valid storage type.

  • kinesis_firehose_config (Union[IResolvable, KinesisFirehoseConfigProperty, Dict[str, Any], None]) – The configuration of the Kinesis Firehose delivery stream.

  • kinesis_stream_config (Union[IResolvable, KinesisStreamConfigProperty, Dict[str, Any], None]) – The configuration of the Kinesis data stream.

  • kinesis_video_stream_config (Union[IResolvable, KinesisVideoStreamConfigProperty, Dict[str, Any], None]) – The configuration of the Kinesis video stream.

  • s3_config (Union[IResolvable, S3ConfigProperty, Dict[str, Any], None]) – The S3 bucket configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_connect as connect

cfn_instance_storage_config_props = connect.CfnInstanceStorageConfigProps(
    instance_arn="instanceArn",
    resource_type="resourceType",
    storage_type="storageType",

    # the properties below are optional
    kinesis_firehose_config=connect.CfnInstanceStorageConfig.KinesisFirehoseConfigProperty(
        firehose_arn="firehoseArn"
    ),
    kinesis_stream_config=connect.CfnInstanceStorageConfig.KinesisStreamConfigProperty(
        stream_arn="streamArn"
    ),
    kinesis_video_stream_config=connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty(
        prefix="prefix",
        retention_period_hours=123,

        # the properties below are optional
        encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
            encryption_type="encryptionType",
            key_id="keyId"
        )
    ),
    s3_config=connect.CfnInstanceStorageConfig.S3ConfigProperty(
        bucket_name="bucketName",
        bucket_prefix="bucketPrefix",

        # the properties below are optional
        encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
            encryption_type="encryptionType",
            key_id="keyId"
        )
    )
)

Attributes

instance_arn

The Amazon Resource Name (ARN) of the instance.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-instancearn

kinesis_firehose_config

The configuration of the Kinesis Firehose delivery stream.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisfirehoseconfig

kinesis_stream_config

The configuration of the Kinesis data stream.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisstreamconfig

kinesis_video_stream_config

The configuration of the Kinesis video stream.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig

resource_type

A valid resource type.

Following are the valid resource types: CHAT_TRANSCRIPTS | CALL_RECORDINGS | SCHEDULED_REPORTS | MEDIA_STREAMS | CONTACT_TRACE_RECORDS | AGENT_EVENTS

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-resourcetype

s3_config

The S3 bucket configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-s3config

storage_type

A valid storage type.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-storagetype