Skip to content
v2.278.0

AutoAcceptConfigProperty Struct ​

Auto-accept configuration per channel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const autoAcceptConfigProperty: connect.CfnUser.AutoAcceptConfigProperty = {
  autoAccept: false,
  channel: 'channel',

  // the properties below are optional
  agentFirstCallbackAutoAccept: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

auto_accept_config_property = connect.CfnUser.AutoAcceptConfigProperty(
    auto_accept=False,
    channel="channel",

    # the properties below are optional
    agent_first_callback_auto_accept=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

AutoAcceptConfigProperty autoAcceptConfigProperty = AutoAcceptConfigProperty.builder()
        .autoAccept(false)
        .channel("channel")

        // the properties below are optional
        .agentFirstCallbackAutoAccept(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var autoAcceptConfigProperty = new AutoAcceptConfigProperty {
    AutoAccept = false,
    Channel = "channel",

    // the properties below are optional
    AgentFirstCallbackAutoAccept = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

autoAcceptConfigProperty := &AutoAcceptConfigProperty{
	AutoAccept: jsii.Boolean(false),
	Channel: jsii.String("channel"),

	// the properties below are optional
	AgentFirstCallbackAutoAccept: jsii.Boolean(false),
}

Properties ​

agentFirstCallbackAutoAcceptoptionalboolean | IResolvableagent_first_callback_auto_acceptoptionaltyping.Union[bool, IResolvable]agentFirstCallbackAutoAcceptoptionalBooleanAgentFirstCallbackAutoAcceptoptionalboolAgentFirstCallbackAutoAcceptoptionalinterface{} #
The agent first callback auto accept setting.
autoAcceptboolean | IResolvableauto_accepttyping.Union[bool, IResolvable]autoAcceptBooleanAutoAcceptboolAutoAcceptinterface{} required #
The Auto accept setting.
channelstringchannelstrchannelStringChannelstringChannel*string required #
The channels that agents can handle in the Contact Control Panel (CCP).