Class: AWSCDK::DataZone::CfnUserProfileProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_user_profile_props.rb

Overview

Properties for defining a CfnUserProfile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_identifier:, user_identifier:, session_name: nil, status: nil, user_type: nil) ⇒ CfnUserProfileProps

Returns a new instance of CfnUserProfileProps.

Parameters:

  • domain_identifier (String)

    The identifier of a Amazon DataZone domain in which a user profile exists.

  • user_identifier (String)

    The identifier of the user for which the user profile is created.

  • session_name (String, nil) (defaults to: nil)

    The session name of the user profile.

  • status (String, nil) (defaults to: nil)

    The status of the user profile.

  • user_type (String, nil) (defaults to: nil)

    The user type of the user for which the user profile is created.



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_identifierString (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_nameString? (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

#statusString? (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_identifierString (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_typeString? (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_propertiesObject



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_jsiiObject



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