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

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 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.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource schema for AWS::MGN::Connector. A Connector provides connectivity between a source environment and Application Migration Service (MGN) via AWS Systems Manager (SSM).

    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(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetConnectorResult
    def get_connector_output(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:mgn:getConnector
      arguments:
        # arguments dictionary
    data "aws-native_mgn_get_connector" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the connector.
    Arn string
    The Amazon Resource Name (ARN) of the connector.
    arn string
    The Amazon Resource Name (ARN) of the connector.
    arn String
    The Amazon Resource Name (ARN) of the connector.
    arn string
    The Amazon Resource Name (ARN) of the connector.
    arn str
    The Amazon Resource Name (ARN) of the connector.
    arn String
    The Amazon Resource Name (ARN) of the connector.

    getConnector Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the connector.
    ConnectorId string
    The unique identifier of the connector.
    Name string
    The name of the connector.
    SsmCommandConfig Pulumi.AwsNative.Mgn.Outputs.ConnectorSsmCommandConfig
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to assign to the connector.
    Arn string
    The Amazon Resource Name (ARN) of the connector.
    ConnectorId string
    The unique identifier of the connector.
    Name string
    The name of the connector.
    SsmCommandConfig ConnectorSsmCommandConfig
    Tags Tag
    Tags to assign to the connector.
    arn string
    The Amazon Resource Name (ARN) of the connector.
    connector_id string
    The unique identifier of the connector.
    name string
    The name of the connector.
    ssm_command_config object
    tags list(object)
    Tags to assign to the connector.
    arn String
    The Amazon Resource Name (ARN) of the connector.
    connectorId String
    The unique identifier of the connector.
    name String
    The name of the connector.
    ssmCommandConfig ConnectorSsmCommandConfig
    tags List<Tag>
    Tags to assign to the connector.
    arn string
    The Amazon Resource Name (ARN) of the connector.
    connectorId string
    The unique identifier of the connector.
    name string
    The name of the connector.
    ssmCommandConfig ConnectorSsmCommandConfig
    tags Tag[]
    Tags to assign to the connector.
    arn str
    The Amazon Resource Name (ARN) of the connector.
    connector_id str
    The unique identifier of the connector.
    name str
    The name of the connector.
    ssm_command_config ConnectorSsmCommandConfig
    tags Sequence[root_Tag]
    Tags to assign to the connector.
    arn String
    The Amazon Resource Name (ARN) of the connector.
    connectorId String
    The unique identifier of the connector.
    name String
    The name of the connector.
    ssmCommandConfig Property Map
    tags List<Property Map>
    Tags to assign to the connector.

    Supporting Types

    ConnectorSsmCommandConfig

    CloudWatchOutputEnabled bool
    Whether SSM command output is sent to CloudWatch Logs.
    S3OutputEnabled bool
    Whether SSM command output is stored in S3.
    CloudWatchLogGroupName string
    The CloudWatch Logs group name for SSM command output.
    OutputS3BucketName string
    The S3 bucket name for SSM command output.
    CloudWatchOutputEnabled bool
    Whether SSM command output is sent to CloudWatch Logs.
    S3OutputEnabled bool
    Whether SSM command output is stored in S3.
    CloudWatchLogGroupName string
    The CloudWatch Logs group name for SSM command output.
    OutputS3BucketName string
    The S3 bucket name for SSM command output.
    cloud_watch_output_enabled bool
    Whether SSM command output is sent to CloudWatch Logs.
    s3_output_enabled bool
    Whether SSM command output is stored in S3.
    cloud_watch_log_group_name string
    The CloudWatch Logs group name for SSM command output.
    output_s3_bucket_name string
    The S3 bucket name for SSM command output.
    cloudWatchOutputEnabled Boolean
    Whether SSM command output is sent to CloudWatch Logs.
    s3OutputEnabled Boolean
    Whether SSM command output is stored in S3.
    cloudWatchLogGroupName String
    The CloudWatch Logs group name for SSM command output.
    outputS3BucketName String
    The S3 bucket name for SSM command output.
    cloudWatchOutputEnabled boolean
    Whether SSM command output is sent to CloudWatch Logs.
    s3OutputEnabled boolean
    Whether SSM command output is stored in S3.
    cloudWatchLogGroupName string
    The CloudWatch Logs group name for SSM command output.
    outputS3BucketName string
    The S3 bucket name for SSM command output.
    cloud_watch_output_enabled bool
    Whether SSM command output is sent to CloudWatch Logs.
    s3_output_enabled bool
    Whether SSM command output is stored in S3.
    cloud_watch_log_group_name str
    The CloudWatch Logs group name for SSM command output.
    output_s3_bucket_name str
    The S3 bucket name for SSM command output.
    cloudWatchOutputEnabled Boolean
    Whether SSM command output is sent to CloudWatch Logs.
    s3OutputEnabled Boolean
    Whether SSM command output is stored in S3.
    cloudWatchLogGroupName String
    The CloudWatch Logs group name for SSM command output.
    outputS3BucketName String
    The S3 bucket name for SSM command output.

    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.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial