Class CfnConnectionType.ConnectorOAuth2PropertiesProperty
OAuth2 configuration container.
Inherited Members
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
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
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
Remarks
Type union: either IResolvable or CfnConnectionType.IConnectorAuthorizationCodePropertiesProperty
ClientCredentialsProperties
OAuth2 client credentials configuration.
public object? ClientCredentialsProperties { get; set; }
Property Value
Remarks
JwtBearerProperties
JWT bearer token configuration.
public object? JwtBearerProperties { get; set; }
Property Value
Remarks
OAuth2GrantType
The OAuth2 grant type to use.
public string OAuth2GrantType { get; set; }