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

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

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::SecurityAgent::PrivateConnection. A private connection allows Security Agent to reach a target resource privately via a VPC Lattice resource gateway.

    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?: InvokeOutputOptions): Output<GetPrivateConnectionResult>
    def get_private_connection(arn: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPrivateConnectionResult
    def get_private_connection_output(arn: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOutputOptions] = 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 Output<GetPrivateConnectionResult> Invoke(GetPrivateConnectionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
    public static Output<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
    public static Output<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:securityagent:getPrivateConnection
      arguments:
        # arguments dictionary
    data "aws-native_securityagent_get_private_connection" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getPrivateConnection Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the private connection.
    CertificateExpiryTime string
    The date and time the connection's certificate expires, in UTC format.
    DnsResolution Pulumi.AwsNative.SecurityAgent.PrivateConnectionDnsResolution
    The DNS resolution mode for the resource gateway.
    HostAddress string
    The IP address or DNS name of the target resource.
    ResourceConfigurationId string
    The identifier or ARN of the VPC Lattice resource configuration.
    ResourceGatewayId string
    The identifier or ARN of the VPC Lattice resource gateway.
    Status Pulumi.AwsNative.SecurityAgent.PrivateConnectionStatus
    The current status of the private connection.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags attached to the private connection.
    Type Pulumi.AwsNative.SecurityAgent.PrivateConnectionType
    The type of the private connection, indicating whether it is service-managed or self-managed.
    VpcId string
    The identifier of the VPC the resource gateway is created in.
    Arn string
    The Amazon Resource Name (ARN) of the private connection.
    CertificateExpiryTime string
    The date and time the connection's certificate expires, in UTC format.
    DnsResolution PrivateConnectionDnsResolution
    The DNS resolution mode for the resource gateway.
    HostAddress string
    The IP address or DNS name of the target resource.
    ResourceConfigurationId string
    The identifier or ARN of the VPC Lattice resource configuration.
    ResourceGatewayId string
    The identifier or ARN of the VPC Lattice resource gateway.
    Status PrivateConnectionStatus
    The current status of the private connection.
    Tags Tag
    The tags attached to the private connection.
    Type PrivateConnectionType
    The type of the private connection, indicating whether it is service-managed or self-managed.
    VpcId string
    The identifier of the VPC the resource gateway is created in.
    arn string
    The Amazon Resource Name (ARN) of the private connection.
    certificate_expiry_time string
    The date and time the connection's certificate expires, in UTC format.
    dns_resolution "PUBLIC" | "IN_VPC"
    The DNS resolution mode for the resource gateway.
    host_address string
    The IP address or DNS name of the target resource.
    resource_configuration_id string
    The identifier or ARN of the VPC Lattice resource configuration.
    resource_gateway_id string
    The identifier or ARN of the VPC Lattice resource gateway.
    status "ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"
    The current status of the private connection.
    tags list(object)
    The tags attached to the private connection.
    type "SERVICE_MANAGED" | "SELF_MANAGED"
    The type of the private connection, indicating whether it is service-managed or self-managed.
    vpc_id string
    The identifier of the VPC the resource gateway is created in.
    arn String
    The Amazon Resource Name (ARN) of the private connection.
    certificateExpiryTime String
    The date and time the connection's certificate expires, in UTC format.
    dnsResolution PrivateConnectionDnsResolution
    The DNS resolution mode for the resource gateway.
    hostAddress String
    The IP address or DNS name of the target resource.
    resourceConfigurationId String
    The identifier or ARN of the VPC Lattice resource configuration.
    resourceGatewayId String
    The identifier or ARN of the VPC Lattice resource gateway.
    status PrivateConnectionStatus
    The current status of the private connection.
    tags List<Tag>
    The tags attached to the private connection.
    type PrivateConnectionType
    The type of the private connection, indicating whether it is service-managed or self-managed.
    vpcId String
    The identifier of the VPC the resource gateway is created in.
    arn string
    The Amazon Resource Name (ARN) of the private connection.
    certificateExpiryTime string
    The date and time the connection's certificate expires, in UTC format.
    dnsResolution PrivateConnectionDnsResolution
    The DNS resolution mode for the resource gateway.
    hostAddress string
    The IP address or DNS name of the target resource.
    resourceConfigurationId string
    The identifier or ARN of the VPC Lattice resource configuration.
    resourceGatewayId string
    The identifier or ARN of the VPC Lattice resource gateway.
    status PrivateConnectionStatus
    The current status of the private connection.
    tags Tag[]
    The tags attached to the private connection.
    type PrivateConnectionType
    The type of the private connection, indicating whether it is service-managed or self-managed.
    vpcId string
    The identifier of the VPC the resource gateway is created in.
    arn str
    The Amazon Resource Name (ARN) of the private connection.
    certificate_expiry_time str
    The date and time the connection's certificate expires, in UTC format.
    dns_resolution PrivateConnectionDnsResolution
    The DNS resolution mode for the resource gateway.
    host_address str
    The IP address or DNS name of the target resource.
    resource_configuration_id str
    The identifier or ARN of the VPC Lattice resource configuration.
    resource_gateway_id str
    The identifier or ARN of the VPC Lattice resource gateway.
    status PrivateConnectionStatus
    The current status of the private connection.
    tags Sequence[root_Tag]
    The tags attached to the private connection.
    type PrivateConnectionType
    The type of the private connection, indicating whether it is service-managed or self-managed.
    vpc_id str
    The identifier of the VPC the resource gateway is created in.
    arn String
    The Amazon Resource Name (ARN) of the private connection.
    certificateExpiryTime String
    The date and time the connection's certificate expires, in UTC format.
    dnsResolution "PUBLIC" | "IN_VPC"
    The DNS resolution mode for the resource gateway.
    hostAddress String
    The IP address or DNS name of the target resource.
    resourceConfigurationId String
    The identifier or ARN of the VPC Lattice resource configuration.
    resourceGatewayId String
    The identifier or ARN of the VPC Lattice resource gateway.
    status "ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"
    The current status of the private connection.
    tags List<Property Map>
    The tags attached to the private connection.
    type "SERVICE_MANAGED" | "SELF_MANAGED"
    The type of the private connection, indicating whether it is service-managed or self-managed.
    vpcId String
    The identifier of the VPC the resource gateway is created in.

    Supporting Types

    PrivateConnectionDnsResolution

    Public
    PUBLIC
    InVpc
    IN_VPC
    PrivateConnectionDnsResolutionPublic
    PUBLIC
    PrivateConnectionDnsResolutionInVpc
    IN_VPC
    "PUBLIC"
    PUBLIC
    "IN_VPC"
    IN_VPC
    Public
    PUBLIC
    InVpc
    IN_VPC
    Public
    PUBLIC
    InVpc
    IN_VPC
    PUBLIC
    PUBLIC
    IN_VPC
    IN_VPC
    "PUBLIC"
    PUBLIC
    "IN_VPC"
    IN_VPC

    PrivateConnectionStatus

    Active
    ACTIVE
    CreateInProgress
    CREATE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteInProgress
    DELETE_IN_PROGRESS
    DeleteFailed
    DELETE_FAILED
    PrivateConnectionStatusActive
    ACTIVE
    PrivateConnectionStatusCreateInProgress
    CREATE_IN_PROGRESS
    PrivateConnectionStatusCreateFailed
    CREATE_FAILED
    PrivateConnectionStatusDeleteInProgress
    DELETE_IN_PROGRESS
    PrivateConnectionStatusDeleteFailed
    DELETE_FAILED
    "ACTIVE"
    ACTIVE
    "CREATE_IN_PROGRESS"
    CREATE_IN_PROGRESS
    "CREATE_FAILED"
    CREATE_FAILED
    "DELETE_IN_PROGRESS"
    DELETE_IN_PROGRESS
    "DELETE_FAILED"
    DELETE_FAILED
    Active
    ACTIVE
    CreateInProgress
    CREATE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteInProgress
    DELETE_IN_PROGRESS
    DeleteFailed
    DELETE_FAILED
    Active
    ACTIVE
    CreateInProgress
    CREATE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteInProgress
    DELETE_IN_PROGRESS
    DeleteFailed
    DELETE_FAILED
    ACTIVE
    ACTIVE
    CREATE_IN_PROGRESS
    CREATE_IN_PROGRESS
    CREATE_FAILED
    CREATE_FAILED
    DELETE_IN_PROGRESS
    DELETE_IN_PROGRESS
    DELETE_FAILED
    DELETE_FAILED
    "ACTIVE"
    ACTIVE
    "CREATE_IN_PROGRESS"
    CREATE_IN_PROGRESS
    "CREATE_FAILED"
    CREATE_FAILED
    "DELETE_IN_PROGRESS"
    DELETE_IN_PROGRESS
    "DELETE_FAILED"
    DELETE_FAILED

    PrivateConnectionType

    ServiceManaged
    SERVICE_MANAGED
    SelfManaged
    SELF_MANAGED
    PrivateConnectionTypeServiceManaged
    SERVICE_MANAGED
    PrivateConnectionTypeSelfManaged
    SELF_MANAGED
    "SERVICE_MANAGED"
    SERVICE_MANAGED
    "SELF_MANAGED"
    SELF_MANAGED
    ServiceManaged
    SERVICE_MANAGED
    SelfManaged
    SELF_MANAGED
    ServiceManaged
    SERVICE_MANAGED
    SelfManaged
    SELF_MANAGED
    SERVICE_MANAGED
    SERVICE_MANAGED
    SELF_MANAGED
    SELF_MANAGED
    "SERVICE_MANAGED"
    SERVICE_MANAGED
    "SELF_MANAGED"
    SELF_MANAGED

    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 AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial