CfnConnectorProps

class aws_cdk.aws_inspectorv2.CfnConnectorProps(*, name, provider, provider_configuration, description=None, tags=None)

Bases: object

Properties for defining a CfnConnector.

Parameters:
  • name (str) – Display name for the connector.

  • provider (str)

  • provider_configuration (Union[IResolvable, ProviderConfigurationProperty, Dict[str, Any]])

  • description (Optional[str]) – Optional description of the connector.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to apply to the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_inspectorv2 as inspectorv2

cfn_connector_props = inspectorv2.CfnConnectorProps(
    name="name",
    provider="provider",
    provider_configuration=inspectorv2.CfnConnector.ProviderConfigurationProperty(
        azure=inspectorv2.CfnConnector.AzureProviderConfigurationProperty(
            aws_config_connector_arn="awsConfigConnectorArn",
            azure_regions=["azureRegions"],
            scope_configuration=inspectorv2.CfnConnector.AzureScopeConfigurationMapProperty(
                container_image_scanning=inspectorv2.CfnConnector.ScopeConfigurationProperty(
                    scope_type="scopeType",

                    # the properties below are optional
                    scope_values=["scopeValues"],
                    state="state",
                    state_reason="stateReason"
                ),
                serverless_scanning=inspectorv2.CfnConnector.ScopeConfigurationProperty(
                    scope_type="scopeType",

                    # the properties below are optional
                    scope_values=["scopeValues"],
                    state="state",
                    state_reason="stateReason"
                ),
                vm_scanning=inspectorv2.CfnConnector.ScopeConfigurationProperty(
                    scope_type="scopeType",

                    # the properties below are optional
                    scope_values=["scopeValues"],
                    state="state",
                    state_reason="stateReason"
                )
            ),

            # the properties below are optional
            auto_install_vm_scanner=False
        )
    ),

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

Optional description of the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html#cfn-inspectorv2-connector-description

name

Display name for the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html#cfn-inspectorv2-connector-name

provider

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html#cfn-inspectorv2-connector-provider

Type:

see

provider_configuration

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html#cfn-inspectorv2-connector-providerconfiguration

Type:

see

tags

Tags to apply to the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-connector.html#cfn-inspectorv2-connector-tags