Class ConnectionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.ConnectionProps.Jsii$Proxy
All Implemented Interfaces:
ConnectionOptions, ConnectionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ConnectionProps

@Stability(Experimental) @Internal public static final class ConnectionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConnectionProps
An implementation for ConnectionProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.ConnectionProps

    ConnectionProps.Builder, ConnectionProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ConnectionProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    (experimental) The name of the connection.
    final String
    (experimental) The description of the connection.
    final List<String>
    (experimental) A list of criteria that can be used in selecting this connection.
    (experimental) Key-Value pairs that define parameters for the connection.
    (experimental) A reference to a Secrets Manager secret holding the credentials for this connection.
    (experimental) The list of security groups needed to successfully make this connection e.g.
    final ISubnet
    (experimental) The VPC subnet to connect to resources within a VPC.
    (experimental) The type of the connection.
    final IVpc
    (experimental) The VPC to connect to resources within.
    (experimental) Which subnets of vpc to select the connection subnet from.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ConnectionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ConnectionProps.Builder.
  • Method Details

    • getType

      public final ConnectionType getType()
      Description copied from interface: ConnectionProps
      (experimental) The type of the connection.
      Specified by:
      getType in interface ConnectionProps
    • getConnectionName

      public final String getConnectionName()
      Description copied from interface: ConnectionOptions
      (experimental) The name of the connection.

      Default: cloudformation generated name

      Specified by:
      getConnectionName in interface ConnectionOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: ConnectionOptions
      (experimental) The description of the connection.

      Default: no description

      Specified by:
      getDescription in interface ConnectionOptions
    • getMatchCriteria

      public final List<String> getMatchCriteria()
      Description copied from interface: ConnectionOptions
      (experimental) A list of criteria that can be used in selecting this connection.

      This is useful for filtering the results of https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-connections.html

      Default: no match criteria

      Specified by:
      getMatchCriteria in interface ConnectionOptions
    • getProperties

      public final Map<String,String> getProperties()
      Description copied from interface: ConnectionOptions
      (experimental) Key-Value pairs that define parameters for the connection.

      Default: empty properties

      Specified by:
      getProperties in interface ConnectionOptions
      See Also:
    • getSecret

      public final ISecretRef getSecret()
      Description copied from interface: ConnectionOptions
      (experimental) A reference to a Secrets Manager secret holding the credentials for this connection.

      The secret is referenced through the connection's SECRET_ID property, so Glue reads the credentials at runtime and the secret value never appears in the synthesized template. Prefer this over placing credentials directly in properties. Accepts any secretsmanager.ISecret.

      Default: - no secret; any credentials must be supplied via `properties`

      Specified by:
      getSecret in interface ConnectionOptions
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: ConnectionOptions
      (experimental) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.

      Default: no security group

      Specified by:
      getSecurityGroups in interface ConnectionOptions
    • getSubnet

      public final ISubnet getSubnet()
      Description copied from interface: ConnectionOptions
      (experimental) The VPC subnet to connect to resources within a VPC. See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.

      Mutually exclusive with vpc: provide subnet to pin the connection to a specific subnet, or provide vpc (optionally with vpcSubnets) to let the CDK select one for you.

      Default: - no subnet, unless `vpc` is provided

      Specified by:
      getSubnet in interface ConnectionOptions
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: ConnectionOptions
      (experimental) The VPC to connect to resources within.

      When provided, the CDK selects a subnet from this VPC using vpcSubnets. A Glue connection targets a single subnet, so the first subnet of the selection is used.

      Mutually exclusive with subnet.

      Default: - no VPC, the subnet is taken from `subnet` if provided

      Specified by:
      getVpc in interface ConnectionOptions
    • getVpcSubnets

      public final SubnetSelection getVpcSubnets()
      Description copied from interface: ConnectionOptions
      (experimental) Which subnets of vpc to select the connection subnet from.

      Only used when vpc is provided. Since a Glue connection targets a single subnet, the first subnet of the selection is used.

      Default: - private subnets

      Specified by:
      getVpcSubnets in interface ConnectionOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object