SecurityProfileArgs

data class SecurityProfileArgs(val description: Output<String>? = null, val instanceId: Output<String>? = null, val name: Output<String>? = null, val permissions: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SecurityProfileArgs>

Provides an Amazon Connect Security Profile resource. For more information see Amazon Connect: Getting Started

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.SecurityProfile;
import com.pulumi.aws.connect.SecurityProfileArgs;
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 example = new SecurityProfile("example", SecurityProfileArgs.builder()
.description("example description")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.permissions(
"BasicAgentAccess",
"OutboundCallAccess")
.tags(Map.of("Name", "Example Security Profile"))
.build());
}
}

Import

Amazon Connect Security Profiles can be imported using the instance_id and security_profile_id separated by a colon (:), e.g.,

$ pulumi import aws:connect/securityProfile:SecurityProfile example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, instanceId: Output<String>? = null, name: Output<String>? = null, permissions: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Specifies the description of the Security Profile.

Link copied to clipboard
val instanceId: Output<String>? = null

Specifies the identifier of the hosting Amazon Connect Instance.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Security Profile.

Link copied to clipboard
val permissions: Output<List<String>>? = null

Specifies a list of permissions assigned to the security profile.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Tags to apply to the Security Profile. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): SecurityProfileArgs