Class: AWSCDK::Sagemaker::CfnUserProfile::RStudioServerProAppSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnUserProfile::RStudioServerProAppSettingsProperty
- Defined in:
- sagemaker/cfn_user_profile.rb
Overview
A collection of settings that configure user interaction with the RStudioServerPro app.
Instance Attribute Summary collapse
-
#access_status ⇒ String?
readonly
Indicates whether the current user has access to the
RStudioServerProapp. -
#user_group ⇒ String?
readonly
The level of permissions that the user has within the
RStudioServerProapp.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_status: nil, user_group: nil) ⇒ RStudioServerProAppSettingsProperty
constructor
A new instance of RStudioServerProAppSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_status: nil, user_group: nil) ⇒ RStudioServerProAppSettingsProperty
Returns a new instance of RStudioServerProAppSettingsProperty.
1357 1358 1359 1360 1361 1362 |
# File 'sagemaker/cfn_user_profile.rb', line 1357 def initialize(access_status: nil, user_group: nil) @access_status = access_status Jsii::Type.check_type(@access_status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessStatus") unless @access_status.nil? @user_group = user_group Jsii::Type.check_type(@user_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userGroup") unless @user_group.nil? end |
Instance Attribute Details
#access_status ⇒ String? (readonly)
Indicates whether the current user has access to the RStudioServerPro app.
1368 1369 1370 |
# File 'sagemaker/cfn_user_profile.rb', line 1368 def access_status @access_status end |
#user_group ⇒ String? (readonly)
The level of permissions that the user has within the RStudioServerPro app.
This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.
1375 1376 1377 |
# File 'sagemaker/cfn_user_profile.rb', line 1375 def user_group @user_group end |
Class Method Details
.jsii_properties ⇒ Object
1377 1378 1379 1380 1381 1382 |
# File 'sagemaker/cfn_user_profile.rb', line 1377 def self.jsii_properties { :access_status => "accessStatus", :user_group => "userGroup", } end |
Instance Method Details
#to_jsii ⇒ Object
1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'sagemaker/cfn_user_profile.rb', line 1384 def to_jsii result = {} result.merge!({ "accessStatus" => @access_status, "userGroup" => @user_group, }) result.compact end |