Interface CfnConnectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:11.677Z")
@Stability(Stable)
public interface CfnConnectorProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.inspectorv2.*;
CfnConnectorProps cfnConnectorProps = CfnConnectorProps.builder()
.name("name")
.provider("provider")
.providerConfiguration(ProviderConfigurationProperty.builder()
.azure(AzureProviderConfigurationProperty.builder()
.awsConfigConnectorArn("awsConfigConnectorArn")
.azureRegions(List.of("azureRegions"))
.scopeConfiguration(AzureScopeConfigurationMapProperty.builder()
.containerImageScanning(ScopeConfigurationProperty.builder()
.scopeType("scopeType")
// the properties below are optional
.scopeValues(List.of("scopeValues"))
.state("state")
.stateReason("stateReason")
.build())
.serverlessScanning(ScopeConfigurationProperty.builder()
.scopeType("scopeType")
// the properties below are optional
.scopeValues(List.of("scopeValues"))
.state("state")
.stateReason("stateReason")
.build())
.vmScanning(ScopeConfigurationProperty.builder()
.scopeType("scopeType")
// the properties below are optional
.scopeValues(List.of("scopeValues"))
.state("state")
.stateReason("stateReason")
.build())
.build())
// the properties below are optional
.autoInstallVmScanner(false)
.build())
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorPropsstatic final classAn implementation forCfnConnectorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConnectorProps.Builderbuilder()default StringOptional description of the connector.getName()Display name for the connector.Returns union: eitherIResolvableorCfnConnector.ProviderConfigurationPropertygetTags()Tags to apply to the connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Display name for the connector.- See Also:
-
getProvider
- See Also:
-
getProviderConfiguration
Returns union: eitherIResolvableorCfnConnector.ProviderConfigurationProperty- See Also:
-
getDescription
Optional description of the connector.- See Also:
-
getTags
Tags to apply to the connector.- See Also:
-
builder
- Returns:
- a
CfnConnectorProps.BuilderofCfnConnectorProps
-