Class: AWSCDK::Athena::CfnWorkGroup::ClassificationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
athena/cfn_work_group.rb

Overview

A classification refers to a set of specific configurations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, properties: nil) ⇒ ClassificationProperty

Returns a new instance of ClassificationProperty.

Parameters:

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

    The name of the configuration classification.

  • properties (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    A set of properties specified within a configuration classification.



673
674
675
676
677
678
# File 'athena/cfn_work_group.rb', line 673

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

Instance Attribute Details

#nameString? (readonly)

The name of the configuration classification.



684
685
686
# File 'athena/cfn_work_group.rb', line 684

def name
  @name
end

#propertiesAWSCDK::IResolvable, ... (readonly)

A set of properties specified within a configuration classification.



689
690
691
# File 'athena/cfn_work_group.rb', line 689

def properties
  @properties
end

Class Method Details

.jsii_propertiesObject



691
692
693
694
695
696
# File 'athena/cfn_work_group.rb', line 691

def self.jsii_properties
  {
    :name => "name",
    :properties => "properties",
  }
end

Instance Method Details

#to_jsiiObject



698
699
700
701
702
703
704
705
# File 'athena/cfn_work_group.rb', line 698

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