Security Profile
Provides an Amazon Connect Security Profile resource. For more information see Amazon Connect: Getting Started
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.SecurityProfile("example", {
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
name: "example",
description: "example description",
permissions: [
"BasicAgentAccess",
"OutboundCallAccess",
],
tags: {
Name: "Example Security Profile",
},
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.connect.SecurityProfile("example",
instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
name="example",
description="example description",
permissions=[
"BasicAgentAccess",
"OutboundCallAccess",
],
tags={
"Name": "Example Security Profile",
})
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.SecurityProfile("example", new()
{
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Name = "example",
Description = "example description",
Permissions = new[]
{
"BasicAgentAccess",
"OutboundCallAccess",
},
Tags =
{
{ "Name", "Example Security Profile" },
},
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewSecurityProfile(ctx, "example", &connect.SecurityProfileArgs{
InstanceId: pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
Name: pulumi.String("example"),
Description: pulumi.String("example description"),
Permissions: pulumi.StringArray{
pulumi.String("BasicAgentAccess"),
pulumi.String("OutboundCallAccess"),
},
Tags: pulumi.StringMap{
"Name": pulumi.String("Example Security Profile"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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()
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.name("example")
.description("example description")
.permissions(
"BasicAgentAccess",
"OutboundCallAccess")
.tags(Map.of("Name", "Example Security Profile"))
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:connect:SecurityProfile
properties:
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
name: example
description: example description
permissions:
- BasicAgentAccess
- OutboundCallAccess
tags:
Name: Example Security Profile
Content copied to clipboard
Import
Using pulumi import
, import Amazon Connect Security Profiles using the instance_id
and security_profile_id
separated by a colon (:
). For example:
$ pulumi import aws:connect/securityProfile:SecurityProfile example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
Content copied to clipboard
Properties
Link copied to clipboard
Specifies the description of the Security Profile.
Link copied to clipboard
Specifies the identifier of the hosting Amazon Connect Instance.
Link copied to clipboard
The organization resource identifier for the security profile.
Link copied to clipboard
Specifies a list of permissions assigned to the security profile.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The identifier for the Security Profile.