Class: AWSCDK::Glue::CfnTableOptimizer::VPCConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_table_optimizer.rb

Overview

An object that describes the VPC configuration for a table optimizer.

This configuration is necessary to perform optimization on tables that are in a customer VPC.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(glue_connection_name: nil) ⇒ VPCConfigurationProperty

Returns a new instance of VPCConfigurationProperty.

Parameters:

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

    The name of the AWS Glue connection used for the VPC for the table optimizer.



792
793
794
795
# File 'glue/cfn_table_optimizer.rb', line 792

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

Instance Attribute Details

#glue_connection_nameString? (readonly)

The name of the AWS Glue connection used for the VPC for the table optimizer.



801
802
803
# File 'glue/cfn_table_optimizer.rb', line 801

def glue_connection_name
  @glue_connection_name
end

Class Method Details

.jsii_propertiesObject



803
804
805
806
807
# File 'glue/cfn_table_optimizer.rb', line 803

def self.jsii_properties
  {
    :glue_connection_name => "glueConnectionName",
  }
end

Instance Method Details

#to_jsiiObject



809
810
811
812
813
814
815
# File 'glue/cfn_table_optimizer.rb', line 809

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