Class 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.
Inheritance
System.Object
CfnWorkspace.RoleValuesProperty
Implements
Namespace: Amazon.CDK.AWS.Grafana
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RoleValuesProperty : Object, CfnWorkspace.IRoleValuesProperty
Syntax (vb)
Public Class RoleValuesProperty
Inherits Object
Implements CfnWorkspace.IRoleValuesProperty
Remarks
SAML authenticated users not part of Admin
or Editor
role groups have Viewer
permission over the workspace.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Grafana;
var roleValuesProperty = new RoleValuesProperty {
Admin = new [] { "admin" },
Editor = new [] { "editor" }
};
Synopsis
Constructors
RoleValuesProperty() |
Properties
Admin | A list of groups from the SAML assertion attribute to grant the Grafana |
Editor | A list of groups from the SAML assertion attribute to grant the Grafana |
Constructors
RoleValuesProperty()
public RoleValuesProperty()
Properties
Admin
A list of groups from the SAML assertion attribute to grant the Grafana Admin
role to.
public string[] Admin { get; set; }
Property Value
System.String[]
Remarks
Editor
A list of groups from the SAML assertion attribute to grant the Grafana Editor
role to.
public string[] Editor { get; set; }
Property Value
System.String[]