Class: AWSCDK::Sagemaker::CfnUserProfile::RStudioServerProAppSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_user_profile.rb

Overview

A collection of settings that configure user interaction with the RStudioServerPro app.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_status: nil, user_group: nil) ⇒ RStudioServerProAppSettingsProperty

Returns a new instance of RStudioServerProAppSettingsProperty.

Parameters:

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

    Indicates whether the current user has access to the RStudioServerPro app.

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

    The level of permissions that the user has within the RStudioServerPro app.



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_statusString? (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_groupString? (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_propertiesObject



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_jsiiObject



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