Class: AWSCDK::Interfaces::AWSSagemaker::PartnerAppReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSagemaker::PartnerAppReference
- Defined in:
- interfaces/aws_sagemaker/partner_app_reference.rb
Overview
A reference to a PartnerApp resource.
Instance Attribute Summary collapse
-
#partner_app_arn ⇒ String
readonly
The Arn of the PartnerApp resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(partner_app_arn:) ⇒ PartnerAppReference
constructor
A new instance of PartnerAppReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(partner_app_arn:) ⇒ PartnerAppReference
Returns a new instance of PartnerAppReference.
8 9 10 11 |
# File 'interfaces/aws_sagemaker/partner_app_reference.rb', line 8 def initialize(partner_app_arn:) @partner_app_arn = partner_app_arn Jsii::Type.check_type(@partner_app_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "partnerAppArn") end |
Instance Attribute Details
#partner_app_arn ⇒ String (readonly)
The Arn of the PartnerApp resource.
16 17 18 |
# File 'interfaces/aws_sagemaker/partner_app_reference.rb', line 16 def partner_app_arn @partner_app_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_sagemaker/partner_app_reference.rb', line 18 def self.jsii_properties { :partner_app_arn => "partnerAppArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_sagemaker/partner_app_reference.rb', line 24 def to_jsii result = {} result.merge!({ "partnerAppArn" => @partner_app_arn, }) result.compact end |