launchdarkly.CustomRole
Explore with Pulumi AI
Provides a LaunchDarkly custom role resource.
Note: Custom roles are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, contact LaunchDarkly Sales.
This resource allows you to create and manage custom roles within your LaunchDarkly organization.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.CustomRole("example", new()
{
Description = "This is an example role",
Key = "example-role-key-1",
PolicyStatements = new[]
{
new Launchdarkly.Inputs.CustomRolePolicyStatementArgs
{
Actions = new[]
{
"*",
},
Effect = "allow",
Resources = new[]
{
"proj/*:env/production:flag/*",
},
},
new Launchdarkly.Inputs.CustomRolePolicyStatementArgs
{
Actions = new[]
{
"*",
},
Effect = "allow",
Resources = new[]
{
"proj/*:env/production",
},
},
},
});
});
package main
import (
"github.com/lbrlabs/pulumi-launchdarkly/sdk/go/launchdarkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := launchdarkly.NewCustomRole(ctx, "example", &launchdarkly.CustomRoleArgs{
Description: pulumi.String("This is an example role"),
Key: pulumi.String("example-role-key-1"),
PolicyStatements: launchdarkly.CustomRolePolicyStatementArray{
&launchdarkly.CustomRolePolicyStatementArgs{
Actions: pulumi.StringArray{
pulumi.String("*"),
},
Effect: pulumi.String("allow"),
Resources: pulumi.StringArray{
pulumi.String("proj/*:env/production:flag/*"),
},
},
&launchdarkly.CustomRolePolicyStatementArgs{
Actions: pulumi.StringArray{
pulumi.String("*"),
},
Effect: pulumi.String("allow"),
Resources: pulumi.StringArray{
pulumi.String("proj/*:env/production"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.launchdarkly.CustomRole;
import com.pulumi.launchdarkly.CustomRoleArgs;
import com.pulumi.launchdarkly.inputs.CustomRolePolicyStatementArgs;
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 CustomRole("example", CustomRoleArgs.builder()
.description("This is an example role")
.key("example-role-key-1")
.policyStatements(
CustomRolePolicyStatementArgs.builder()
.actions("*")
.effect("allow")
.resources("proj/*:env/production:flag/*")
.build(),
CustomRolePolicyStatementArgs.builder()
.actions("*")
.effect("allow")
.resources("proj/*:env/production")
.build())
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.CustomRole("example",
description="This is an example role",
key="example-role-key-1",
policy_statements=[
launchdarkly.CustomRolePolicyStatementArgs(
actions=["*"],
effect="allow",
resources=["proj/*:env/production:flag/*"],
),
launchdarkly.CustomRolePolicyStatementArgs(
actions=["*"],
effect="allow",
resources=["proj/*:env/production"],
),
])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.CustomRole("example", {
description: "This is an example role",
key: "example-role-key-1",
policyStatements: [
{
actions: ["*"],
effect: "allow",
resources: ["proj/*:env/production:flag/*"],
},
{
actions: ["*"],
effect: "allow",
resources: ["proj/*:env/production"],
},
],
});
resources:
example:
type: launchdarkly:CustomRole
properties:
description: This is an example role
key: example-role-key-1
policyStatements:
- actions:
- '*'
effect: allow
resources:
- proj/*:env/production:flag/*
- actions:
- '*'
effect: allow
resources:
- proj/*:env/production
Create CustomRole Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomRole(name: string, args: CustomRoleArgs, opts?: CustomResourceOptions);
@overload
def CustomRole(resource_name: str,
args: CustomRoleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomRole(resource_name: str,
opts: Optional[ResourceOptions] = None,
key: Optional[str] = None,
base_permissions: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
policies: Optional[Sequence[CustomRolePolicyArgs]] = None,
policy_statements: Optional[Sequence[CustomRolePolicyStatementArgs]] = None)
func NewCustomRole(ctx *Context, name string, args CustomRoleArgs, opts ...ResourceOption) (*CustomRole, error)
public CustomRole(string name, CustomRoleArgs args, CustomResourceOptions? opts = null)
public CustomRole(String name, CustomRoleArgs args)
public CustomRole(String name, CustomRoleArgs args, CustomResourceOptions options)
type: launchdarkly:CustomRole
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CustomRoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CustomRoleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CustomRoleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomRoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomRoleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var customRoleResource = new Launchdarkly.CustomRole("customRoleResource", new()
{
Key = "string",
BasePermissions = "string",
Description = "string",
Name = "string",
PolicyStatements = new[]
{
new Launchdarkly.Inputs.CustomRolePolicyStatementArgs
{
Effect = "string",
Actions = new[]
{
"string",
},
NotActions = new[]
{
"string",
},
NotResources = new[]
{
"string",
},
Resources = new[]
{
"string",
},
},
},
});
example, err := launchdarkly.NewCustomRole(ctx, "customRoleResource", &launchdarkly.CustomRoleArgs{
Key: pulumi.String("string"),
BasePermissions: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
PolicyStatements: launchdarkly.CustomRolePolicyStatementArray{
&launchdarkly.CustomRolePolicyStatementArgs{
Effect: pulumi.String("string"),
Actions: pulumi.StringArray{
pulumi.String("string"),
},
NotActions: pulumi.StringArray{
pulumi.String("string"),
},
NotResources: pulumi.StringArray{
pulumi.String("string"),
},
Resources: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var customRoleResource = new CustomRole("customRoleResource", CustomRoleArgs.builder()
.key("string")
.basePermissions("string")
.description("string")
.name("string")
.policyStatements(CustomRolePolicyStatementArgs.builder()
.effect("string")
.actions("string")
.notActions("string")
.notResources("string")
.resources("string")
.build())
.build());
custom_role_resource = launchdarkly.CustomRole("customRoleResource",
key="string",
base_permissions="string",
description="string",
name="string",
policy_statements=[launchdarkly.CustomRolePolicyStatementArgs(
effect="string",
actions=["string"],
not_actions=["string"],
not_resources=["string"],
resources=["string"],
)])
const customRoleResource = new launchdarkly.CustomRole("customRoleResource", {
key: "string",
basePermissions: "string",
description: "string",
name: "string",
policyStatements: [{
effect: "string",
actions: ["string"],
notActions: ["string"],
notResources: ["string"],
resources: ["string"],
}],
});
type: launchdarkly:CustomRole
properties:
basePermissions: string
description: string
key: string
name: string
policyStatements:
- actions:
- string
effect: string
notActions:
- string
notResources:
- string
resources:
- string
CustomRole Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CustomRole resource accepts the following input properties:
- Key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - Description string
- The description of the custom role.
- Name string
- The human-readable name for the custom role.
- Policies
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Custom Role Policy> - Policy
Statements List<Lbrlabs.Pulumi Package. Launchdarkly. Inputs. Custom Role Policy Statement> - The custom role policy block. To learn more, read Using policies.
- Key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - Description string
- The description of the custom role.
- Name string
- The human-readable name for the custom role.
- Policies
[]Custom
Role Policy Args - Policy
Statements []CustomRole Policy Statement Args - The custom role policy block. To learn more, read Using policies.
- key String
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- base
Permissions String - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description String
- The description of the custom role.
- name String
- The human-readable name for the custom role.
- policies
List<Custom
Role Policy> - policy
Statements List<CustomRole Policy Statement> - The custom role policy block. To learn more, read Using policies.
- key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description string
- The description of the custom role.
- name string
- The human-readable name for the custom role.
- policies
Custom
Role Policy[] - policy
Statements CustomRole Policy Statement[] - The custom role policy block. To learn more, read Using policies.
- key str
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- base_
permissions str - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description str
- The description of the custom role.
- name str
- The human-readable name for the custom role.
- policies
Sequence[Custom
Role Policy Args] - policy_
statements Sequence[CustomRole Policy Statement Args] - The custom role policy block. To learn more, read Using policies.
- key String
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- base
Permissions String - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description String
- The description of the custom role.
- name String
- The human-readable name for the custom role.
- policies List<Property Map>
- policy
Statements List<Property Map> - The custom role policy block. To learn more, read Using policies.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomRole resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CustomRole Resource
Get an existing CustomRole resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CustomRoleState, opts?: CustomResourceOptions): CustomRole
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
base_permissions: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
policies: Optional[Sequence[CustomRolePolicyArgs]] = None,
policy_statements: Optional[Sequence[CustomRolePolicyStatementArgs]] = None) -> CustomRole
func GetCustomRole(ctx *Context, name string, id IDInput, state *CustomRoleState, opts ...ResourceOption) (*CustomRole, error)
public static CustomRole Get(string name, Input<string> id, CustomRoleState? state, CustomResourceOptions? opts = null)
public static CustomRole get(String name, Output<String> id, CustomRoleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - Description string
- The description of the custom role.
- Key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Name string
- The human-readable name for the custom role.
- Policies
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Custom Role Policy> - Policy
Statements List<Lbrlabs.Pulumi Package. Launchdarkly. Inputs. Custom Role Policy Statement> - The custom role policy block. To learn more, read Using policies.
- Base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - Description string
- The description of the custom role.
- Key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Name string
- The human-readable name for the custom role.
- Policies
[]Custom
Role Policy Args - Policy
Statements []CustomRole Policy Statement Args - The custom role policy block. To learn more, read Using policies.
- base
Permissions String - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description String
- The description of the custom role.
- key String
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name String
- The human-readable name for the custom role.
- policies
List<Custom
Role Policy> - policy
Statements List<CustomRole Policy Statement> - The custom role policy block. To learn more, read Using policies.
- base
Permissions string - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description string
- The description of the custom role.
- key string
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name string
- The human-readable name for the custom role.
- policies
Custom
Role Policy[] - policy
Statements CustomRole Policy Statement[] - The custom role policy block. To learn more, read Using policies.
- base_
permissions str - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description str
- The description of the custom role.
- key str
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name str
- The human-readable name for the custom role.
- policies
Sequence[Custom
Role Policy Args] - policy_
statements Sequence[CustomRole Policy Statement Args] - The custom role policy block. To learn more, read Using policies.
- base
Permissions String - The base permission level. Either
reader
orno_access
. Defaults toreader
if not set. - description String
- The description of the custom role.
- key String
- The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name String
- The human-readable name for the custom role.
- policies List<Property Map>
- policy
Statements List<Property Map> - The custom role policy block. To learn more, read Using policies.
Supporting Types
CustomRolePolicy, CustomRolePolicyArgs
- Actions List<string>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- Resources List<string>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- Actions []string
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- Resources []string
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- actions List<String>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - effect String
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- actions string[]
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- resources string[]
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- actions Sequence[str]
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - effect str
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- resources Sequence[str]
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- actions List<String>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - effect String
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
CustomRolePolicyStatement, CustomRolePolicyStatementArgs
- Effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- Actions List<string>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Not
Actions List<string> - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Not
Resources List<string> - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- Resources List<string>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- Effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- Actions []string
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Not
Actions []string - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - Not
Resources []string - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- Resources []string
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- effect String
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- actions List<String>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Actions List<String> - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Resources List<String> - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- effect string
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- actions string[]
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Actions string[] - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Resources string[] - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- resources string[]
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- effect str
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- actions Sequence[str]
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not_
actions Sequence[str] - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not_
resources Sequence[str] - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- resources Sequence[str]
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
- effect String
- Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.
- Either
- actions List<String>
- The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Actions List<String> - The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference. - not
Resources List<String> - The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement does not apply. Either
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- The list of resource specifiers defining the resources to which the statement applies. Either
Import
You can import LaunchDarkly custom roles by using an existing custom role key
. For example
$ pulumi import launchdarkly:index/customRole:CustomRole example example-role-key-1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- launchdarkly lbrlabs/pulumi-launchdarkly
- License
- Notes
- This Pulumi package is based on the
launchdarkly
Terraform Provider.