Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.78 KB

File metadata and controls

42 lines (35 loc) · 1.78 KB

CustomRole

Properties

Name Type Description Notes
_id string The ID of the custom role [default to undefined]
_links { [key: string]: Link; } The location and content type of related resources [default to undefined]
_access Access [optional] [default to undefined]
description string The description of the custom role [optional] [default to undefined]
key string The key of the custom role [default to undefined]
name string The name of the custom role [default to undefined]
policy Array<Statement> An array of the policies that comprise this custom role [default to undefined]
basePermissions string [optional] [default to undefined]
resourceCategory string [optional] [default to undefined]
assignedTo AssignedToRep [optional] [default to undefined]
_presetBundleVersion number If created from a preset, the preset bundle version [optional] [default to undefined]
_presetStatements Array<Statement> If created from a preset, the read-only statements copied from the preset [optional] [default to undefined]

Example

import { CustomRole } from 'launchdarkly-api-typescript';

const instance: CustomRole = {
    _id,
    _links,
    _access,
    description,
    key,
    name,
    policy,
    basePermissions,
    resourceCategory,
    assignedTo,
    _presetBundleVersion,
    _presetStatements,
};

[Back to Model list] [Back to API list] [Back to README]