1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. inspectorv2
  5. CodeSecurityIntegration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.inspectorv2.CodeSecurityIntegration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Inspector CodeSecurityIntegration resource schema

    Create CodeSecurityIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CodeSecurityIntegration(name: string, args?: CodeSecurityIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def CodeSecurityIntegration(resource_name: str,
                                args: Optional[CodeSecurityIntegrationArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeSecurityIntegration(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                create_integration_details: Optional[CodeSecurityIntegrationCreateDetailsArgs] = None,
                                name: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                type: Optional[CodeSecurityIntegrationIntegrationType] = None,
                                update_integration_details: Optional[CodeSecurityIntegrationUpdateDetailsArgs] = None)
    func NewCodeSecurityIntegration(ctx *Context, name string, args *CodeSecurityIntegrationArgs, opts ...ResourceOption) (*CodeSecurityIntegration, error)
    public CodeSecurityIntegration(string name, CodeSecurityIntegrationArgs? args = null, CustomResourceOptions? opts = null)
    public CodeSecurityIntegration(String name, CodeSecurityIntegrationArgs args)
    public CodeSecurityIntegration(String name, CodeSecurityIntegrationArgs args, CustomResourceOptions options)
    
    type: aws-native:inspectorv2:CodeSecurityIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeSecurityIntegrationArgs
    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 CodeSecurityIntegrationArgs
    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 CodeSecurityIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeSecurityIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeSecurityIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CodeSecurityIntegration 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 CodeSecurityIntegration resource accepts the following input properties:

    CreateIntegrationDetails Pulumi.AwsNative.InspectorV2.Inputs.CodeSecurityIntegrationCreateDetails
    Create Integration Details
    Name string
    Code Security Integration name
    Tags Dictionary<string, string>
    The tags to apply to the code security integration.
    Type Pulumi.AwsNative.InspectorV2.CodeSecurityIntegrationIntegrationType
    Integration Type
    UpdateIntegrationDetails Pulumi.AwsNative.InspectorV2.Inputs.CodeSecurityIntegrationUpdateDetails
    Update Integration Details
    CreateIntegrationDetails CodeSecurityIntegrationCreateDetailsArgs
    Create Integration Details
    Name string
    Code Security Integration name
    Tags map[string]string
    The tags to apply to the code security integration.
    Type CodeSecurityIntegrationIntegrationType
    Integration Type
    UpdateIntegrationDetails CodeSecurityIntegrationUpdateDetailsArgs
    Update Integration Details
    createIntegrationDetails CodeSecurityIntegrationCreateDetails
    Create Integration Details
    name String
    Code Security Integration name
    tags Map<String,String>
    The tags to apply to the code security integration.
    type CodeSecurityIntegrationIntegrationType
    Integration Type
    updateIntegrationDetails CodeSecurityIntegrationUpdateDetails
    Update Integration Details
    createIntegrationDetails CodeSecurityIntegrationCreateDetails
    Create Integration Details
    name string
    Code Security Integration name
    tags {[key: string]: string}
    The tags to apply to the code security integration.
    type CodeSecurityIntegrationIntegrationType
    Integration Type
    updateIntegrationDetails CodeSecurityIntegrationUpdateDetails
    Update Integration Details
    create_integration_details CodeSecurityIntegrationCreateDetailsArgs
    Create Integration Details
    name str
    Code Security Integration name
    tags Mapping[str, str]
    The tags to apply to the code security integration.
    type CodeSecurityIntegrationIntegrationType
    Integration Type
    update_integration_details CodeSecurityIntegrationUpdateDetailsArgs
    Update Integration Details
    createIntegrationDetails Property Map
    Create Integration Details
    name String
    Code Security Integration name
    tags Map<String>
    The tags to apply to the code security integration.
    type "GITLAB_SELF_MANAGED" | "GITHUB"
    Integration Type
    updateIntegrationDetails Property Map
    Update Integration Details

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CodeSecurityIntegration resource produces the following output properties:

    Arn string
    Code Security Integration ARN
    AuthorizationUrl string
    Authorization URL for OAuth flow
    CreatedAt string
    Creation timestamp
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Last update timestamp
    Status Pulumi.AwsNative.InspectorV2.CodeSecurityIntegrationIntegrationStatus
    Integration Status
    StatusReason string
    Reason for the current status
    Arn string
    Code Security Integration ARN
    AuthorizationUrl string
    Authorization URL for OAuth flow
    CreatedAt string
    Creation timestamp
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Last update timestamp
    Status CodeSecurityIntegrationIntegrationStatus
    Integration Status
    StatusReason string
    Reason for the current status
    arn String
    Code Security Integration ARN
    authorizationUrl String
    Authorization URL for OAuth flow
    createdAt String
    Creation timestamp
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    Last update timestamp
    status CodeSecurityIntegrationIntegrationStatus
    Integration Status
    statusReason String
    Reason for the current status
    arn string
    Code Security Integration ARN
    authorizationUrl string
    Authorization URL for OAuth flow
    createdAt string
    Creation timestamp
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    Last update timestamp
    status CodeSecurityIntegrationIntegrationStatus
    Integration Status
    statusReason string
    Reason for the current status
    arn str
    Code Security Integration ARN
    authorization_url str
    Authorization URL for OAuth flow
    created_at str
    Creation timestamp
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_at str
    Last update timestamp
    status CodeSecurityIntegrationIntegrationStatus
    Integration Status
    status_reason str
    Reason for the current status
    arn String
    Code Security Integration ARN
    authorizationUrl String
    Authorization URL for OAuth flow
    createdAt String
    Creation timestamp
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    Last update timestamp
    status "PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING"
    Integration Status
    statusReason String
    Reason for the current status

    Supporting Types

    CodeSecurityIntegrationCreateDetails, CodeSecurityIntegrationCreateDetailsArgs

    GitlabSelfManaged Pulumi.AwsNative.InspectorV2.Inputs.CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail
    Details specific to creating an integration with a self-managed GitLab instance.
    GitlabSelfManaged CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail
    Details specific to creating an integration with a self-managed GitLab instance.
    gitlabSelfManaged CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail
    Details specific to creating an integration with a self-managed GitLab instance.
    gitlabSelfManaged CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail
    Details specific to creating an integration with a self-managed GitLab instance.
    gitlab_self_managed CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail
    Details specific to creating an integration with a self-managed GitLab instance.
    gitlabSelfManaged Property Map
    Details specific to creating an integration with a self-managed GitLab instance.

    CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetail, CodeSecurityIntegrationCreateGitLabSelfManagedIntegrationDetailArgs

    AccessToken string
    The personal access token used to authenticate with the self-managed GitLab instance.
    InstanceUrl string
    The URL of the self-managed GitLab instance.
    AccessToken string
    The personal access token used to authenticate with the self-managed GitLab instance.
    InstanceUrl string
    The URL of the self-managed GitLab instance.
    accessToken String
    The personal access token used to authenticate with the self-managed GitLab instance.
    instanceUrl String
    The URL of the self-managed GitLab instance.
    accessToken string
    The personal access token used to authenticate with the self-managed GitLab instance.
    instanceUrl string
    The URL of the self-managed GitLab instance.
    access_token str
    The personal access token used to authenticate with the self-managed GitLab instance.
    instance_url str
    The URL of the self-managed GitLab instance.
    accessToken String
    The personal access token used to authenticate with the self-managed GitLab instance.
    instanceUrl String
    The URL of the self-managed GitLab instance.

    CodeSecurityIntegrationIntegrationStatus, CodeSecurityIntegrationIntegrationStatusArgs

    Pending
    PENDING
    InProgress
    IN_PROGRESS
    Active
    ACTIVE
    Inactive
    INACTIVE
    Disabling
    DISABLING
    CodeSecurityIntegrationIntegrationStatusPending
    PENDING
    CodeSecurityIntegrationIntegrationStatusInProgress
    IN_PROGRESS
    CodeSecurityIntegrationIntegrationStatusActive
    ACTIVE
    CodeSecurityIntegrationIntegrationStatusInactive
    INACTIVE
    CodeSecurityIntegrationIntegrationStatusDisabling
    DISABLING
    Pending
    PENDING
    InProgress
    IN_PROGRESS
    Active
    ACTIVE
    Inactive
    INACTIVE
    Disabling
    DISABLING
    Pending
    PENDING
    InProgress
    IN_PROGRESS
    Active
    ACTIVE
    Inactive
    INACTIVE
    Disabling
    DISABLING
    PENDING
    PENDING
    IN_PROGRESS
    IN_PROGRESS
    ACTIVE
    ACTIVE
    INACTIVE
    INACTIVE
    DISABLING
    DISABLING
    "PENDING"
    PENDING
    "IN_PROGRESS"
    IN_PROGRESS
    "ACTIVE"
    ACTIVE
    "INACTIVE"
    INACTIVE
    "DISABLING"
    DISABLING

    CodeSecurityIntegrationIntegrationType, CodeSecurityIntegrationIntegrationTypeArgs

    GitlabSelfManaged
    GITLAB_SELF_MANAGED
    Github
    GITHUB
    CodeSecurityIntegrationIntegrationTypeGitlabSelfManaged
    GITLAB_SELF_MANAGED
    CodeSecurityIntegrationIntegrationTypeGithub
    GITHUB
    GitlabSelfManaged
    GITLAB_SELF_MANAGED
    Github
    GITHUB
    GitlabSelfManaged
    GITLAB_SELF_MANAGED
    Github
    GITHUB
    GITLAB_SELF_MANAGED
    GITLAB_SELF_MANAGED
    GITHUB
    GITHUB
    "GITLAB_SELF_MANAGED"
    GITLAB_SELF_MANAGED
    "GITHUB"
    GITHUB

    CodeSecurityIntegrationUpdateDetails, CodeSecurityIntegrationUpdateDetailsArgs

    Github CodeSecurityIntegrationUpdateGitHubIntegrationDetail
    Details specific to updating an integration with GitHub.
    GitlabSelfManaged CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetail
    Details specific to updating an integration with a self-managed GitLab instance.
    github CodeSecurityIntegrationUpdateGitHubIntegrationDetail
    Details specific to updating an integration with GitHub.
    gitlabSelfManaged CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetail
    Details specific to updating an integration with a self-managed GitLab instance.
    github CodeSecurityIntegrationUpdateGitHubIntegrationDetail
    Details specific to updating an integration with GitHub.
    gitlabSelfManaged CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetail
    Details specific to updating an integration with a self-managed GitLab instance.
    github CodeSecurityIntegrationUpdateGitHubIntegrationDetail
    Details specific to updating an integration with GitHub.
    gitlab_self_managed CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetail
    Details specific to updating an integration with a self-managed GitLab instance.
    github Property Map
    Details specific to updating an integration with GitHub.
    gitlabSelfManaged Property Map
    Details specific to updating an integration with a self-managed GitLab instance.

    CodeSecurityIntegrationUpdateGitHubIntegrationDetail, CodeSecurityIntegrationUpdateGitHubIntegrationDetailArgs

    Code string
    The authorization code received from GitHub to update the integration.
    InstallationId string
    The installation ID of the GitHub App associated with the integration.
    Code string
    The authorization code received from GitHub to update the integration.
    InstallationId string
    The installation ID of the GitHub App associated with the integration.
    code String
    The authorization code received from GitHub to update the integration.
    installationId String
    The installation ID of the GitHub App associated with the integration.
    code string
    The authorization code received from GitHub to update the integration.
    installationId string
    The installation ID of the GitHub App associated with the integration.
    code str
    The authorization code received from GitHub to update the integration.
    installation_id str
    The installation ID of the GitHub App associated with the integration.
    code String
    The authorization code received from GitHub to update the integration.
    installationId String
    The installation ID of the GitHub App associated with the integration.

    CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetail, CodeSecurityIntegrationUpdateGitLabSelfManagedIntegrationDetailArgs

    AuthCode string
    The authorization code received from the self-managed GitLab instance to update the integration.
    AuthCode string
    The authorization code received from the self-managed GitLab instance to update the integration.
    authCode String
    The authorization code received from the self-managed GitLab instance to update the integration.
    authCode string
    The authorization code received from the self-managed GitLab instance to update the integration.
    auth_code str
    The authorization code received from the self-managed GitLab instance to update the integration.
    authCode String
    The authorization code received from the self-managed GitLab instance to update the integration.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi