CustomConnectorProfilePropertiesProperty Struct
The profile properties required by the custom connector.
| 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 customConnectorProfilePropertiesProperty: appflow.CfnConnectorProfile.CustomConnectorProfilePropertiesProperty = {
oAuth2Properties: {
oAuth2GrantType: 'oAuth2GrantType',
tokenUrl: 'tokenUrl',
tokenUrlCustomProperties: {
tokenUrlCustomPropertiesKey: 'tokenUrlCustomProperties',
},
},
profileProperties: {
profilePropertiesKey: 'profileProperties',
},
};
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_connector_profile_properties_property = appflow.CfnConnectorProfile.CustomConnectorProfilePropertiesProperty(
o_auth2_properties=appflow.CfnConnectorProfile.OAuth2PropertiesProperty(
o_auth2_grant_type="oAuth2GrantType",
token_url="tokenUrl",
token_url_custom_properties={
"token_url_custom_properties_key": "tokenUrlCustomProperties"
}
),
profile_properties={
"profile_properties_key": "profileProperties"
}
)
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.*;
CustomConnectorProfilePropertiesProperty customConnectorProfilePropertiesProperty = CustomConnectorProfilePropertiesProperty.builder()
.oAuth2Properties(OAuth2PropertiesProperty.builder()
.oAuth2GrantType("oAuth2GrantType")
.tokenUrl("tokenUrl")
.tokenUrlCustomProperties(Map.of(
"tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties"))
.build())
.profileProperties(Map.of(
"profilePropertiesKey", "profileProperties"))
.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 customConnectorProfilePropertiesProperty = new CustomConnectorProfilePropertiesProperty {
OAuth2Properties = new OAuth2PropertiesProperty {
OAuth2GrantType = "oAuth2GrantType",
TokenUrl = "tokenUrl",
TokenUrlCustomProperties = new Dictionary<string, string> {
{ "tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties" }
}
},
ProfileProperties = new Dictionary<string, string> {
{ "profilePropertiesKey", "profileProperties" }
}
};
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"
customConnectorProfilePropertiesProperty := &CustomConnectorProfilePropertiesProperty{
OAuth2Properties: &OAuth2PropertiesProperty{
OAuth2GrantType: jsii.String("oAuth2GrantType"),
TokenUrl: jsii.String("tokenUrl"),
TokenUrlCustomProperties: map[string]*string{
"tokenUrlCustomPropertiesKey": jsii.String("tokenUrlCustomProperties"),
},
},
ProfileProperties: map[string]*string{
"profilePropertiesKey": jsii.String("profileProperties"),
},
}
Properties
oAuth2PropertiesoptionalIResolvable | CfnConnectorProfile.o_auth2_propertiesoptionaltyping.Union[IResolvable, OAuth2PropertiesProperty]oAuth2PropertiesoptionalIResolvableOAuth2PropertiesoptionalIResolvableOAuth2Propertiesoptionalinterface{} #The OAuth 2.0 properties required for OAuth 2.0 authentication.
profilePropertiesoptionalIResolvable | { [key: string]: string }profile_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]profilePropertiesoptionalIResolvableProfilePropertiesoptionalIResolvableProfilePropertiesoptionalinterface{} #A map of properties that are required to create a profile for the custom connector.