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
Optional description of the connector.
Display name for the connector.
providerConfigurationIResolvable | CfnConnector.ProviderConfigurationPropertyprovider_configurationtyping.Union[IResolvable, ProviderConfigurationProperty]providerConfigurationIResolvableProviderConfigurationIResolvableProviderConfigurationinterface{}required#