Class CfnWorkspace.SamlConfigurationProperty
A structure containing information about how this workspace works with SAML.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Grafana
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SamlConfigurationProperty : Object, CfnWorkspace.ISamlConfigurationProperty
Syntax (vb)
Public Class SamlConfigurationProperty
Inherits Object
Implements CfnWorkspace.ISamlConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Grafana;
var samlConfigurationProperty = new SamlConfigurationProperty {
IdpMetadata = new IdpMetadataProperty {
Url = "url",
Xml = "xml"
},
// the properties below are optional
AllowedOrganizations = new [] { "allowedOrganizations" },
AssertionAttributes = new AssertionAttributesProperty {
Email = "email",
Groups = "groups",
Login = "login",
Name = "name",
Org = "org",
Role = "role"
},
LoginValidityDuration = 123,
RoleValues = new RoleValuesProperty {
Admin = new [] { "admin" },
Editor = new [] { "editor" }
}
};
Synopsis
Constructors
SamlConfigurationProperty() |
Properties
AllowedOrganizations | Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. |
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. |
IdpMetadata | A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. |
LoginValidityDuration | How long a sign-on session by a SAML user is valid, before the user has to sign on again. |
RoleValues | A structure containing arrays that map group names in the SAML assertion to the Grafana |
Constructors
SamlConfigurationProperty()
public SamlConfigurationProperty()
Properties
AllowedOrganizations
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.
public string[] AllowedOrganizations { get; set; }
Property Value
System.String[]
Remarks
If this is empty, all organizations in the assertion attribute have access.
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.
public object AssertionAttributes { get; set; }
Property Value
System.Object
Remarks
IdpMetadata
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
public object IdpMetadata { get; set; }
Property Value
System.Object
Remarks
LoginValidityDuration
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
public Nullable<double> LoginValidityDuration { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RoleValues
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
public object RoleValues { get; set; }
Property Value
System.Object