interface RoleValuesProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Grafana.CfnWorkspace.RoleValuesProperty |
Java | software.amazon.awscdk.services.grafana.CfnWorkspace.RoleValuesProperty |
Python | aws_cdk.aws_grafana.CfnWorkspace.RoleValuesProperty |
TypeScript | @aws-cdk/aws-grafana » CfnWorkspace » RoleValuesProperty |
This structure defines which groups defined in the SAML assertion attribute are to be mapped to the Grafana Admin
and Editor
roles in the workspace.
SAML authenticated users not part of Admin
or Editor
role groups have Viewer
permission over the workspace.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as grafana from '@aws-cdk/aws-grafana';
const roleValuesProperty: grafana.CfnWorkspace.RoleValuesProperty = {
admin: ['admin'],
editor: ['editor'],
};
Properties
Name | Type | Description |
---|---|---|
admin? | string[] | A list of groups from the SAML assertion attribute to grant the Grafana Admin role to. |
editor? | string[] | A list of groups from the SAML assertion attribute to grant the Grafana Editor role to. |
admin?
Type:
string[]
(optional)
A list of groups from the SAML assertion attribute to grant the Grafana Admin
role to.
editor?
Type:
string[]
(optional)
A list of groups from the SAML assertion attribute to grant the Grafana Editor
role to.