CfnInstanceLogsMixin

class aws_cdk.mixins_preview.aws_connect.mixins.CfnInstanceLogsMixin(log_type, log_delivery)

Bases: Mixin

This is a preview release for Amazon Connect . It is subject to change..

Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis.

Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.

See:

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

CloudformationResource:

AWS::Connect::Instance

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import aws_logs as logs
from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins

# logs_delivery: logs.ILogsDelivery

cfn_instance_logs_mixin = connect_mixins.CfnInstanceLogsMixin("logType", logs_delivery)

Create a mixin to enable vended logs for AWS::Connect::Instance.

Parameters:
  • log_type (str) – Type of logs that are getting vended.

  • log_delivery (ILogsDelivery) – Object in charge of setting up the delivery destination and delivery connection.

Methods

apply_to(resource)

Apply vended logs configuration to the construct.

Parameters:

resource (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct (has vendedLogs property).

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

AMAZON_CONNECT_FLOW_LOGS = <aws_cdk.mixins_preview.aws_connect.mixins.CfnInstanceAmazonConnectFlowLogs object>

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental