ProviderInputProperty Struct
The provider-specific input required to create the integration.
Exactly one of the provider input objects must be specified.
| 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 providerInputProperty: securityagent.CfnIntegration.ProviderInputProperty = {
bitbucket: {
code: 'code',
installationId: 'installationId',
state: 'state',
workspace: 'workspace',
},
confluence: {
code: 'code',
installationId: 'installationId',
siteUrl: 'siteUrl',
state: 'state',
},
github: {
code: 'code',
state: 'state',
// the properties below are optional
installationId: 'installationId',
organizationName: 'organizationName',
targetUrl: 'targetUrl',
},
gitlab: {
accessToken: 'accessToken',
tokenType: 'tokenType',
// the properties below are optional
groupId: 'groupId',
targetUrl: 'targetUrl',
},
};
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
provider_input_property = securityagent.CfnIntegration.ProviderInputProperty(
bitbucket=securityagent.CfnIntegration.BitbucketInputProperty(
code="code",
installation_id="installationId",
state="state",
workspace="workspace"
),
confluence=securityagent.CfnIntegration.ConfluenceInputProperty(
code="code",
installation_id="installationId",
site_url="siteUrl",
state="state"
),
github=securityagent.CfnIntegration.GitHubInputProperty(
code="code",
state="state",
# the properties below are optional
installation_id="installationId",
organization_name="organizationName",
target_url="targetUrl"
),
gitlab=securityagent.CfnIntegration.GitLabInputProperty(
access_token="accessToken",
token_type="tokenType",
# the properties below are optional
group_id="groupId",
target_url="targetUrl"
)
)
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.*;
ProviderInputProperty providerInputProperty = ProviderInputProperty.builder()
.bitbucket(BitbucketInputProperty.builder()
.code("code")
.installationId("installationId")
.state("state")
.workspace("workspace")
.build())
.confluence(ConfluenceInputProperty.builder()
.code("code")
.installationId("installationId")
.siteUrl("siteUrl")
.state("state")
.build())
.github(GitHubInputProperty.builder()
.code("code")
.state("state")
// the properties below are optional
.installationId("installationId")
.organizationName("organizationName")
.targetUrl("targetUrl")
.build())
.gitlab(GitLabInputProperty.builder()
.accessToken("accessToken")
.tokenType("tokenType")
// the properties below are optional
.groupId("groupId")
.targetUrl("targetUrl")
.build())
.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 providerInputProperty = new ProviderInputProperty {
Bitbucket = new BitbucketInputProperty {
Code = "code",
InstallationId = "installationId",
State = "state",
Workspace = "workspace"
},
Confluence = new ConfluenceInputProperty {
Code = "code",
InstallationId = "installationId",
SiteUrl = "siteUrl",
State = "state"
},
Github = new GitHubInputProperty {
Code = "code",
State = "state",
// the properties below are optional
InstallationId = "installationId",
OrganizationName = "organizationName",
TargetUrl = "targetUrl"
},
Gitlab = new GitLabInputProperty {
AccessToken = "accessToken",
TokenType = "tokenType",
// the properties below are optional
GroupId = "groupId",
TargetUrl = "targetUrl"
}
};
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"
providerInputProperty := &ProviderInputProperty{
Bitbucket: &BitbucketInputProperty{
Code: jsii.String("code"),
InstallationId: jsii.String("installationId"),
State: jsii.String("state"),
Workspace: jsii.String("workspace"),
},
Confluence: &ConfluenceInputProperty{
Code: jsii.String("code"),
InstallationId: jsii.String("installationId"),
SiteUrl: jsii.String("siteUrl"),
State: jsii.String("state"),
},
Github: &GitHubInputProperty{
Code: jsii.String("code"),
State: jsii.String("state"),
// the properties below are optional
InstallationId: jsii.String("installationId"),
OrganizationName: jsii.String("organizationName"),
TargetUrl: jsii.String("targetUrl"),
},
Gitlab: &GitLabInputProperty{
AccessToken: jsii.String("accessToken"),
TokenType: jsii.String("tokenType"),
// the properties below are optional
GroupId: jsii.String("groupId"),
TargetUrl: jsii.String("targetUrl"),
},
}
Properties
bitbucketoptionalIResolvable | CfnIntegration.bitbucketoptionaltyping.Union[IResolvable, BitbucketInputProperty]bitbucketoptionalIResolvableBitbucketoptionalIResolvableBitbucketoptionalinterface{} #The input required to create a Bitbucket integration.
confluenceoptionalIResolvable | CfnIntegration.confluenceoptionaltyping.Union[IResolvable, ConfluenceInputProperty]confluenceoptionalIResolvableConfluenceoptionalIResolvableConfluenceoptionalinterface{} #The input required to create a Confluence integration.
githuboptionalIResolvable | CfnIntegration.githuboptionaltyping.Union[IResolvable, GitHubInputProperty]githuboptionalIResolvableGithuboptionalIResolvableGithuboptionalinterface{} #The input required to create a GitHub integration.
gitlaboptionalIResolvable | CfnIntegration.gitlaboptionaltyping.Union[IResolvable, GitLabInputProperty]gitlaboptionalIResolvableGitlaboptionalIResolvableGitlaboptionalinterface{} #The input required to create a GitLab integration.