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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.SamlConfigurationPropertystatic final classAn 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 ObjectA 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 NumberHow long a sign-on session by a SAML user is valid, before the user has to sign on again.default ObjectA structure containing arrays that map group names in the SAML assertion to the GrafanaAdminandEditorroles 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.Returns union: either
IResolvableorCfnWorkspace.IdpMetadataProperty- See Also:
-
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.
- See Also:
-
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.Returns union: either
IResolvableorCfnWorkspace.AssertionAttributesProperty- See Also:
-
getLoginValidityDuration
How long a sign-on session by a SAML user is valid, before the user has to sign on again.- See Also:
-
getRoleValues
A structure containing arrays that map group names in the SAML assertion to the GrafanaAdminandEditorroles in the workspace.Returns union: either
IResolvableorCfnWorkspace.RoleValuesProperty- See Also:
-
builder
-