Class: AWSCDK::Grafana::CfnWorkspace::AssertionAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Grafana::CfnWorkspace::AssertionAttributesProperty
- Defined in:
- grafana/cfn_workspace.rb
Overview
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.
Instance Attribute Summary collapse
-
#email ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the email names for SAML users.
-
#groups ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
-
#login ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the login names for SAML users.
-
#name ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
-
#org ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
-
#role ⇒ String?
readonly
The name of the attribute within the SAML assertion to use as the user roles.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(email: nil, groups: nil, login: nil, name: nil, org: nil, role: nil) ⇒ AssertionAttributesProperty
constructor
A new instance of AssertionAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(email: nil, groups: nil, login: nil, name: nil, org: nil, role: nil) ⇒ AssertionAttributesProperty
Returns a new instance of AssertionAttributesProperty.
794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'grafana/cfn_workspace.rb', line 794 def initialize(email: nil, groups: nil, login: nil, name: nil, org: nil, role: nil) @email = email Jsii::Type.check_type(@email, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "email") unless @email.nil? @groups = groups Jsii::Type.check_type(@groups, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groups") unless @groups.nil? @login = login Jsii::Type.check_type(@login, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "login") unless @login.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @org = org Jsii::Type.check_type(@org, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "org") unless @org.nil? @role = role Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "role") unless @role.nil? end |
Instance Attribute Details
#email ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the email names for SAML users.
813 814 815 |
# File 'grafana/cfn_workspace.rb', line 813 def email @email end |
#groups ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
818 819 820 |
# File 'grafana/cfn_workspace.rb', line 818 def groups @groups end |
#login ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the login names for SAML users.
823 824 825 |
# File 'grafana/cfn_workspace.rb', line 823 def login @login end |
#name ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
828 829 830 |
# File 'grafana/cfn_workspace.rb', line 828 def name @name end |
#org ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
833 834 835 |
# File 'grafana/cfn_workspace.rb', line 833 def org @org end |
#role ⇒ String? (readonly)
The name of the attribute within the SAML assertion to use as the user roles.
838 839 840 |
# File 'grafana/cfn_workspace.rb', line 838 def role @role end |
Class Method Details
.jsii_properties ⇒ Object
840 841 842 843 844 845 846 847 848 849 |
# File 'grafana/cfn_workspace.rb', line 840 def self.jsii_properties { :email => "email", :groups => "groups", :login => "login", :name => "name", :org => "org", :role => "role", } end |
Instance Method Details
#to_jsii ⇒ Object
851 852 853 854 855 856 857 858 859 860 861 862 |
# File 'grafana/cfn_workspace.rb', line 851 def to_jsii result = {} result.merge!({ "email" => @email, "groups" => @groups, "login" => @login, "name" => @name, "org" => @org, "role" => @role, }) result.compact end |