We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::SecurityAgent::Integration. Creates a connection between Security Agent and a third-party provider for code review and remediation.
Create Integration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);@overload
def Integration(resource_name: str,
args: IntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Integration(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
provider: Optional[IntegrationProviderEnum] = None,
kms_key_id: Optional[str] = None,
private_connection_name: Optional[str] = None,
provider_input: Optional[IntegrationProviderInputArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
public Integration(String name, IntegrationArgs args)
public Integration(String name, IntegrationArgs args, CustomResourceOptions options)
type: aws-native:securityagent:Integration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_securityagent_integration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Integration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Integration resource accepts the following input properties:
- Display
Name string - The display name for the integration.
- Provider
Pulumi.
Aws Native. Security Agent. Integration Provider Enum - The integration provider.
- Kms
Key stringId - 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.
- Private
Connection stringName - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- Provider
Input Pulumi.Aws Native. Security Agent. Inputs. Integration Provider Input -
List<Pulumi.
Aws Native. Inputs. Tag> - The tags to associate with the integration.
- Display
Name string - The display name for the integration.
- Provider
Integration
Provider Enum - The integration provider.
- Kms
Key stringId - 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.
- Private
Connection stringName - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- Provider
Input IntegrationProvider Input Args -
Tag
Args - The tags to associate with the integration.
- display_
name string - The display name for the integration.
- provider "GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"
- The integration provider.
- kms_
key_ stringid - 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.
- private_
connection_ stringname - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- provider_
input object - list(object)
- The tags to associate with the integration.
- display
Name String - The display name for the integration.
- provider
Integration
Provider Enum - The integration provider.
- kms
Key StringId - 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.
- private
Connection StringName - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- provider
Input IntegrationProvider Input - List<Tag>
- The tags to associate with the integration.
- display
Name string - The display name for the integration.
- provider
Integration
Provider Enum - The integration provider.
- kms
Key stringId - 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.
- private
Connection stringName - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- provider
Input IntegrationProvider Input - Tag[]
- The tags to associate with the integration.
- display_
name str - The display name for the integration.
- provider
Integration
Provider Enum - The integration provider.
- kms_
key_ strid - 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.
- private_
connection_ strname - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- provider_
input IntegrationProvider Input Args -
Sequence[Tag
Args] - The tags to associate with the integration.
- display
Name String - The display name for the integration.
- provider "GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"
- The integration provider.
- kms
Key StringId - 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.
- private
Connection StringName - The name of an active private connection used to reach a self-hosted provider instance over private networking.
- provider
Input Property Map - List<Property Map>
- The tags to associate with the integration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the integration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installation
Id string - The installation identifier from the integration provider.
- Integration
Id string - The unique identifier of the integration.
- Provider
Type Pulumi.Aws Native. Security Agent. Integration Provider Type - The type of the integration provider.
- Target
Url string - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- Arn string
- The Amazon Resource Name (ARN) of the integration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installation
Id string - The installation identifier from the integration provider.
- Integration
Id string - The unique identifier of the integration.
- Provider
Type IntegrationProvider Type - The type of the integration provider.
- Target
Url string - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- arn string
- The Amazon Resource Name (ARN) of the integration.
- id string
- The provider-assigned unique ID for this managed resource.
- installation_
id string - The installation identifier from the integration provider.
- integration_
id string - The unique identifier of the integration.
- provider_
type "SOURCE_CODE" | "DOCUMENTATION" - The type of the integration provider.
- target_
url string - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- arn String
- The Amazon Resource Name (ARN) of the integration.
- id String
- The provider-assigned unique ID for this managed resource.
- installation
Id String - The installation identifier from the integration provider.
- integration
Id String - The unique identifier of the integration.
- provider
Type IntegrationProvider Type - The type of the integration provider.
- target
Url String - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- arn string
- The Amazon Resource Name (ARN) of the integration.
- id string
- The provider-assigned unique ID for this managed resource.
- installation
Id string - The installation identifier from the integration provider.
- integration
Id string - The unique identifier of the integration.
- provider
Type IntegrationProvider Type - The type of the integration provider.
- target
Url string - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- arn str
- The Amazon Resource Name (ARN) of the integration.
- id str
- The provider-assigned unique ID for this managed resource.
- installation_
id str - The installation identifier from the integration provider.
- integration_
id str - The unique identifier of the integration.
- provider_
type IntegrationProvider Type - The type of the integration provider.
- target_
url str - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
- arn String
- The Amazon Resource Name (ARN) of the integration.
- id String
- The provider-assigned unique ID for this managed resource.
- installation
Id String - The installation identifier from the integration provider.
- integration
Id String - The unique identifier of the integration.
- provider
Type "SOURCE_CODE" | "DOCUMENTATION" - The type of the integration provider.
- target
Url String - The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
Look up Existing Integration Resource
Get an existing Integration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Integration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Integrationfunc GetIntegration(ctx *Context, name string, id IDInput, state *IntegrationState, opts ...ResourceOption) (*Integration, error)public static Integration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Integration get(String name, Output<String> id, CustomResourceOptions options)resources: existingIntegration: type: aws-native:securityagent:Integration get: id: ${id}import {
to = aws-native_securityagent_integration.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state IntegrationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
IntegrationBitbucketInput, IntegrationBitbucketInputArgs
The input required to create a Bitbucket integration.
- Code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- Installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- State string
- The CSRF state token echoed back from the OAuth redirect.
- Workspace string
- The Bitbucket workspace slug that identifies the workspace to integrate.
- Code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- Installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- State string
- The CSRF state token echoed back from the OAuth redirect.
- Workspace string
- The Bitbucket workspace slug that identifies the workspace to integrate.
- code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation_
id string - The Atlassian installation identifier, available from the Atlassian administration console.
- state string
- The CSRF state token echoed back from the OAuth redirect.
- workspace string
- The Bitbucket workspace slug that identifies the workspace to integrate.
- code String
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id String - The Atlassian installation identifier, available from the Atlassian administration console.
- state String
- The CSRF state token echoed back from the OAuth redirect.
- workspace String
- The Bitbucket workspace slug that identifies the workspace to integrate.
- code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- state string
- The CSRF state token echoed back from the OAuth redirect.
- workspace string
- The Bitbucket workspace slug that identifies the workspace to integrate.
- code str
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation_
id str - The Atlassian installation identifier, available from the Atlassian administration console.
- state str
- The CSRF state token echoed back from the OAuth redirect.
- workspace str
- The Bitbucket workspace slug that identifies the workspace to integrate.
- code String
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id String - The Atlassian installation identifier, available from the Atlassian administration console.
- state String
- The CSRF state token echoed back from the OAuth redirect.
- workspace String
- The Bitbucket workspace slug that identifies the workspace to integrate.
IntegrationConfluenceInput, IntegrationConfluenceInputArgs
The input required to create a Confluence integration.
- Code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- Installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- Site
Url string - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- State string
- The CSRF state token echoed back from the OAuth redirect.
- Code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- Installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- Site
Url string - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- State string
- The CSRF state token echoed back from the OAuth redirect.
- code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation_
id string - The Atlassian installation identifier, available from the Atlassian administration console.
- site_
url string - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state string
- The CSRF state token echoed back from the OAuth redirect.
- code String
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id String - The Atlassian installation identifier, available from the Atlassian administration console.
- site
Url String - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state String
- The CSRF state token echoed back from the OAuth redirect.
- code string
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id string - The Atlassian installation identifier, available from the Atlassian administration console.
- site
Url string - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state string
- The CSRF state token echoed back from the OAuth redirect.
- code str
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation_
id str - The Atlassian installation identifier, available from the Atlassian administration console.
- site_
url str - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state str
- The CSRF state token echoed back from the OAuth redirect.
- code String
- The OAuth 2.0 authorization code returned from the consent redirect.
- installation
Id String - The Atlassian installation identifier, available from the Atlassian administration console.
- site
Url String - The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state String
- The CSRF state token echoed back from the OAuth redirect.
IntegrationGitHubInput, IntegrationGitHubInputArgs
The input required to create a GitHub integration.
- Code string
- The OAuth authorization code received from GitHub.
- State string
- The CSRF state token for validating the OAuth flow.
- Installation
Id string - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- Organization
Name string - The name of the GitHub organization to integrate with.
- Target
Url string - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- Code string
- The OAuth authorization code received from GitHub.
- State string
- The CSRF state token for validating the OAuth flow.
- Installation
Id string - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- Organization
Name string - The name of the GitHub organization to integrate with.
- Target
Url string - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- code string
- The OAuth authorization code received from GitHub.
- state string
- The CSRF state token for validating the OAuth flow.
- installation_
id string - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organization_
name string - The name of the GitHub organization to integrate with.
- target_
url string - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- code String
- The OAuth authorization code received from GitHub.
- state String
- The CSRF state token for validating the OAuth flow.
- installation
Id String - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organization
Name String - The name of the GitHub organization to integrate with.
- target
Url String - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- code string
- The OAuth authorization code received from GitHub.
- state string
- The CSRF state token for validating the OAuth flow.
- installation
Id string - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organization
Name string - The name of the GitHub organization to integrate with.
- target
Url string - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- code str
- The OAuth authorization code received from GitHub.
- state str
- The CSRF state token for validating the OAuth flow.
- installation_
id str - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organization_
name str - The name of the GitHub organization to integrate with.
- target_
url str - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- code String
- The OAuth authorization code received from GitHub.
- state String
- The CSRF state token for validating the OAuth flow.
- installation
Id String - The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organization
Name String - The name of the GitHub organization to integrate with.
- target
Url String - The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
IntegrationGitLabInput, IntegrationGitLabInputArgs
The input required to create a GitLab integration.
- Access
Token string - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- Token
Type Pulumi.Aws Native. Security Agent. Integration Git Lab Input Token Type - The type of GitLab access token.
- Group
Id string - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- Target
Url string - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- Access
Token string - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- Token
Type IntegrationGit Lab Input Token Type - The type of GitLab access token.
- Group
Id string - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- Target
Url string - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- access_
token string - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- token_
type "PERSONAL" | "GROUP" - The type of GitLab access token.
- group_
id string - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- target_
url string - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- access
Token String - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- token
Type IntegrationGit Lab Input Token Type - The type of GitLab access token.
- group
Id String - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- target
Url String - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- access
Token string - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- token
Type IntegrationGit Lab Input Token Type - The type of GitLab access token.
- group
Id string - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- target
Url string - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- access_
token str - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- token_
type IntegrationGit Lab Input Token Type - The type of GitLab access token.
- group_
id str - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- target_
url str - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- access
Token String - The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- token
Type "PERSONAL" | "GROUP" - The type of GitLab access token.
- group
Id String - The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- target
Url String - The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
IntegrationGitLabInputTokenType
The type of GitLab access token.
| Name | Value |
|---|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|---|
| Integration | PERSONAL |
| Integration | GROUP |
| Value |
|---|
PERSONAL |
GROUP |
| Name | Value |
|---|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|---|
| PERSONAL | PERSONAL |
| GROUP | GROUP |
| Value |
|---|
PERSONAL |
GROUP |
IntegrationProviderEnum
The integration provider.
| Name | Value |
|---|---|
| Github | GITHUB |
| Gitlab | GITLAB |
| Bitbucket | BITBUCKET |
| Confluence | CONFLUENCE |
| Name | Value |
|---|---|
| Integration | GITHUB |
| Integration | GITLAB |
| Integration | BITBUCKET |
| Integration | CONFLUENCE |
| Value |
|---|
GITHUB |
GITLAB |
BITBUCKET |
CONFLUENCE |
| Name | Value |
|---|---|
| Github | GITHUB |
| Gitlab | GITLAB |
| Bitbucket | BITBUCKET |
| Confluence | CONFLUENCE |
| Name | Value |
|---|---|
| Github | GITHUB |
| Gitlab | GITLAB |
| Bitbucket | BITBUCKET |
| Confluence | CONFLUENCE |
| Name | Value |
|---|---|
| GITHUB | GITHUB |
| GITLAB | GITLAB |
| BITBUCKET | BITBUCKET |
| CONFLUENCE | CONFLUENCE |
| Value |
|---|
GITHUB |
GITLAB |
BITBUCKET |
CONFLUENCE |
IntegrationProviderInput, IntegrationProviderInputArgs
The provider-specific input required to create the integration. Exactly one of the provider input objects must be specified.
IntegrationProviderType
The type of the integration provider.
| Name | Value |
|---|---|
| Source | SOURCE_CODE |
| Documentation | DOCUMENTATION |
| Name | Value |
|---|---|
| Integration | SOURCE_CODE |
| Integration | DOCUMENTATION |
| Value |
|---|
SOURCE_CODE |
DOCUMENTATION |
| Name | Value |
|---|---|
| Source | SOURCE_CODE |
| Documentation | DOCUMENTATION |
| Name | Value |
|---|---|
| Source | SOURCE_CODE |
| Documentation | DOCUMENTATION |
| Name | Value |
|---|---|
| SOURCE_CODE | SOURCE_CODE |
| DOCUMENTATION | DOCUMENTATION |
| Value |
|---|
SOURCE_CODE |
DOCUMENTATION |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi