Show / Hide Table of Contents

Class CfnConnectionType.ConnectorOAuth2PropertiesProperty

OAuth2 configuration container.

Inheritance
object
CfnConnectionType.ConnectorOAuth2PropertiesProperty
Implements
CfnConnectionType.IConnectorOAuth2PropertiesProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnectionType.ConnectorOAuth2PropertiesProperty : CfnConnectionType.IConnectorOAuth2PropertiesProperty
Syntax (vb)
Public Class CfnConnectionType.ConnectorOAuth2PropertiesProperty Implements CfnConnectionType.IConnectorOAuth2PropertiesProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html

ExampleMetadata: fixture=_generated

Examples
// 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 connectorOAuth2PropertiesProperty = 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"
                     } }
                 }
             };

Synopsis

Constructors

ConnectorOAuth2PropertiesProperty()

OAuth2 configuration container.

Properties

AuthorizationCodeProperties

OAuth2 authorization code configuration.

ClientCredentialsProperties

OAuth2 client credentials configuration.

JwtBearerProperties

JWT bearer token configuration.

OAuth2GrantType

The OAuth2 grant type to use.

Constructors

ConnectorOAuth2PropertiesProperty()

OAuth2 configuration container.

public ConnectorOAuth2PropertiesProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html

ExampleMetadata: fixture=_generated

Examples
// 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 connectorOAuth2PropertiesProperty = 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"
                     } }
                 }
             };

Properties

AuthorizationCodeProperties

OAuth2 authorization code configuration.

public object? AuthorizationCodeProperties { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html#cfn-glue-connectiontype-connectoroauth2properties-authorizationcodeproperties

Type union: either IResolvable or CfnConnectionType.IConnectorAuthorizationCodePropertiesProperty

ClientCredentialsProperties

OAuth2 client credentials configuration.

public object? ClientCredentialsProperties { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html#cfn-glue-connectiontype-connectoroauth2properties-clientcredentialsproperties

Type union: either IResolvable or CfnConnectionType.IClientCredentialsPropertiesProperty

JwtBearerProperties

JWT bearer token configuration.

public object? JwtBearerProperties { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html#cfn-glue-connectiontype-connectoroauth2properties-jwtbearerproperties

Type union: either IResolvable or CfnConnectionType.IJWTBearerPropertiesProperty

OAuth2GrantType

The OAuth2 grant type to use.

public string OAuth2GrantType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connectiontype-connectoroauth2properties.html#cfn-glue-connectiontype-connectoroauth2properties-oauth2granttype

Implements

CfnConnectionType.IConnectorOAuth2PropertiesProperty
Back to top Generated by DocFX