interface CfnConnectorProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.InspectorV2.CfnConnectorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsinspectorv2#CfnConnectorProps |
Java | software.amazon.awscdk.services.inspectorv2.CfnConnectorProps |
Python | aws_cdk.aws_inspectorv2.CfnConnectorProps |
TypeScript | aws-cdk-lib » aws_inspectorv2 » CfnConnectorProps |
Properties for defining a CfnConnector.
Example
// 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
| Name | Type | Description |
|---|---|---|
| name | string | Display name for the connector. |
| provider | string | |
| provider | IResolvable | Provider | |
| description? | string | Optional description of the connector. |
| tags? | Cfn[] | Tags to apply to the connector. |
name
Type:
string
Display name for the connector.
provider
Type:
string
providerConfiguration
Type:
IResolvable | Provider
description?
Type:
string
(optional)
Optional description of the connector.
tags?
Type:
Cfn[]
(optional)
Tags to apply to the connector.

.NET
Go
Java
Python
TypeScript