Class: AWSCDK::Interfaces::AWSSagemaker::AppReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSagemaker::AppReference
- Defined in:
- interfaces/aws_sagemaker/app_reference.rb
Overview
A reference to a App resource.
Instance Attribute Summary collapse
-
#app_arn ⇒ String
readonly
The ARN of the App resource.
-
#app_name ⇒ String
readonly
The AppName of the App resource.
-
#app_type ⇒ String
readonly
The AppType of the App resource.
-
#domain_id ⇒ String
readonly
The DomainId of the App resource.
-
#user_profile_name ⇒ String
readonly
The UserProfileName of the App resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_arn:, app_name:, app_type:, domain_id:, user_profile_name:) ⇒ AppReference
constructor
A new instance of AppReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_arn:, app_name:, app_type:, domain_id:, user_profile_name:) ⇒ AppReference
Returns a new instance of AppReference.
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 12 def initialize(app_arn:, app_name:, app_type:, domain_id:, user_profile_name:) @app_arn = app_arn Jsii::Type.check_type(@app_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appArn") @app_name = app_name Jsii::Type.check_type(@app_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appName") @app_type = app_type Jsii::Type.check_type(@app_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appType") @domain_id = domain_id Jsii::Type.check_type(@domain_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainId") @user_profile_name = user_profile_name Jsii::Type.check_type(@user_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userProfileName") end |
Instance Attribute Details
#app_arn ⇒ String (readonly)
The ARN of the App resource.
28 29 30 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 28 def app_arn @app_arn end |
#app_name ⇒ String (readonly)
The AppName of the App resource.
32 33 34 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 32 def app_name @app_name end |
#app_type ⇒ String (readonly)
The AppType of the App resource.
36 37 38 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 36 def app_type @app_type end |
#domain_id ⇒ String (readonly)
The DomainId of the App resource.
40 41 42 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 40 def domain_id @domain_id end |
#user_profile_name ⇒ String (readonly)
The UserProfileName of the App resource.
44 45 46 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 44 def user_profile_name @user_profile_name end |
Class Method Details
.jsii_properties ⇒ Object
46 47 48 49 50 51 52 53 54 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 46 def self.jsii_properties { :app_arn => "appArn", :app_name => "appName", :app_type => "appType", :domain_id => "domainId", :user_profile_name => "userProfileName", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 |
# File 'interfaces/aws_sagemaker/app_reference.rb', line 56 def to_jsii result = {} result.merge!({ "appArn" => @app_arn, "appName" => @app_name, "appType" => @app_type, "domainId" => @domain_id, "userProfileName" => @user_profile_name, }) result.compact end |