CfnIntegrationProps Struct Added in v2.274.0
Properties for defining a CfnIntegration.
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 cfnIntegrationProps: securityagent.CfnIntegrationProps = {
displayName: 'displayName',
provider: 'provider',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
privateConnectionName: 'privateConnectionName',
providerInput: {
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',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The display name for the integration.
The identifier of the AWS KMS key to use for encrypting data associated with the integration.
Can be a key ID, key ARN, alias name, or alias ARN.
privateConnectionNamestringprivate_connection_namestrprivateConnectionNameStringPrivateConnectionNamestringPrivateConnectionName*string#The name of an active private connection used to reach a self-hosted provider instance over private networking.
The integration provider.
providerInputIResolvable | CfnIntegration.ProviderInputPropertyprovider_inputtyping.Union[IResolvable, ProviderInputProperty]providerInputIResolvableProviderInputIResolvableProviderInputinterface{}#The provider-specific input required to create the integration.
Exactly one of the provider input objects must be specified.