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
@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)
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
- 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.
- 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.
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:
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.
- InstallationId
string
- The installation identifier from the integration provider.
- IntegrationId
string
- The unique identifier of the integration.
- ProviderType
Pulumi.AwsNative.SecurityAgent.IntegrationProviderType
- The type of the integration provider.
- TargetUrl
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.
- InstallationId
string
- The installation identifier from the integration provider.
- IntegrationId
string
- The unique identifier of the integration.
- ProviderType
IntegrationProviderType
- The type of the integration provider.
- TargetUrl
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.
- installationId
String
- The installation identifier from the integration provider.
- integrationId
String
- The unique identifier of the integration.
- providerType
IntegrationProviderType
- The type of the integration provider.
- targetUrl
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.
- installationId
string
- The installation identifier from the integration provider.
- integrationId
string
- The unique identifier of the integration.
- providerType
IntegrationProviderType
- The type of the integration provider.
- targetUrl
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
IntegrationProviderType
- 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.
- installationId
String
- The installation identifier from the integration provider.
- integrationId
String
- The unique identifier of the integration.
- providerType
"SOURCE_CODE" | "DOCUMENTATION"
- The type of the integration provider.
- targetUrl
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.
Supporting Types
The input required to create a Bitbucket integration.- Code
string
- The OAuth 2.0 authorization code returned from the consent redirect.
- InstallationId
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.
- InstallationId
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.
- installationId
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.
- installationId
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.
- installationId
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.
The input required to create a Confluence integration.- Code
string
- The OAuth 2.0 authorization code returned from the consent redirect.
- InstallationId
string
- The Atlassian installation identifier, available from the Atlassian administration console.
- SiteUrl
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.
- InstallationId
string
- The Atlassian installation identifier, available from the Atlassian administration console.
- SiteUrl
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.
- installationId
String
- The Atlassian installation identifier, available from the Atlassian administration console.
- siteUrl
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.
- installationId
string
- The Atlassian installation identifier, available from the Atlassian administration console.
- siteUrl
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.
- installationId
String
- The Atlassian installation identifier, available from the Atlassian administration console.
- siteUrl
String
- The Confluence Cloud site URL, for example https://mysite.atlassian.net.
- state
String
- The CSRF state token echoed back from the OAuth redirect.
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.
- InstallationId
string
- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- OrganizationName
string
- The name of the GitHub organization to integrate with.
- TargetUrl
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.
- InstallationId
string
- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- OrganizationName
string
- The name of the GitHub organization to integrate with.
- TargetUrl
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.
- installationId
String
- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organizationName
String
- The name of the GitHub organization to integrate with.
- targetUrl
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.
- installationId
string
- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organizationName
string
- The name of the GitHub organization to integrate with.
- targetUrl
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.
- installationId
String
- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- organizationName
String
- The name of the GitHub organization to integrate with.
- targetUrl
String
- The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
The input required to create a GitLab integration.- AccessToken
string
- The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- TokenType
IntegrationGitLabInputTokenType
- The type of GitLab access token.
- GroupId
string
- The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- TargetUrl
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).
- accessToken
String
- The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- tokenType
IntegrationGitLabInputTokenType
- The type of GitLab access token.
- groupId
String
- The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- targetUrl
String
- The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
- accessToken
string
- The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- tokenType
IntegrationGitLabInputTokenType
- The type of GitLab access token.
- groupId
string
- The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- targetUrl
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
IntegrationGitLabInputTokenType
- 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).
- accessToken
String
- The GitLab access token used to authenticate. This can be a personal access token or a group access token.
- tokenType
"PERSONAL" | "GROUP"
- The type of GitLab access token.
- groupId
String
- The identifier of the GitLab group. Required when TokenType is GROUP and ignored for personal tokens.
- targetUrl
String
- The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).
| Name | Value |
|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|
| IntegrationGitLabInputTokenTypePersonal | PERSONAL |
| IntegrationGitLabInputTokenTypeGroup | GROUP |
| Name | Value |
|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|
| Personal | PERSONAL |
| Group | GROUP |
| Name | Value |
|---|
| PERSONAL | PERSONAL |
| GROUP | GROUP |
IntegrationProviderEnum, IntegrationProviderEnumArgs
| Name | Value |
|---|
| Github | GITHUB |
| Gitlab | GITLAB |
| Bitbucket | BITBUCKET |
| Confluence | CONFLUENCE |
| Name | Value |
|---|
| IntegrationProviderEnumGithub | GITHUB |
| IntegrationProviderEnumGitlab | GITLAB |
| IntegrationProviderEnumBitbucket | BITBUCKET |
| IntegrationProviderEnumConfluence | 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 |
The provider-specific input required to create the integration. Exactly one of the provider input objects must be specified.IntegrationProviderType, IntegrationProviderTypeArgs
| Name | Value |
|---|
| SourceCode | SOURCE_CODE |
| Documentation | DOCUMENTATION |
| Name | Value |
|---|
| IntegrationProviderTypeSourceCode | SOURCE_CODE |
| IntegrationProviderTypeDocumentation | DOCUMENTATION |
| Value |
|---|
SOURCE_CODE |
DOCUMENTATION |
| Name | Value |
|---|
| SourceCode | SOURCE_CODE |
| Documentation | DOCUMENTATION |
| Name | Value |
|---|
| SourceCode | 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.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0