# AutoAcceptConfigProperty

Auto-accept configuration per channel.

- Source: Generated at build time
- Type last changed: v2.239.0 · 19 Feb 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `agentFirstCallbackAutoAccept`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The agent first callback auto accept setting.

- `autoAccept`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — The Auto accept setting.

- `channel`: string (required) — The channels that agents can handle in the Contact Control Panel (CCP).
