Instance

class Instance : KotlinCustomResource

Provides an Amazon Connect instance resource. For more information see Amazon Connect: Getting Started !>WARN: Amazon Connect enforces a limit of 100 combined instance creation and deletions every 30 days. For example, if you create 80 instances and delete 20 of them, you must wait 30 days to create or delete another instance. Use care when creating or deleting instances.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Instance;
import com.pulumi.aws.connect.InstanceArgs;
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) {
var test = new Instance("test", InstanceArgs.builder()
.identityManagementType("CONNECT_MANAGED")
.inboundCallsEnabled(true)
.instanceAlias("friendly-name-connect")
.outboundCallsEnabled(true)
.build());
}
}

With Existing Active Directory

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Instance;
import com.pulumi.aws.connect.InstanceArgs;
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) {
var test = new Instance("test", InstanceArgs.builder()
.directoryId(aws_directory_service_directory.test().id())
.identityManagementType("EXISTING_DIRECTORY")
.inboundCallsEnabled(true)
.instanceAlias("friendly-name-connect")
.outboundCallsEnabled(true)
.build());
}
}

With SAML

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Instance;
import com.pulumi.aws.connect.InstanceArgs;
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) {
var test = new Instance("test", InstanceArgs.builder()
.identityManagementType("SAML")
.inboundCallsEnabled(true)
.instanceAlias("friendly-name-connect")
.outboundCallsEnabled(true)
.build());
}
}

Import

Connect instances can be imported using the id, e.g.,

$ pulumi import aws:connect/instance:Instance example f1288a1f-6193-445a-b47e-af739b2

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the instance.

Link copied to clipboard

Specifies whether auto resolve best voices is enabled. Defaults to true.

Link copied to clipboard

Specifies whether contact flow logs are enabled. Defaults to false.

Link copied to clipboard

Specifies whether contact lens is enabled. Defaults to true.

Link copied to clipboard
val createdTime: Output<String>

When the instance was created.

Link copied to clipboard
val directoryId: Output<String>?

The identifier for the directory if identity_management_type is EXISTING_DIRECTORY.

Link copied to clipboard

Specifies whether early media for outbound calls is enabled . Defaults to true if outbound calls is enabled.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Specifies the identity management type attached to the instance. Allowed Values are: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY.

Link copied to clipboard

Specifies whether inbound calls are enabled.

Link copied to clipboard
val instanceAlias: Output<String>?

Specifies the name of the instance. Required if directory_id not specified.

Link copied to clipboard

Specifies whether multi-party calls/conference is enabled. Defaults to false.

Link copied to clipboard

Specifies whether outbound calls are enabled.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceRole: Output<String>

The service role of the instance.

Link copied to clipboard
val status: Output<String>

The state of the instance.

Link copied to clipboard
val urn: Output<String>