Class: AWSCDK::Sagemaker::CfnSpace::OwnershipSettingsProperty

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

Overview

The collection of ownership settings for a space.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(owner_user_profile_name:) ⇒ OwnershipSettingsProperty

Returns a new instance of OwnershipSettingsProperty.

Parameters:

  • owner_user_profile_name (String)

    The user profile who is the owner of the space.



974
975
976
977
# File 'sagemaker/cfn_space.rb', line 974

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

Instance Attribute Details

#owner_user_profile_nameString (readonly)

The user profile who is the owner of the space.



983
984
985
# File 'sagemaker/cfn_space.rb', line 983

def 
  @owner_user_profile_name
end

Class Method Details

.jsii_propertiesObject



985
986
987
988
989
# File 'sagemaker/cfn_space.rb', line 985

def self.jsii_properties
  {
    :owner_user_profile_name => "ownerUserProfileName",
  }
end

Instance Method Details

#to_jsiiObject



991
992
993
994
995
996
997
# File 'sagemaker/cfn_space.rb', line 991

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