inspector2:CreateConnector

Write

inspector2:CreateConnector is a Write access-level action in the inspector2 service. Grants permission to create a connector to scan resources from a third-party cloud provider

Resource types

ARNs that inspector2:CreateConnector can be scoped to in an IAM policy.

arn:${Partition}:inspector2:${Region}:${Account}:connector/${ConnectorId}
Connector

Condition keys

Keys you can use in the Condition block of a policy that grants inspector2:CreateConnector.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows inspector2:CreateConnector. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowInspector2CreateConnector",
      "Effect": "Allow",
      "Action": "inspector2:CreateConnector",
      "Resource": "*"
    }
  ]
}

Related actions in inspector2

View all inspector2 actions →