Class: AWSCDK::Sagemaker::CfnDomain::RStudioServerProAppSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_domain.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.



1823
1824
1825
1826
1827
1828
# File 'sagemaker/cfn_domain.rb', line 1823

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.



1834
1835
1836
# File 'sagemaker/cfn_domain.rb', line 1834

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.



1841
1842
1843
# File 'sagemaker/cfn_domain.rb', line 1841

def user_group
  @user_group
end

Class Method Details

.jsii_propertiesObject



1843
1844
1845
1846
1847
1848
# File 'sagemaker/cfn_domain.rb', line 1843

def self.jsii_properties
  {
    :access_status => "accessStatus",
    :user_group => "userGroup",
  }
end

Instance Method Details

#to_jsiiObject



1850
1851
1852
1853
1854
1855
1856
1857
# File 'sagemaker/cfn_domain.rb', line 1850

def to_jsii
  result = {}
  result.merge!({
    "accessStatus" => @access_status,
    "userGroup" => @user_group,
  })
  result.compact
end