AuthenticationConfigurationInputProperty Struct
The authentication configuration of a connection.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const authenticationConfigurationInputProperty: datazone.CfnConnection.AuthenticationConfigurationInputProperty = {
authenticationType: 'authenticationType',
basicAuthenticationCredentials: {
password: 'password',
userName: 'userName',
},
customAuthenticationCredentials: {
customAuthenticationCredentialsKey: 'customAuthenticationCredentials',
},
kmsKeyArn: 'kmsKeyArn',
oAuth2Properties: {
authorizationCodeProperties: {
authorizationCode: 'authorizationCode',
redirectUri: 'redirectUri',
},
oAuth2ClientApplication: {
awsManagedClientApplicationReference: 'awsManagedClientApplicationReference',
userManagedClientApplicationClientId: 'userManagedClientApplicationClientId',
},
oAuth2Credentials: {
accessToken: 'accessToken',
jwtToken: 'jwtToken',
refreshToken: 'refreshToken',
userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
},
oAuth2GrantType: 'oAuth2GrantType',
tokenUrl: 'tokenUrl',
tokenUrlParametersMap: {
tokenUrlParametersMapKey: 'tokenUrlParametersMap',
},
},
secretArn: 'secretArn',
};
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_datazone as datazone
authentication_configuration_input_property = datazone.CfnConnection.AuthenticationConfigurationInputProperty(
authentication_type="authenticationType",
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
password="password",
user_name="userName"
),
custom_authentication_credentials={
"custom_authentication_credentials_key": "customAuthenticationCredentials"
},
kms_key_arn="kmsKeyArn",
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
authorization_code="authorizationCode",
redirect_uri="redirectUri"
),
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
aws_managed_client_application_reference="awsManagedClientApplicationReference",
user_managed_client_application_client_id="userManagedClientApplicationClientId"
),
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
access_token="accessToken",
jwt_token="jwtToken",
refresh_token="refreshToken",
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
),
o_auth2_grant_type="oAuth2GrantType",
token_url="tokenUrl",
token_url_parameters_map={
"token_url_parameters_map_key": "tokenUrlParametersMap"
}
),
secret_arn="secretArn"
)
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.datazone.*;
AuthenticationConfigurationInputProperty authenticationConfigurationInputProperty = AuthenticationConfigurationInputProperty.builder()
.authenticationType("authenticationType")
.basicAuthenticationCredentials(BasicAuthenticationCredentialsProperty.builder()
.password("password")
.userName("userName")
.build())
.customAuthenticationCredentials(Map.of(
"customAuthenticationCredentialsKey", "customAuthenticationCredentials"))
.kmsKeyArn("kmsKeyArn")
.oAuth2Properties(OAuth2PropertiesProperty.builder()
.authorizationCodeProperties(AuthorizationCodePropertiesProperty.builder()
.authorizationCode("authorizationCode")
.redirectUri("redirectUri")
.build())
.oAuth2ClientApplication(OAuth2ClientApplicationProperty.builder()
.awsManagedClientApplicationReference("awsManagedClientApplicationReference")
.userManagedClientApplicationClientId("userManagedClientApplicationClientId")
.build())
.oAuth2Credentials(GlueOAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.jwtToken("jwtToken")
.refreshToken("refreshToken")
.userManagedClientApplicationClientSecret("userManagedClientApplicationClientSecret")
.build())
.oAuth2GrantType("oAuth2GrantType")
.tokenUrl("tokenUrl")
.tokenUrlParametersMap(Map.of(
"tokenUrlParametersMapKey", "tokenUrlParametersMap"))
.build())
.secretArn("secretArn")
.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.DataZone;
var authenticationConfigurationInputProperty = new AuthenticationConfigurationInputProperty {
AuthenticationType = "authenticationType",
BasicAuthenticationCredentials = new BasicAuthenticationCredentialsProperty {
Password = "password",
UserName = "userName"
},
CustomAuthenticationCredentials = new Dictionary<string, string> {
{ "customAuthenticationCredentialsKey", "customAuthenticationCredentials" }
},
KmsKeyArn = "kmsKeyArn",
OAuth2Properties = new OAuth2PropertiesProperty {
AuthorizationCodeProperties = new AuthorizationCodePropertiesProperty {
AuthorizationCode = "authorizationCode",
RedirectUri = "redirectUri"
},
OAuth2ClientApplication = new OAuth2ClientApplicationProperty {
AwsManagedClientApplicationReference = "awsManagedClientApplicationReference",
UserManagedClientApplicationClientId = "userManagedClientApplicationClientId"
},
OAuth2Credentials = new GlueOAuth2CredentialsProperty {
AccessToken = "accessToken",
JwtToken = "jwtToken",
RefreshToken = "refreshToken",
UserManagedClientApplicationClientSecret = "userManagedClientApplicationClientSecret"
},
OAuth2GrantType = "oAuth2GrantType",
TokenUrl = "tokenUrl",
TokenUrlParametersMap = new Dictionary<string, string> {
{ "tokenUrlParametersMapKey", "tokenUrlParametersMap" }
}
},
SecretArn = "secretArn"
};
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"
authenticationConfigurationInputProperty := &AuthenticationConfigurationInputProperty{
AuthenticationType: jsii.String("authenticationType"),
BasicAuthenticationCredentials: &BasicAuthenticationCredentialsProperty{
Password: jsii.String("password"),
UserName: jsii.String("userName"),
},
CustomAuthenticationCredentials: map[string]*string{
"customAuthenticationCredentialsKey": jsii.String("customAuthenticationCredentials"),
},
KmsKeyArn: jsii.String("kmsKeyArn"),
OAuth2Properties: &OAuth2PropertiesProperty{
AuthorizationCodeProperties: &AuthorizationCodePropertiesProperty{
AuthorizationCode: jsii.String("authorizationCode"),
RedirectUri: jsii.String("redirectUri"),
},
OAuth2ClientApplication: &OAuth2ClientApplicationProperty{
AwsManagedClientApplicationReference: jsii.String("awsManagedClientApplicationReference"),
UserManagedClientApplicationClientId: jsii.String("userManagedClientApplicationClientId"),
},
OAuth2Credentials: &GlueOAuth2CredentialsProperty{
AccessToken: jsii.String("accessToken"),
JwtToken: jsii.String("jwtToken"),
RefreshToken: jsii.String("refreshToken"),
UserManagedClientApplicationClientSecret: jsii.String("userManagedClientApplicationClientSecret"),
},
OAuth2GrantType: jsii.String("oAuth2GrantType"),
TokenUrl: jsii.String("tokenUrl"),
TokenUrlParametersMap: map[string]*string{
"tokenUrlParametersMapKey": jsii.String("tokenUrlParametersMap"),
},
},
SecretArn: jsii.String("secretArn"),
}
Properties
authenticationTypeoptionalstringauthentication_typeoptionalstrauthenticationTypeoptionalStringAuthenticationTypeoptionalstringAuthenticationTypeoptional*string #The authentication type of a connection.
basicAuthenticationCredentialsoptionalIResolvable | CfnConnection.basic_authentication_credentialsoptionaltyping.Union[IResolvable, BasicAuthenticationCredentialsProperty]basicAuthenticationCredentialsoptionalIResolvableBasicAuthenticationCredentialsoptionalIResolvableBasicAuthenticationCredentialsoptionalinterface{} #The basic authentication credentials of a connection.
customAuthenticationCredentialsoptionalIResolvable | { [key: string]: string }custom_authentication_credentialsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]customAuthenticationCredentialsoptionalIResolvableCustomAuthenticationCredentialsoptionalIResolvableCustomAuthenticationCredentialsoptionalinterface{} #The custom authentication credentials of a connection.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #The KMS key ARN of a connection.
oAuth2PropertiesoptionalIResolvable | CfnConnection.o_auth2_propertiesoptionaltyping.Union[IResolvable, OAuth2PropertiesProperty]oAuth2PropertiesoptionalIResolvableOAuth2PropertiesoptionalIResolvableOAuth2Propertiesoptionalinterface{} #The oAuth2 properties of a connection.
secretArnoptionalstringsecret_arnoptionalstrsecretArnoptionalStringSecretArnoptionalstringSecretArnoptional*string #The secret ARN of a connection.