Skip to content
v2.278.0

ConnectorAuthenticationConfigurationProperty Struct ​

Configuration that defines supported authentication types and required properties.

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 connectorAuthenticationConfigurationProperty: glue.CfnConnectionType.ConnectorAuthenticationConfigurationProperty = {
  authenticationTypes: ['authenticationTypes'],

  // the properties below are optional
  basicAuthenticationProperties: {
    password: {
      name: 'name',
      propertyType: 'propertyType',
      required: false,

      // the properties below are optional
      keyOverride: 'keyOverride',
      propertyLocation: 'propertyLocation',
    },
    username: {
      name: 'name',
      propertyType: 'propertyType',
      required: false,

      // the properties below are optional
      keyOverride: 'keyOverride',
      propertyLocation: 'propertyLocation',
    },
  },
  customAuthenticationProperties: {
    authenticationParameters: [{
      name: 'name',
      propertyType: 'propertyType',
      required: false,

      // the properties below are optional
      keyOverride: 'keyOverride',
      propertyLocation: 'propertyLocation',
    }],
  },
  oAuth2Properties: {
    oAuth2GrantType: 'oAuth2GrantType',

    // the properties below are optional
    authorizationCodeProperties: {
      authorizationCode: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      authorizationCodeUrl: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      clientId: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      clientSecret: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      contentType: 'contentType',
      prompt: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      redirectUri: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      requestMethod: 'requestMethod',
      scope: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      tokenUrl: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      tokenUrlParameters: [{
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      }],
    },
    clientCredentialsProperties: {
      clientId: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      clientSecret: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      contentType: 'contentType',
      requestMethod: 'requestMethod',
      scope: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      tokenUrl: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      tokenUrlParameters: [{
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      }],
    },
    jwtBearerProperties: {
      contentType: 'contentType',
      jwtToken: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      requestMethod: 'requestMethod',
      tokenUrl: {
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      },
      tokenUrlParameters: [{
        name: 'name',
        propertyType: 'propertyType',
        required: false,

        // the properties below are optional
        allowedValues: ['allowedValues'],
        defaultValue: 'defaultValue',
        keyOverride: 'keyOverride',
        propertyLocation: 'propertyLocation',
      }],
    },
  },
};
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

connector_authentication_configuration_property = glue.CfnConnectionType.ConnectorAuthenticationConfigurationProperty(
    authentication_types=["authenticationTypes"],

    # the properties below are optional
    basic_authentication_properties=glue.CfnConnectionType.BasicAuthenticationPropertiesProperty(
        password=glue.CfnConnectionType.SecretConnectorPropertyProperty(
            name="name",
            property_type="propertyType",
            required=False,

            # the properties below are optional
            key_override="keyOverride",
            property_location="propertyLocation"
        ),
        username=glue.CfnConnectionType.SecretConnectorPropertyProperty(
            name="name",
            property_type="propertyType",
            required=False,

            # the properties below are optional
            key_override="keyOverride",
            property_location="propertyLocation"
        )
    ),
    custom_authentication_properties=glue.CfnConnectionType.CustomAuthenticationPropertiesProperty(
        authentication_parameters=[glue.CfnConnectionType.SecretConnectorPropertyProperty(
            name="name",
            property_type="propertyType",
            required=False,

            # the properties below are optional
            key_override="keyOverride",
            property_location="propertyLocation"
        )]
    ),
    o_auth2_properties=glue.CfnConnectionType.ConnectorOAuth2PropertiesProperty(
        o_auth2_grant_type="oAuth2GrantType",

        # the properties below are optional
        authorization_code_properties=glue.CfnConnectionType.ConnectorAuthorizationCodePropertiesProperty(
            authorization_code=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            authorization_code_url=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            content_type="contentType",
            prompt=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            redirect_uri=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            request_method="requestMethod",
            scope=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            token_url=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            )]
        ),
        client_credentials_properties=glue.CfnConnectionType.ClientCredentialsPropertiesProperty(
            client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            content_type="contentType",
            request_method="requestMethod",
            scope=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            token_url=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            )]
        ),
        jwt_bearer_properties=glue.CfnConnectionType.JWTBearerPropertiesProperty(
            content_type="contentType",
            jwt_token=glue.CfnConnectionType.SecretConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            request_method="requestMethod",
            token_url=glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            ),
            token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty(
                name="name",
                property_type="propertyType",
                required=False,

                # the properties below are optional
                allowed_values=["allowedValues"],
                default_value="defaultValue",
                key_override="keyOverride",
                property_location="propertyLocation"
            )]
        )
    )
)
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.*;

ConnectorAuthenticationConfigurationProperty connectorAuthenticationConfigurationProperty = ConnectorAuthenticationConfigurationProperty.builder()
        .authenticationTypes(List.of("authenticationTypes"))

        // the properties below are optional
        .basicAuthenticationProperties(BasicAuthenticationPropertiesProperty.builder()
                .password(SecretConnectorPropertyProperty.builder()
                        .name("name")
                        .propertyType("propertyType")
                        .required(false)

                        // the properties below are optional
                        .keyOverride("keyOverride")
                        .propertyLocation("propertyLocation")
                        .build())
                .username(SecretConnectorPropertyProperty.builder()
                        .name("name")
                        .propertyType("propertyType")
                        .required(false)

                        // the properties below are optional
                        .keyOverride("keyOverride")
                        .propertyLocation("propertyLocation")
                        .build())
                .build())
        .customAuthenticationProperties(CustomAuthenticationPropertiesProperty.builder()
                .authenticationParameters(List.of(SecretConnectorPropertyProperty.builder()
                        .name("name")
                        .propertyType("propertyType")
                        .required(false)

                        // the properties below are optional
                        .keyOverride("keyOverride")
                        .propertyLocation("propertyLocation")
                        .build()))
                .build())
        .oAuth2Properties(ConnectorOAuth2PropertiesProperty.builder()
                .oAuth2GrantType("oAuth2GrantType")

                // the properties below are optional
                .authorizationCodeProperties(ConnectorAuthorizationCodePropertiesProperty.builder()
                        .authorizationCode(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .authorizationCodeUrl(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .clientId(SecretConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .clientSecret(SecretConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .contentType("contentType")
                        .prompt(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .redirectUri(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .requestMethod("requestMethod")
                        .scope(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .tokenUrl(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .tokenUrlParameters(List.of(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build()))
                        .build())
                .clientCredentialsProperties(ClientCredentialsPropertiesProperty.builder()
                        .clientId(SecretConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .clientSecret(SecretConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .contentType("contentType")
                        .requestMethod("requestMethod")
                        .scope(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .tokenUrl(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .tokenUrlParameters(List.of(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build()))
                        .build())
                .jwtBearerProperties(JWTBearerPropertiesProperty.builder()
                        .contentType("contentType")
                        .jwtToken(SecretConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .requestMethod("requestMethod")
                        .tokenUrl(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build())
                        .tokenUrlParameters(List.of(ConnectorPropertyProperty.builder()
                                .name("name")
                                .propertyType("propertyType")
                                .required(false)

                                // the properties below are optional
                                .allowedValues(List.of("allowedValues"))
                                .defaultValue("defaultValue")
                                .keyOverride("keyOverride")
                                .propertyLocation("propertyLocation")
                                .build()))
                        .build())
                .build())
        .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 connectorAuthenticationConfigurationProperty = new ConnectorAuthenticationConfigurationProperty {
    AuthenticationTypes = new [] { "authenticationTypes" },

    // the properties below are optional
    BasicAuthenticationProperties = new BasicAuthenticationPropertiesProperty {
        Password = new SecretConnectorPropertyProperty {
            Name = "name",
            PropertyType = "propertyType",
            Required = false,

            // the properties below are optional
            KeyOverride = "keyOverride",
            PropertyLocation = "propertyLocation"
        },
        Username = new SecretConnectorPropertyProperty {
            Name = "name",
            PropertyType = "propertyType",
            Required = false,

            // the properties below are optional
            KeyOverride = "keyOverride",
            PropertyLocation = "propertyLocation"
        }
    },
    CustomAuthenticationProperties = new CustomAuthenticationPropertiesProperty {
        AuthenticationParameters = new [] { new SecretConnectorPropertyProperty {
            Name = "name",
            PropertyType = "propertyType",
            Required = false,

            // the properties below are optional
            KeyOverride = "keyOverride",
            PropertyLocation = "propertyLocation"
        } }
    },
    OAuth2Properties = new ConnectorOAuth2PropertiesProperty {
        OAuth2GrantType = "oAuth2GrantType",

        // the properties below are optional
        AuthorizationCodeProperties = new ConnectorAuthorizationCodePropertiesProperty {
            AuthorizationCode = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            AuthorizationCodeUrl = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            ClientId = new SecretConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            ClientSecret = new SecretConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            ContentType = "contentType",
            Prompt = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            RedirectUri = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            RequestMethod = "requestMethod",
            Scope = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            TokenUrl = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            TokenUrlParameters = new [] { new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            } }
        },
        ClientCredentialsProperties = new ClientCredentialsPropertiesProperty {
            ClientId = new SecretConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            ClientSecret = new SecretConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            ContentType = "contentType",
            RequestMethod = "requestMethod",
            Scope = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            TokenUrl = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            TokenUrlParameters = new [] { new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            } }
        },
        JwtBearerProperties = new JWTBearerPropertiesProperty {
            ContentType = "contentType",
            JwtToken = new SecretConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            RequestMethod = "requestMethod",
            TokenUrl = new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            },
            TokenUrlParameters = new [] { new ConnectorPropertyProperty {
                Name = "name",
                PropertyType = "propertyType",
                Required = false,

                // the properties below are optional
                AllowedValues = new [] { "allowedValues" },
                DefaultValue = "defaultValue",
                KeyOverride = "keyOverride",
                PropertyLocation = "propertyLocation"
            } }
        }
    }
};
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"

connectorAuthenticationConfigurationProperty := &ConnectorAuthenticationConfigurationProperty{
	AuthenticationTypes: []*string{
		jsii.String("authenticationTypes"),
	},

	// the properties below are optional
	BasicAuthenticationProperties: &BasicAuthenticationPropertiesProperty{
		Password: &SecretConnectorPropertyProperty{
			Name: jsii.String("name"),
			PropertyType: jsii.String("propertyType"),
			Required: jsii.Boolean(false),

			// the properties below are optional
			KeyOverride: jsii.String("keyOverride"),
			PropertyLocation: jsii.String("propertyLocation"),
		},
		Username: &SecretConnectorPropertyProperty{
			Name: jsii.String("name"),
			PropertyType: jsii.String("propertyType"),
			Required: jsii.Boolean(false),

			// the properties below are optional
			KeyOverride: jsii.String("keyOverride"),
			PropertyLocation: jsii.String("propertyLocation"),
		},
	},
	CustomAuthenticationProperties: &CustomAuthenticationPropertiesProperty{
		AuthenticationParameters: []interface{}{
			&SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
		},
	},
	OAuth2Properties: &ConnectorOAuth2PropertiesProperty{
		OAuth2GrantType: jsii.String("oAuth2GrantType"),

		// the properties below are optional
		AuthorizationCodeProperties: &ConnectorAuthorizationCodePropertiesProperty{
			AuthorizationCode: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			AuthorizationCodeUrl: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			ClientId: &SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			ClientSecret: &SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			ContentType: jsii.String("contentType"),
			Prompt: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			RedirectUri: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			RequestMethod: jsii.String("requestMethod"),
			Scope: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			TokenUrl: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			TokenUrlParameters: []interface{}{
				&ConnectorPropertyProperty{
					Name: jsii.String("name"),
					PropertyType: jsii.String("propertyType"),
					Required: jsii.Boolean(false),

					// the properties below are optional
					AllowedValues: []*string{
						jsii.String("allowedValues"),
					},
					DefaultValue: jsii.String("defaultValue"),
					KeyOverride: jsii.String("keyOverride"),
					PropertyLocation: jsii.String("propertyLocation"),
				},
			},
		},
		ClientCredentialsProperties: &ClientCredentialsPropertiesProperty{
			ClientId: &SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			ClientSecret: &SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			ContentType: jsii.String("contentType"),
			RequestMethod: jsii.String("requestMethod"),
			Scope: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			TokenUrl: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			TokenUrlParameters: []interface{}{
				&ConnectorPropertyProperty{
					Name: jsii.String("name"),
					PropertyType: jsii.String("propertyType"),
					Required: jsii.Boolean(false),

					// the properties below are optional
					AllowedValues: []*string{
						jsii.String("allowedValues"),
					},
					DefaultValue: jsii.String("defaultValue"),
					KeyOverride: jsii.String("keyOverride"),
					PropertyLocation: jsii.String("propertyLocation"),
				},
			},
		},
		JwtBearerProperties: &JWTBearerPropertiesProperty{
			ContentType: jsii.String("contentType"),
			JwtToken: &SecretConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			RequestMethod: jsii.String("requestMethod"),
			TokenUrl: &ConnectorPropertyProperty{
				Name: jsii.String("name"),
				PropertyType: jsii.String("propertyType"),
				Required: jsii.Boolean(false),

				// the properties below are optional
				AllowedValues: []*string{
					jsii.String("allowedValues"),
				},
				DefaultValue: jsii.String("defaultValue"),
				KeyOverride: jsii.String("keyOverride"),
				PropertyLocation: jsii.String("propertyLocation"),
			},
			TokenUrlParameters: []interface{}{
				&ConnectorPropertyProperty{
					Name: jsii.String("name"),
					PropertyType: jsii.String("propertyType"),
					Required: jsii.Boolean(false),

					// the properties below are optional
					AllowedValues: []*string{
						jsii.String("allowedValues"),
					},
					DefaultValue: jsii.String("defaultValue"),
					KeyOverride: jsii.String("keyOverride"),
					PropertyLocation: jsii.String("propertyLocation"),
				},
			},
		},
	},
}

Properties ​

authenticationTypesstring[]authentication_typestyping.List[str]authenticationTypesList<String>AuthenticationTypesstring[]AuthenticationTypes*[]*string required #
A list of authentication types supported.
basicAuthenticationPropertiesoptionalIResolvable | CfnConnectionType.BasicAuthenticationPropertiesPropertybasic_authentication_propertiesoptionaltyping.Union[IResolvable, BasicAuthenticationPropertiesProperty]basicAuthenticationPropertiesoptionalIResolvableBasicAuthenticationPropertiesoptionalIResolvableBasicAuthenticationPropertiesoptionalinterface{} #
Basic authentication configuration.
customAuthenticationPropertiesoptionalIResolvable | CfnConnectionType.CustomAuthenticationPropertiesPropertycustom_authentication_propertiesoptionaltyping.Union[IResolvable, CustomAuthenticationPropertiesProperty]customAuthenticationPropertiesoptionalIResolvableCustomAuthenticationPropertiesoptionalIResolvableCustomAuthenticationPropertiesoptionalinterface{} #
Custom authentication configuration.
oAuth2PropertiesoptionalIResolvable | CfnConnectionType.ConnectorOAuth2PropertiesPropertyo_auth2_propertiesoptionaltyping.Union[IResolvable, ConnectorOAuth2PropertiesProperty]oAuth2PropertiesoptionalIResolvableOAuth2PropertiesoptionalIResolvableOAuth2Propertiesoptionalinterface{} #
OAuth2 configuration container.