# BitbucketInputProperty

The input required to create a Bitbucket integration.

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const bitbucketInputProperty: securityagent.CfnIntegration.BitbucketInputProperty = {
  code: 'code',
  installationId: 'installationId',
  state: 'state',
  workspace: 'workspace',
};
```

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_securityagent as securityagent

bitbucket_input_property = securityagent.CfnIntegration.BitbucketInputProperty(
    code="code",
    installation_id="installationId",
    state="state",
    workspace="workspace"
)
```

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

BitbucketInputProperty bitbucketInputProperty = BitbucketInputProperty.builder()
        .code("code")
        .installationId("installationId")
        .state("state")
        .workspace("workspace")
        .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.SecurityAgent;

var bitbucketInputProperty = new BitbucketInputProperty {
    Code = "code",
    InstallationId = "installationId",
    State = "state",
    Workspace = "workspace"
};
```

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"

bitbucketInputProperty := &BitbucketInputProperty{
	Code: jsii.String("code"),
	InstallationId: jsii.String("installationId"),
	State: jsii.String("state"),
	Workspace: jsii.String("workspace"),
}
```

## Properties

- `code`: string (required) — The OAuth 2.0 authorization code returned from the consent redirect.

- `installationId`: string (required) — The Atlassian installation identifier, available from the Atlassian administration console.

- `state`: string (required) — The CSRF state token echoed back from the OAuth redirect.

- `workspace`: string (required) — The Bitbucket workspace slug that identifies the workspace to integrate.
