Interface CfnWorkspacePropsMixin.SamlConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspacePropsMixin.SamlConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspacePropsMixin
@Stability(Stable)
public static interface CfnWorkspacePropsMixin.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.cfnpropertymixins.services.grafana.*;
SamlConfigurationProperty samlConfigurationProperty = SamlConfigurationProperty.builder()
.allowedOrganizations(List.of("allowedOrganizations"))
.assertionAttributes(AssertionAttributesProperty.builder()
.email("email")
.groups("groups")
.login("login")
.name("name")
.org("org")
.role("role")
.build())
.idpMetadata(IdpMetadataProperty.builder()
.url("url")
.xml("xml")
.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 forCfnWorkspacePropsMixin.SamlConfigurationPropertystatic final classAn implementation forCfnWorkspacePropsMixin.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.default ObjectA 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
-
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
IResolvableorCfnWorkspacePropsMixin.AssertionAttributesProperty- See Also:
-
getIdpMetadata
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.Returns union: either
IResolvableorCfnWorkspacePropsMixin.IdpMetadataProperty- 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
IResolvableorCfnWorkspacePropsMixin.RoleValuesProperty- See Also:
-
builder
-