Show / Hide Table of Contents

Interface CfnConnectionType.IConnectorOAuth2PropertiesProperty

OAuth2 configuration container.

Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnConnectionType.IConnectorOAuth2PropertiesProperty
Syntax (vb)
Public Interface 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

Properties

AuthorizationCodeProperties

OAuth2 authorization code configuration.

ClientCredentialsProperties

OAuth2 client credentials configuration.

JwtBearerProperties

JWT bearer token configuration.

OAuth2GrantType

The OAuth2 grant type to use.

Properties

AuthorizationCodeProperties

OAuth2 authorization code configuration.

object? AuthorizationCodeProperties { get; }
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.

object? ClientCredentialsProperties { get; }
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.

object? JwtBearerProperties { get; }
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.

string OAuth2GrantType { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX