Skip to content
v2.273.0

CfnConnectorProps Struct ​

Properties for defining a CfnConnector.

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 ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
Optional description of the connector.
namestringnamestrnameStringNamestringName*stringrequired#
Display name for the connector.
providerstringproviderstrproviderStringProviderstringProvider*stringrequired#
providerConfigurationIResolvable | CfnConnector.ProviderConfigurationPropertyprovider_configurationtyping.Union[IResolvable, ProviderConfigurationProperty]providerConfigurationIResolvableProviderConfigurationIResolvableProviderConfigurationinterface{}required#
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
Tags to apply to the connector.

Used as props by ​