Skip to content

Creates a connector that links an external cloud provider to Amazon Inspector for vulnerability scanning

Description

Creates a connector that links an external cloud provider to Amazon Inspector for vulnerability scanning.

Usage

inspector2_create_connector(clientToken, name, provider, description,
  providerDetail, tags)

Arguments

  • clientToken

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.

  • name

[required] The name of the connector.

  • provider

[required] The cloud provider for the connector.

  • description

A description of the connector.

  • providerDetail

[required] The provider-specific configuration details for the connector.

  • tags

The tags to apply to the connector.

Value

A list with the following syntax:

list(
  connectorArn = "string"
)

Request syntax

svc$create_connector(
  clientToken = "string",
  name = "string",
  provider = "AZURE",
  description = "string",
  providerDetail = list(
    azure = list(
      awsConfigConnectorArn = "string",
      scopeConfiguration = list(
        vmScanning = list(
          scopeType = "TENANT"|"SUBSCRIPTION",
          scopeValues = list(
            "string"
          )
        ),
        containerImageScanning = list(
          scopeType = "TENANT"|"SUBSCRIPTION",
          scopeValues = list(
            "string"
          )
        ),
        serverlessScanning = list(
          scopeType = "TENANT"|"SUBSCRIPTION",
          scopeValues = list(
            "string"
          )
        )
      ),
      azureRegions = list(
        "string"
      ),
      autoInstallVMScanner = TRUE|FALSE
    )
  ),
  tags = list(
    "string"
  )
)