CfnConnectorProps
- class aws_cdk.aws_inspectorv2.CfnConnectorProps(*, name, provider, provider_configuration, description=None, tags=None)
Bases:
objectProperties 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:
- 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.
- name
Display name for the connector.
- provider
-
- Type:
see
- provider_configuration
-
- Type:
see
- tags
Tags to apply to the connector.