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