Skip to content

Create Connector V2

securityhub_create_connector_v2 R Documentation

Grants permission to create a connectorV2 based on input parameters

Description

Grants permission to create a connectorV2 based on input parameters.

Usage

securityhub_create_connector_v2(Name, Description, Provider, KmsKeyArn,
  Tags, ClientToken)

Arguments

Name

[required] The unique name of the connectorV2.

Description

The description of the connectorV2.

Provider

[required] The third-party provider’s service configuration.

KmsKeyArn

The Amazon Resource Name (ARN) of KMS key used to encrypt secrets for the connectorV2.

Tags

The tags to add to the connectorV2 when you create.

ClientToken

A unique identifier used to ensure idempotency.

Value

A list with the following syntax:

list(
  ConnectorArn = "string",
  ConnectorId = "string",
  AuthUrl = "string",
  ConnectorStatus = "CONNECTED"|"FAILED_TO_CONNECT"|"PENDING_CONFIGURATION"|"PENDING_AUTHORIZATION"
)

Request syntax

svc$create_connector_v2(
  Name = "string",
  Description = "string",
  Provider = list(
    JiraCloud = list(
      ProjectKey = "string"
    ),
    ServiceNow = list(
      InstanceName = "string",
      SecretArn = "string"
    )
  ),
  KmsKeyArn = "string",
  Tags = list(
    "string"
  ),
  ClientToken = "string"
)