aws-cdk-lib.aws_grafana.CfnWorkspace.RoleValuesProperty

interface RoleValuesProperty

LanguageType name
.NETAmazon.CDK.AWS.Grafana.CfnWorkspace.RoleValuesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgrafana#CfnWorkspace_RoleValuesProperty
Javasoftware.amazon.awscdk.services.grafana.CfnWorkspace.RoleValuesProperty
Pythonaws_cdk.aws_grafana.CfnWorkspace.RoleValuesProperty
TypeScript aws-cdk-lib » 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 { aws_grafana as grafana } from 'aws-cdk-lib';
const roleValuesProperty: grafana.CfnWorkspace.RoleValuesProperty = {
  admin: ['admin'],
  editor: ['editor'],
};

Properties

NameTypeDescription
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.