Interface CfnConnectionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.357Z") @Stability(Stable) public interface CfnConnectionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConnection.

Example:

 // 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.*;
 Object connectionProperties;
 CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
         .catalogId("catalogId")
         .connectionInput(ConnectionInputProperty.builder()
                 .connectionType("connectionType")
                 // the properties below are optional
                 .connectionProperties(connectionProperties)
                 .description("description")
                 .matchCriteria(List.of("matchCriteria"))
                 .name("name")
                 .physicalConnectionRequirements(PhysicalConnectionRequirementsProperty.builder()
                         .availabilityZone("availabilityZone")
                         .securityGroupIdList(List.of("securityGroupIdList"))
                         .subnetId("subnetId")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getCatalogId

      @Stability(Stable) @NotNull String getCatalogId()
      The ID of the data catalog to create the catalog object in.

      Currently, this should be the AWS account ID.

      To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo parameter. For example: !Ref AWS::AccountId .

    • getConnectionInput

      @Stability(Stable) @NotNull Object getConnectionInput()
      The connection that you want to create.
    • builder

      @Stability(Stable) static CfnConnectionProps.Builder builder()
      Returns:
      a CfnConnectionProps.Builder of CfnConnectionProps