Interface CfnWorkspace.SamlConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.SamlConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.SamlConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A structure containing information about how this workspace works with SAML.
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.*; SamlConfigurationProperty samlConfigurationProperty = SamlConfigurationProperty.builder() .idpMetadata(IdpMetadataProperty.builder() .url("url") .xml("xml") .build()) // the properties below are optional .allowedOrganizations(List.of("allowedOrganizations")) .assertionAttributes(AssertionAttributesProperty.builder() .email("email") .groups("groups") .login("login") .name("name") .org("org") .role("role") .build()) .loginValidityDuration(123) .roleValues(RoleValuesProperty.builder() .admin(List.of("admin")) .editor(List.of("editor")) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkspace.SamlConfigurationProperty
static final class
An implementation forCfnWorkspace.SamlConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.default Object
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.default Number
How long a sign-on session by a SAML user is valid, before the user has to sign on again.default Object
A structure containing arrays that map group names in the SAML assertion to the GrafanaAdmin
andEditor
roles in the workspace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdpMetadata
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. -
getAllowedOrganizations
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.If this is empty, all organizations in the assertion attribute have access.
-
getAssertionAttributes
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace. -
getLoginValidityDuration
How long a sign-on session by a SAML user is valid, before the user has to sign on again. -
getRoleValues
A structure containing arrays that map group names in the SAML assertion to the GrafanaAdmin
andEditor
roles in the workspace. -
builder
-