Class CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.grafana.CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.SamlConfigurationProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.SamlConfigurationProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.SamlConfigurationProperty>
A builder for
CfnWorkspacePropsMixin.SamlConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedOrganizations(List<String> allowedOrganizations) assertionAttributes(CfnWorkspacePropsMixin.AssertionAttributesProperty assertionAttributes) assertionAttributes(IResolvable assertionAttributes) build()Builds the configured instance.idpMetadata(CfnWorkspacePropsMixin.IdpMetadataProperty idpMetadata) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getIdpMetadata()idpMetadata(IResolvable idpMetadata) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getIdpMetadata()loginValidityDuration(Number loginValidityDuration) roleValues(CfnWorkspacePropsMixin.RoleValuesProperty roleValues) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getRoleValues()roleValues(IResolvable roleValues) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getRoleValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedOrganizations
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder allowedOrganizations(List<String> allowedOrganizations) - Parameters:
allowedOrganizations- 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.- Returns:
this
-
assertionAttributes
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder assertionAttributes(IResolvable assertionAttributes) - Parameters:
assertionAttributes- 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:
this
-
assertionAttributes
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder assertionAttributes(CfnWorkspacePropsMixin.AssertionAttributesProperty assertionAttributes) - Parameters:
assertionAttributes- 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:
this
-
idpMetadata
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder idpMetadata(IResolvable idpMetadata) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getIdpMetadata()- Parameters:
idpMetadata- A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.- Returns:
this
-
idpMetadata
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder idpMetadata(CfnWorkspacePropsMixin.IdpMetadataProperty idpMetadata) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getIdpMetadata()- Parameters:
idpMetadata- A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.- Returns:
this
-
loginValidityDuration
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder loginValidityDuration(Number loginValidityDuration) - Parameters:
loginValidityDuration- How long a sign-on session by a SAML user is valid, before the user has to sign on again.- Returns:
this
-
roleValues
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder roleValues(IResolvable roleValues) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getRoleValues()- Parameters:
roleValues- A structure containing arrays that map group names in the SAML assertion to the GrafanaAdminandEditorroles in the workspace.- Returns:
this
-
roleValues
@Stability(Stable) public CfnWorkspacePropsMixin.SamlConfigurationProperty.Builder roleValues(CfnWorkspacePropsMixin.RoleValuesProperty roleValues) Sets the value ofCfnWorkspacePropsMixin.SamlConfigurationProperty.getRoleValues()- Parameters:
roleValues- A structure containing arrays that map group names in the SAML assertion to the GrafanaAdminandEditorroles in the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.SamlConfigurationProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.SamlConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-