Skip to content
v2.278.0

VpcConfigurationProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const vpcConfigurationProperty: glue.CfnTableOptimizer.VpcConfigurationProperty = {
  glueConnectionName: 'glueConnectionName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

vpc_configuration_property = glue.CfnTableOptimizer.VpcConfigurationProperty(
    glue_connection_name="glueConnectionName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

VpcConfigurationProperty vpcConfigurationProperty = VpcConfigurationProperty.builder()
        .glueConnectionName("glueConnectionName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var vpcConfigurationProperty = new VpcConfigurationProperty {
    GlueConnectionName = "glueConnectionName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vpcConfigurationProperty := &VpcConfigurationProperty{
	GlueConnectionName: jsii.String("glueConnectionName"),
}

Properties ​

glueConnectionNameoptionalstringglue_connection_nameoptionalstrglueConnectionNameoptionalStringGlueConnectionNameoptionalstringGlueConnectionNameoptional*string #
The name of the AWS Glue connection used for the VPC for the table optimizer.