1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. inspectorv2
  6. getConnector

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

    Creates and manages a multi-cloud connector for Amazon Inspector, enabling vulnerability scanning of Azure resources.

    Using getConnector

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
    function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOutputOptions): Output<GetConnectorResult>
    def get_connector(connector_arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetConnectorResult
    def get_connector_output(connector_arn: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetConnectorResult]
    func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
    func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput

    > Note: This function is named LookupConnector in the Go SDK.

    public static class GetConnector 
    {
        public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:inspectorv2:getConnector
      arguments:
        # arguments dictionary
    data "aws-native_inspectorv2_get_connector" "name" {
        # arguments
    }

    The following arguments are supported:

    ConnectorArn string
    The Amazon Resource Name (ARN) of the connector.
    ConnectorArn string
    The Amazon Resource Name (ARN) of the connector.
    connector_arn string
    The Amazon Resource Name (ARN) of the connector.
    connectorArn String
    The Amazon Resource Name (ARN) of the connector.
    connectorArn string
    The Amazon Resource Name (ARN) of the connector.
    connector_arn str
    The Amazon Resource Name (ARN) of the connector.
    connectorArn String
    The Amazon Resource Name (ARN) of the connector.

    getConnector Result

    The following output properties are available:

    ConnectorArn string
    The Amazon Resource Name (ARN) of the connector.
    CreatedAt string
    Timestamp when the connector was created.
    Description string
    Optional description of the connector.
    EnablementStatus Pulumi.AwsNative.InspectorV2.ConnectorState
    The enablement status of the connector.
    EnablementStatusReason string
    Reason for the current enablement status, if applicable.
    Health Pulumi.AwsNative.InspectorV2.Outputs.ConnectorHealth
    Health status of the connector.
    LastUpdatedAt string
    Timestamp when the connector was last updated.
    ProviderConfiguration Pulumi.AwsNative.InspectorV2.Outputs.ConnectorProviderConfiguration
    Provider-specific configuration including regions and scope.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to apply to the connector.
    ConnectorArn string
    The Amazon Resource Name (ARN) of the connector.
    CreatedAt string
    Timestamp when the connector was created.
    Description string
    Optional description of the connector.
    EnablementStatus ConnectorStateEnum
    The enablement status of the connector.
    EnablementStatusReason string
    Reason for the current enablement status, if applicable.
    Health ConnectorHealth
    Health status of the connector.
    LastUpdatedAt string
    Timestamp when the connector was last updated.
    ProviderConfiguration ConnectorProviderConfiguration
    Provider-specific configuration including regions and scope.
    Tags Tag
    Tags to apply to the connector.
    connector_arn string
    The Amazon Resource Name (ARN) of the connector.
    created_at string
    Timestamp when the connector was created.
    description string
    Optional description of the connector.
    enablement_status "ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "DELETED" | "FAILED_TO_DELETE"
    The enablement status of the connector.
    enablement_status_reason string
    Reason for the current enablement status, if applicable.
    health object
    Health status of the connector.
    last_updated_at string
    Timestamp when the connector was last updated.
    provider_configuration object
    Provider-specific configuration including regions and scope.
    tags list(object)
    Tags to apply to the connector.
    connectorArn String
    The Amazon Resource Name (ARN) of the connector.
    createdAt String
    Timestamp when the connector was created.
    description String
    Optional description of the connector.
    enablementStatus ConnectorState
    The enablement status of the connector.
    enablementStatusReason String
    Reason for the current enablement status, if applicable.
    health ConnectorHealth
    Health status of the connector.
    lastUpdatedAt String
    Timestamp when the connector was last updated.
    providerConfiguration ConnectorProviderConfiguration
    Provider-specific configuration including regions and scope.
    tags List<Tag>
    Tags to apply to the connector.
    connectorArn string
    The Amazon Resource Name (ARN) of the connector.
    createdAt string
    Timestamp when the connector was created.
    description string
    Optional description of the connector.
    enablementStatus ConnectorState
    The enablement status of the connector.
    enablementStatusReason string
    Reason for the current enablement status, if applicable.
    health ConnectorHealth
    Health status of the connector.
    lastUpdatedAt string
    Timestamp when the connector was last updated.
    providerConfiguration ConnectorProviderConfiguration
    Provider-specific configuration including regions and scope.
    tags Tag[]
    Tags to apply to the connector.
    connector_arn str
    The Amazon Resource Name (ARN) of the connector.
    created_at str
    Timestamp when the connector was created.
    description str
    Optional description of the connector.
    enablement_status ConnectorState
    The enablement status of the connector.
    enablement_status_reason str
    Reason for the current enablement status, if applicable.
    health ConnectorHealth
    Health status of the connector.
    last_updated_at str
    Timestamp when the connector was last updated.
    provider_configuration ConnectorProviderConfiguration
    Provider-specific configuration including regions and scope.
    tags Sequence[root_Tag]
    Tags to apply to the connector.
    connectorArn String
    The Amazon Resource Name (ARN) of the connector.
    createdAt String
    Timestamp when the connector was created.
    description String
    Optional description of the connector.
    enablementStatus "ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "DELETED" | "FAILED_TO_DELETE"
    The enablement status of the connector.
    enablementStatusReason String
    Reason for the current enablement status, if applicable.
    health Property Map
    Health status of the connector.
    lastUpdatedAt String
    Timestamp when the connector was last updated.
    providerConfiguration Property Map
    Provider-specific configuration including regions and scope.
    tags List<Property Map>
    Tags to apply to the connector.

    Supporting Types

    ConnectorAzureProviderConfiguration

    AwsConfigConnectorArn string
    The ARN of the AWS Config connector used for Azure resource discovery.
    AzureRegions List<string>
    List of Azure regions to scan.
    ScopeConfiguration Pulumi.AwsNative.InspectorV2.Inputs.ConnectorAzureScopeConfigurationMap
    AutoInstallVmScanner bool
    Whether to automatically install the VM scanner. Defaults to true.
    AwsConfigConnectorArn string
    The ARN of the AWS Config connector used for Azure resource discovery.
    AzureRegions []string
    List of Azure regions to scan.
    ScopeConfiguration ConnectorAzureScopeConfigurationMap
    AutoInstallVmScanner bool
    Whether to automatically install the VM scanner. Defaults to true.
    aws_config_connector_arn string
    The ARN of the AWS Config connector used for Azure resource discovery.
    azure_regions list(string)
    List of Azure regions to scan.
    scope_configuration object
    auto_install_vm_scanner bool
    Whether to automatically install the VM scanner. Defaults to true.
    awsConfigConnectorArn String
    The ARN of the AWS Config connector used for Azure resource discovery.
    azureRegions List<String>
    List of Azure regions to scan.
    scopeConfiguration ConnectorAzureScopeConfigurationMap
    autoInstallVmScanner Boolean
    Whether to automatically install the VM scanner. Defaults to true.
    awsConfigConnectorArn string
    The ARN of the AWS Config connector used for Azure resource discovery.
    azureRegions string[]
    List of Azure regions to scan.
    scopeConfiguration ConnectorAzureScopeConfigurationMap
    autoInstallVmScanner boolean
    Whether to automatically install the VM scanner. Defaults to true.
    aws_config_connector_arn str
    The ARN of the AWS Config connector used for Azure resource discovery.
    azure_regions Sequence[str]
    List of Azure regions to scan.
    scope_configuration ConnectorAzureScopeConfigurationMap
    auto_install_vm_scanner bool
    Whether to automatically install the VM scanner. Defaults to true.
    awsConfigConnectorArn String
    The ARN of the AWS Config connector used for Azure resource discovery.
    azureRegions List<String>
    List of Azure regions to scan.
    scopeConfiguration Property Map
    autoInstallVmScanner Boolean
    Whether to automatically install the VM scanner. Defaults to true.

    ConnectorAzureScopeConfigurationMap

    ConnectorHealth

    ConnectorHealthStatus

    ConnectorProviderConfiguration

    ConnectorScopeConfiguration

    ScopeType Pulumi.AwsNative.InspectorV2.ConnectorScopeType
    ScopeValues List<string>
    List of subscription IDs. Empty for TENANT scope.
    State Pulumi.AwsNative.InspectorV2.ConnectorScopeState
    StateReason string
    Reason for the current scope state.
    ScopeType ConnectorScopeType
    ScopeValues []string
    List of subscription IDs. Empty for TENANT scope.
    State ConnectorScopeState
    StateReason string
    Reason for the current scope state.
    scope_type "TENANT" | "SUBSCRIPTION"
    scope_values list(string)
    List of subscription IDs. Empty for TENANT scope.
    state "ACTIVE" | "PENDING" | "ERROR" | "DISABLED"
    state_reason string
    Reason for the current scope state.
    scopeType ConnectorScopeType
    scopeValues List<String>
    List of subscription IDs. Empty for TENANT scope.
    state ConnectorScopeState
    stateReason String
    Reason for the current scope state.
    scopeType ConnectorScopeType
    scopeValues string[]
    List of subscription IDs. Empty for TENANT scope.
    state ConnectorScopeState
    stateReason string
    Reason for the current scope state.
    scope_type ConnectorScopeType
    scope_values Sequence[str]
    List of subscription IDs. Empty for TENANT scope.
    state ConnectorScopeState
    state_reason str
    Reason for the current scope state.
    scopeType "TENANT" | "SUBSCRIPTION"
    scopeValues List<String>
    List of subscription IDs. Empty for TENANT scope.
    state "ACTIVE" | "PENDING" | "ERROR" | "DISABLED"
    stateReason String
    Reason for the current scope state.

    ConnectorScopeState

    ConnectorScopeType

    ConnectorState

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial