Interface CfnWorkspace.RoleValuesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.RoleValuesProperty.Jsii$Proxy
- Enclosing class:
- CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.RoleValuesProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.grafana.*;
RoleValuesProperty roleValuesProperty = RoleValuesProperty.builder()
.admin(List.of("admin"))
.editor(List.of("editor"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.RoleValuesPropertystatic final classAn implementation forCfnWorkspace.RoleValuesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdmin
A list of groups from the SAML assertion attribute to grant the GrafanaAdminrole to. -
getEditor
A list of groups from the SAML assertion attribute to grant the GrafanaEditorrole to. -
builder
-