1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. devopsagent
  6. getPrivateConnection

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

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi

    Resource Type definition for AWS::DevOpsAgent::PrivateConnection

    Using getPrivateConnection

    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 getPrivateConnection(args: GetPrivateConnectionArgs, opts?: InvokeOptions): Promise<GetPrivateConnectionResult>
    function getPrivateConnectionOutput(args: GetPrivateConnectionOutputArgs, opts?: InvokeOptions): Output<GetPrivateConnectionResult>
    def get_private_connection(name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPrivateConnectionResult
    def get_private_connection_output(name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetPrivateConnectionResult]
    func LookupPrivateConnection(ctx *Context, args *LookupPrivateConnectionArgs, opts ...InvokeOption) (*LookupPrivateConnectionResult, error)
    func LookupPrivateConnectionOutput(ctx *Context, args *LookupPrivateConnectionOutputArgs, opts ...InvokeOption) LookupPrivateConnectionResultOutput

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

    public static class GetPrivateConnection 
    {
        public static Task<GetPrivateConnectionResult> InvokeAsync(GetPrivateConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivateConnectionResult> Invoke(GetPrivateConnectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
    public static Output<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:devopsagent:getPrivateConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Unique name for this Private Connection within the account.
    Name string
    Unique name for this Private Connection within the account.
    name String
    Unique name for this Private Connection within the account.
    name string
    Unique name for this Private Connection within the account.
    name str
    Unique name for this Private Connection within the account.
    name String
    Unique name for this Private Connection within the account.

    getPrivateConnection Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the Private Connection.
    CertificateExpiryTime string
    The expiry time of the certificate associated with the Private Connection.
    Status Pulumi.AwsNative.DevOpsAgent.PrivateConnectionStatus
    The status of the Private Connection.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The Amazon Resource Name (ARN) of the Private Connection.
    CertificateExpiryTime string
    The expiry time of the certificate associated with the Private Connection.
    Status PrivateConnectionStatus
    The status of the Private Connection.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the Private Connection.
    certificateExpiryTime String
    The expiry time of the certificate associated with the Private Connection.
    status PrivateConnectionStatus
    The status of the Private Connection.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The Amazon Resource Name (ARN) of the Private Connection.
    certificateExpiryTime string
    The expiry time of the certificate associated with the Private Connection.
    status PrivateConnectionStatus
    The status of the Private Connection.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The Amazon Resource Name (ARN) of the Private Connection.
    certificate_expiry_time str
    The expiry time of the certificate associated with the Private Connection.
    status PrivateConnectionStatus
    The status of the Private Connection.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the Private Connection.
    certificateExpiryTime String
    The expiry time of the certificate associated with the Private Connection.
    status "ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"
    The status of the Private Connection.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    PrivateConnectionStatus

    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

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

    Viewing docs for AWS Cloud Control v1.63.0
    published on Monday, May 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.