# CfnConnectorProps

Properties for defining a `CfnConnector`.

Extends: CfnConnectorProps
Used as props by: CfnConnector

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const cfnConnectorProps: inspectorv2.CfnConnectorProps = {
  name: 'name',
  provider: 'provider',
  providerConfiguration: {
    azure: {
      awsConfigConnectorArn: 'awsConfigConnectorArn',
      azureRegions: ['azureRegions'],
      scopeConfiguration: {
        containerImageScanning: {
          scopeType: 'scopeType',

          // the properties below are optional
          scopeValues: ['scopeValues'],
          state: 'state',
          stateReason: 'stateReason',
        },
        serverlessScanning: {
          scopeType: 'scopeType',

          // the properties below are optional
          scopeValues: ['scopeValues'],
          state: 'state',
          stateReason: 'stateReason',
        },
        vmScanning: {
          scopeType: 'scopeType',

          // the properties below are optional
          scopeValues: ['scopeValues'],
          state: 'state',
          stateReason: 'stateReason',
        },
      },

      // the properties below are optional
      autoInstallVmScanner: false,
    },
  },

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — Optional description of the connector.

- `name`: string (required) — Display name for the connector.

- `provider`: string (required)

- `providerConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnector.ProviderConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_inspectorv2.CfnConnector.ProviderConfigurationProperty.html) (required)

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to apply to the connector.
