Class: AWSCDK::Interfaces::AWSSagemaker::UserProfileReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSagemaker::UserProfileReference
- Defined in:
- interfaces/aws_sagemaker/user_profile_reference.rb
Overview
A reference to a UserProfile resource.
Instance Attribute Summary collapse
-
#domain_id ⇒ String
readonly
The DomainId of the UserProfile resource.
-
#user_profile_arn ⇒ String
readonly
The ARN of the UserProfile resource.
-
#user_profile_name ⇒ String
readonly
The UserProfileName of the UserProfile resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_id:, user_profile_arn:, user_profile_name:) ⇒ UserProfileReference
constructor
A new instance of UserProfileReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_id:, user_profile_arn:, user_profile_name:) ⇒ UserProfileReference
Returns a new instance of UserProfileReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 10 def initialize(domain_id:, user_profile_arn:, user_profile_name:) @domain_id = domain_id Jsii::Type.check_type(@domain_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainId") @user_profile_arn = user_profile_arn Jsii::Type.check_type(@user_profile_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userProfileArn") @user_profile_name = user_profile_name Jsii::Type.check_type(@user_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userProfileName") end |
Instance Attribute Details
#domain_id ⇒ String (readonly)
The DomainId of the UserProfile resource.
22 23 24 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 22 def domain_id @domain_id end |
#user_profile_arn ⇒ String (readonly)
The ARN of the UserProfile resource.
26 27 28 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 26 def user_profile_arn @user_profile_arn end |
#user_profile_name ⇒ String (readonly)
The UserProfileName of the UserProfile resource.
30 31 32 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 30 def user_profile_name @user_profile_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 32 def self.jsii_properties { :domain_id => "domainId", :user_profile_arn => "userProfileArn", :user_profile_name => "userProfileName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_sagemaker/user_profile_reference.rb', line 40 def to_jsii result = {} result.merge!({ "domainId" => @domain_id, "userProfileArn" => @user_profile_arn, "userProfileName" => @user_profile_name, }) result.compact end |