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