Class: AWSCDK::Sagemaker::CfnModelCard::ModelPackageCreatorProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_profile_name: nil) ⇒ ModelPackageCreatorProperty

Returns a new instance of ModelPackageCreatorProperty.

Parameters:

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

    The name of the user's profile in Studio.



1500
1501
1502
1503
# File 'sagemaker/cfn_model_card.rb', line 1500

def initialize(user_profile_name: nil)
  @user_profile_name = 
  Jsii::Type.check_type(@user_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userProfileName") unless @user_profile_name.nil?
end

Instance Attribute Details

#user_profile_nameString? (readonly)

The name of the user's profile in Studio.



1509
1510
1511
# File 'sagemaker/cfn_model_card.rb', line 1509

def 
  @user_profile_name
end

Class Method Details

.jsii_propertiesObject



1511
1512
1513
1514
1515
# File 'sagemaker/cfn_model_card.rb', line 1511

def self.jsii_properties
  {
    :user_profile_name => "userProfileName",
  }
end

Instance Method Details

#to_jsiiObject



1517
1518
1519
1520
1521
1522
1523
# File 'sagemaker/cfn_model_card.rb', line 1517

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