Class: AWSCDK::Sagemaker::CfnSpace::SpaceSharingSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnSpace::SpaceSharingSettingsProperty
- Defined in:
- sagemaker/cfn_space.rb
Overview
A collection of space sharing settings.
Instance Attribute Summary collapse
-
#sharing_type ⇒ String
readonly
Specifies the sharing type of the space.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sharing_type:) ⇒ SpaceSharingSettingsProperty
constructor
A new instance of SpaceSharingSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sharing_type:) ⇒ SpaceSharingSettingsProperty
Returns a new instance of SpaceSharingSettingsProperty.
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_type ⇒ String (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_properties ⇒ Object
1420 1421 1422 1423 1424 |
# File 'sagemaker/cfn_space.rb', line 1420 def self.jsii_properties { :sharing_type => "sharingType", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |