# AuthorizationCodePropertiesProperty

The authorization code properties of a connection.

- Source: Generated at build time
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```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 authorizationCodePropertiesProperty: datazone.CfnConnection.AuthorizationCodePropertiesProperty = {
  authorizationCode: 'authorizationCode',
  redirectUri: 'redirectUri',
};
```

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_datazone as datazone

authorization_code_properties_property = datazone.CfnConnection.AuthorizationCodePropertiesProperty(
    authorization_code="authorizationCode",
    redirect_uri="redirectUri"
)
```

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.datazone.*;

AuthorizationCodePropertiesProperty authorizationCodePropertiesProperty = AuthorizationCodePropertiesProperty.builder()
        .authorizationCode("authorizationCode")
        .redirectUri("redirectUri")
        .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.DataZone;

var authorizationCodePropertiesProperty = new AuthorizationCodePropertiesProperty {
    AuthorizationCode = "authorizationCode",
    RedirectUri = "redirectUri"
};
```

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"

authorizationCodePropertiesProperty := &AuthorizationCodePropertiesProperty{
	AuthorizationCode: jsii.String("authorizationCode"),
	RedirectUri: jsii.String("redirectUri"),
}
```

## Properties

- `authorizationCode`: string — The authorization code of a connection.

- `redirectUri`: string — The redirect URI of a connection.
