BitbucketInputProperty Struct
The input required to create a Bitbucket integration.
| 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_securityagent as securityagent } from 'aws-cdk-lib';
const bitbucketInputProperty: securityagent.CfnIntegration.BitbucketInputProperty = {
code: 'code',
installationId: 'installationId',
state: 'state',
workspace: 'workspace',
};
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
// 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();
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"
};
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
The OAuth 2.0 authorization code returned from the consent redirect.
installationIdstringinstallation_idstrinstallationIdStringInstallationIdstringInstallationId*string required #The Atlassian installation identifier, available from the Atlassian administration console.
The CSRF state token echoed back from the OAuth redirect.
The Bitbucket workspace slug that identifies the workspace to integrate.