CustomAuthCredentialsProperty Struct
The custom credentials required for custom authentication.
| 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_appflow as appflow } from 'aws-cdk-lib';
const customAuthCredentialsProperty: appflow.CfnConnectorProfile.CustomAuthCredentialsProperty = {
customAuthenticationType: 'customAuthenticationType',
// the properties below are optional
credentialsMap: {
credentialsMapKey: 'credentialsMap',
},
};
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_appflow as appflow
custom_auth_credentials_property = appflow.CfnConnectorProfile.CustomAuthCredentialsProperty(
custom_authentication_type="customAuthenticationType",
# the properties below are optional
credentials_map={
"credentials_map_key": "credentialsMap"
}
)
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.appflow.*;
CustomAuthCredentialsProperty customAuthCredentialsProperty = CustomAuthCredentialsProperty.builder()
.customAuthenticationType("customAuthenticationType")
// the properties below are optional
.credentialsMap(Map.of(
"credentialsMapKey", "credentialsMap"))
.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.AppFlow;
var customAuthCredentialsProperty = new CustomAuthCredentialsProperty {
CustomAuthenticationType = "customAuthenticationType",
// the properties below are optional
CredentialsMap = new Dictionary<string, string> {
{ "credentialsMapKey", "credentialsMap" }
}
};
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"
customAuthCredentialsProperty := &CustomAuthCredentialsProperty{
CustomAuthenticationType: jsii.String("customAuthenticationType"),
// the properties below are optional
CredentialsMap: map[string]*string{
"credentialsMapKey": jsii.String("credentialsMap"),
},
}
Properties
credentialsMapoptionalIResolvable | { [key: string]: string }credentials_mapoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]credentialsMapoptionalIResolvableCredentialsMapoptionalIResolvableCredentialsMapoptionalinterface{} #A map that holds custom authentication credentials.
customAuthenticationTypestringcustom_authentication_typestrcustomAuthenticationTypeStringCustomAuthenticationTypestringCustomAuthenticationType*string required #The custom authentication type that the connector uses.