AuthenticationConfigurationInputProperty Struct
The authentication configuration of a connection.
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',
};
Properties
authenticationTypeoptionalstringauthentication_typeoptionalstrauthenticationTypeoptionalStringAuthenticationTypeoptionalstringAuthenticationTypeoptional*string#The authentication type of a connection.
basicAuthenticationCredentialsoptionalIResolvable | CfnConnection.BasicAuthenticationCredentialsPropertybasic_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.OAuth2PropertiesPropertyo_auth2_propertiesoptionaltyping.Union[IResolvable, OAuth2PropertiesProperty]oAuth2PropertiesoptionalIResolvableOAuth2PropertiesoptionalIResolvableOAuth2Propertiesoptionalinterface{}#The oAuth2 properties of a connection.
secretArnoptionalstringsecret_arnoptionalstrsecretArnoptionalStringSecretArnoptionalstringSecretArnoptional*string#The secret ARN of a connection.