Skip to content
v2.278.0

AssertionAttributesProperty Struct ​

A structure that defines which attributes in the IdP assertion are to be used to define information about the users authenticated by the IdP to use the workspace.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_grafana as grafana } from 'aws-cdk-lib';
const assertionAttributesProperty: grafana.CfnWorkspace.AssertionAttributesProperty = {
  email: 'email',
  groups: 'groups',
  login: 'login',
  name: 'name',
  org: 'org',
  role: 'role',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_grafana as grafana

assertion_attributes_property = grafana.CfnWorkspace.AssertionAttributesProperty(
    email="email",
    groups="groups",
    login="login",
    name="name",
    org="org",
    role="role"
)
java
// 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.*;

AssertionAttributesProperty assertionAttributesProperty = AssertionAttributesProperty.builder()
        .email("email")
        .groups("groups")
        .login("login")
        .name("name")
        .org("org")
        .role("role")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 assertionAttributesProperty = new AssertionAttributesProperty {
    Email = "email",
    Groups = "groups",
    Login = "login",
    Name = "name",
    Org = "org",
    Role = "role"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

assertionAttributesProperty := &AssertionAttributesProperty{
	Email: jsii.String("email"),
	Groups: jsii.String("groups"),
	Login: jsii.String("login"),
	Name: jsii.String("name"),
	Org: jsii.String("org"),
	Role: jsii.String("role"),
}

Properties ​

emailoptionalstringemailoptionalstremailoptionalStringEmailoptionalstringEmailoptional*string #
The name of the attribute within the SAML assertion to use as the email names for SAML users.
groupsoptionalstringgroupsoptionalstrgroupsoptionalStringGroupsoptionalstringGroupsoptional*string #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
loginoptionalstringloginoptionalstrloginoptionalStringLoginoptionalstringLoginoptional*string #
The name of the attribute within the SAML assertion to use as the login names for SAML users.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
orgoptionalstringorgoptionalstrorgoptionalStringOrgoptionalstringOrgoptional*string #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
roleoptionalstringroleoptionalstrroleoptionalStringRoleoptionalstringRoleoptional*string #
The name of the attribute within the SAML assertion to use as the user roles.