Class: AWSCDK::Sagemaker::CfnSpace::SpaceSharingSettingsProperty

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

Overview

A collection of space sharing settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sharing_type:) ⇒ SpaceSharingSettingsProperty

Returns a new instance of SpaceSharingSettingsProperty.

Parameters:

  • sharing_type (String)

    Specifies the sharing type of the space.



1409
1410
1411
1412
# File 'sagemaker/cfn_space.rb', line 1409

def initialize(sharing_type:)
  @sharing_type = sharing_type
  Jsii::Type.check_type(@sharing_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sharingType")
end

Instance Attribute Details

#sharing_typeString (readonly)

Specifies the sharing type of the space.



1418
1419
1420
# File 'sagemaker/cfn_space.rb', line 1418

def sharing_type
  @sharing_type
end

Class Method Details

.jsii_propertiesObject



1420
1421
1422
1423
1424
# File 'sagemaker/cfn_space.rb', line 1420

def self.jsii_properties
  {
    :sharing_type => "sharingType",
  }
end

Instance Method Details

#to_jsiiObject



1426
1427
1428
1429
1430
1431
1432
# File 'sagemaker/cfn_space.rb', line 1426

def to_jsii
  result = {}
  result.merge!({
    "sharingType" => @sharing_type,
  })
  result.compact
end