Class: AWSCDK::DataZone::CfnUserProfileProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnUserProfileProps
- Defined in:
- data_zone/cfn_user_profile_props.rb
Overview
Properties for defining a CfnUserProfile.
Instance Attribute Summary collapse
-
#domain_identifier ⇒ String
readonly
The identifier of a Amazon DataZone domain in which a user profile exists.
-
#session_name ⇒ String?
readonly
The session name of the user profile.
-
#status ⇒ String?
readonly
The status of the user profile.
-
#user_identifier ⇒ String
readonly
The identifier of the user for which the user profile is created.
-
#user_type ⇒ String?
readonly
The user type of the user for which the user profile is created.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_identifier:, user_identifier:, session_name: nil, status: nil, user_type: nil) ⇒ CfnUserProfileProps
constructor
A new instance of CfnUserProfileProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_identifier:, user_identifier:, session_name: nil, status: nil, user_type: nil) ⇒ CfnUserProfileProps
Returns a new instance of CfnUserProfileProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'data_zone/cfn_user_profile_props.rb', line 14 def initialize(domain_identifier:, user_identifier:, session_name: nil, status: nil, user_type: nil) @domain_identifier = domain_identifier Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier") @user_identifier = user_identifier Jsii::Type.check_type(@user_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userIdentifier") @session_name = session_name Jsii::Type.check_type(@session_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sessionName") unless @session_name.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @user_type = user_type Jsii::Type.check_type(@user_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userType") unless @user_type.nil? end |
Instance Attribute Details
#domain_identifier ⇒ String (readonly)
The identifier of a Amazon DataZone domain in which a user profile exists.
31 32 33 |
# File 'data_zone/cfn_user_profile_props.rb', line 31 def domain_identifier @domain_identifier end |
#session_name ⇒ String? (readonly)
The session name of the user profile.
41 42 43 |
# File 'data_zone/cfn_user_profile_props.rb', line 41 def session_name @session_name end |
#status ⇒ String? (readonly)
The status of the user profile.
46 47 48 |
# File 'data_zone/cfn_user_profile_props.rb', line 46 def status @status end |
#user_identifier ⇒ String (readonly)
The identifier of the user for which the user profile is created.
36 37 38 |
# File 'data_zone/cfn_user_profile_props.rb', line 36 def user_identifier @user_identifier end |
#user_type ⇒ String? (readonly)
The user type of the user for which the user profile is created.
51 52 53 |
# File 'data_zone/cfn_user_profile_props.rb', line 51 def user_type @user_type end |
Class Method Details
.jsii_properties ⇒ Object
53 54 55 56 57 58 59 60 61 |
# File 'data_zone/cfn_user_profile_props.rb', line 53 def self.jsii_properties { :domain_identifier => "domainIdentifier", :user_identifier => "userIdentifier", :session_name => "sessionName", :status => "status", :user_type => "userType", } end |
Instance Method Details
#to_jsii ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'data_zone/cfn_user_profile_props.rb', line 63 def to_jsii result = {} result.merge!({ "domainIdentifier" => @domain_identifier, "userIdentifier" => @user_identifier, "sessionName" => @session_name, "status" => @status, "userType" => @user_type, }) result.compact end |