# CustomConnectorProfilePropertiesProperty

The profile properties required by the custom connector.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
    }
};
```

Golang:

```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

- `oAuth2Properties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectorProfile.OAuth2PropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnConnectorProfile.OAuth2PropertiesProperty.html) — The OAuth 2.0 properties required for OAuth 2.0 authentication.

- `profileProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — A map of properties that are required to create a profile for the custom connector.
