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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 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.86.0
published on Wednesday, Nov 18, 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.

    Create PrivateConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrivateConnection(name: string, args?: PrivateConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateConnection(resource_name: str,
                          args: Optional[PrivateConnectionArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateConnection(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          certificate: Optional[str] = None,
                          mode: Optional[PrivateConnectionModeArgs] = None,
                          private_connection_name: Optional[str] = None,
                          tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewPrivateConnection(ctx *Context, name string, args *PrivateConnectionArgs, opts ...ResourceOption) (*PrivateConnection, error)
    public PrivateConnection(string name, PrivateConnectionArgs? args = null, CustomResourceOptions? opts = null)
    public PrivateConnection(String name, PrivateConnectionArgs args)
    public PrivateConnection(String name, PrivateConnectionArgs args, CustomResourceOptions options)
    
    type: aws-native:securityagent:PrivateConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_securityagent_private_connection" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PrivateConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PrivateConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PrivateConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PrivateConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PrivateConnection resource accepts the following input properties:

    Certificate string
    The PEM-encoded certificate chain for the private connection.
    Mode Pulumi.AwsNative.SecurityAgent.Inputs.PrivateConnectionMode
    PrivateConnectionName string
    A unique name for the private connection within your account.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags attached to the private connection.
    Certificate string
    The PEM-encoded certificate chain for the private connection.
    Mode PrivateConnectionModeArgs
    PrivateConnectionName string
    A unique name for the private connection within your account.
    Tags TagArgs
    The tags attached to the private connection.
    certificate string
    The PEM-encoded certificate chain for the private connection.
    mode object
    private_connection_name string
    A unique name for the private connection within your account.
    tags list(object)
    The tags attached to the private connection.
    certificate String
    The PEM-encoded certificate chain for the private connection.
    mode PrivateConnectionMode
    privateConnectionName String
    A unique name for the private connection within your account.
    tags List<Tag>
    The tags attached to the private connection.
    certificate string
    The PEM-encoded certificate chain for the private connection.
    mode PrivateConnectionMode
    privateConnectionName string
    A unique name for the private connection within your account.
    tags Tag[]
    The tags attached to the private connection.
    certificate str
    The PEM-encoded certificate chain for the private connection.
    mode PrivateConnectionModeArgs
    private_connection_name str
    A unique name for the private connection within your account.
    tags Sequence[TagArgs]
    The tags attached to the private connection.
    certificate String
    The PEM-encoded certificate chain for the private connection.
    mode Property Map
    privateConnectionName String
    A unique name for the private connection within your account.
    tags List<Property Map>
    The tags attached to the private connection.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrivateConnection resource produces the following output properties:

    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.
    Id string
    The provider-assigned unique ID for this managed 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.
    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.
    Id string
    The provider-assigned unique ID for this managed 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.
    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.
    id string
    The provider-assigned unique ID for this managed 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.
    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.
    id String
    The provider-assigned unique ID for this managed 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.
    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.
    id string
    The provider-assigned unique ID for this managed 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.
    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.
    id str
    The provider-assigned unique ID for this managed 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.
    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.
    id String
    The provider-assigned unique ID for this managed 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.
    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.

    Look up Existing PrivateConnection Resource

    Get an existing PrivateConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): PrivateConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> PrivateConnection
    func GetPrivateConnection(ctx *Context, name string, id IDInput, state *PrivateConnectionState, opts ...ResourceOption) (*PrivateConnection, error)
    public static PrivateConnection Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static PrivateConnection get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingPrivateConnection:    type: aws-native:securityagent:PrivateConnection    get:      id: ${id}
    import {
      to = aws-native_securityagent_private_connection.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state PrivateConnectionState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    PrivateConnectionDnsResolution

    The DNS resolution mode for the resource gateway.

    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PrivateConnectionDnsResolutionPublicPUBLIC
    PrivateConnectionDnsResolutionInVpcIN_VPC
    Value
    PUBLIC
    IN_VPC
    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PUBLICPUBLIC
    IN_VPCIN_VPC
    Value
    PUBLIC
    IN_VPC

    PrivateConnectionMode, PrivateConnectionModeArgs

    The configuration for the private connection. Specify either a service-managed or a self-managed mode.

    PrivateConnectionSelfManaged, PrivateConnectionSelfManagedArgs

    The configuration for a self-managed private connection, where you manage your own resource configuration.

    ResourceConfigurationId string
    The identifier or ARN of the resource configuration.
    ResourceConfigurationId string
    The identifier or ARN of the resource configuration.
    resource_configuration_id string
    The identifier or ARN of the resource configuration.
    resourceConfigurationId String
    The identifier or ARN of the resource configuration.
    resourceConfigurationId string
    The identifier or ARN of the resource configuration.
    resource_configuration_id str
    The identifier or ARN of the resource configuration.
    resourceConfigurationId String
    The identifier or ARN of the resource configuration.

    PrivateConnectionServiceManaged, PrivateConnectionServiceManagedArgs

    The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.

    HostAddress string
    The IP address or DNS name of the target resource.
    SubnetIds List<string>
    The subnets that the service-managed resource gateway spans.
    VpcId string
    The VPC to create the service-managed resource gateway in.
    DnsResolution Pulumi.AwsNative.SecurityAgent.PrivateConnectionServiceManagedDnsResolution
    The DNS resolution mode for the resource gateway.
    IpAddressType Pulumi.AwsNative.SecurityAgent.PrivateConnectionServiceManagedIpAddressType
    The IP address type of the service-managed resource gateway.
    Ipv4AddressesPerEni int
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    PortRanges List<string>
    The TCP port ranges that a consumer can use to access the resource.
    SecurityGroupIds List<string>
    The security groups to attach to the service-managed resource gateway.
    HostAddress string
    The IP address or DNS name of the target resource.
    SubnetIds []string
    The subnets that the service-managed resource gateway spans.
    VpcId string
    The VPC to create the service-managed resource gateway in.
    DnsResolution PrivateConnectionServiceManagedDnsResolution
    The DNS resolution mode for the resource gateway.
    IpAddressType PrivateConnectionServiceManagedIpAddressType
    The IP address type of the service-managed resource gateway.
    Ipv4AddressesPerEni int
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    PortRanges []string
    The TCP port ranges that a consumer can use to access the resource.
    SecurityGroupIds []string
    The security groups to attach to the service-managed resource gateway.
    host_address string
    The IP address or DNS name of the target resource.
    subnet_ids list(string)
    The subnets that the service-managed resource gateway spans.
    vpc_id string
    The VPC to create the service-managed resource gateway in.
    dns_resolution "PUBLIC" | "IN_VPC"
    The DNS resolution mode for the resource gateway.
    ip_address_type "IPV4" | "IPV6" | "DUAL_STACK"
    The IP address type of the service-managed resource gateway.
    ipv4_addresses_per_eni number
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    port_ranges list(string)
    The TCP port ranges that a consumer can use to access the resource.
    security_group_ids list(string)
    The security groups to attach to the service-managed resource gateway.
    hostAddress String
    The IP address or DNS name of the target resource.
    subnetIds List<String>
    The subnets that the service-managed resource gateway spans.
    vpcId String
    The VPC to create the service-managed resource gateway in.
    dnsResolution PrivateConnectionServiceManagedDnsResolution
    The DNS resolution mode for the resource gateway.
    ipAddressType PrivateConnectionServiceManagedIpAddressType
    The IP address type of the service-managed resource gateway.
    ipv4AddressesPerEni Integer
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    portRanges List<String>
    The TCP port ranges that a consumer can use to access the resource.
    securityGroupIds List<String>
    The security groups to attach to the service-managed resource gateway.
    hostAddress string
    The IP address or DNS name of the target resource.
    subnetIds string[]
    The subnets that the service-managed resource gateway spans.
    vpcId string
    The VPC to create the service-managed resource gateway in.
    dnsResolution PrivateConnectionServiceManagedDnsResolution
    The DNS resolution mode for the resource gateway.
    ipAddressType PrivateConnectionServiceManagedIpAddressType
    The IP address type of the service-managed resource gateway.
    ipv4AddressesPerEni number
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    portRanges string[]
    The TCP port ranges that a consumer can use to access the resource.
    securityGroupIds string[]
    The security groups to attach to the service-managed resource gateway.
    host_address str
    The IP address or DNS name of the target resource.
    subnet_ids Sequence[str]
    The subnets that the service-managed resource gateway spans.
    vpc_id str
    The VPC to create the service-managed resource gateway in.
    dns_resolution PrivateConnectionServiceManagedDnsResolution
    The DNS resolution mode for the resource gateway.
    ip_address_type PrivateConnectionServiceManagedIpAddressType
    The IP address type of the service-managed resource gateway.
    ipv4_addresses_per_eni int
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    port_ranges Sequence[str]
    The TCP port ranges that a consumer can use to access the resource.
    security_group_ids Sequence[str]
    The security groups to attach to the service-managed resource gateway.
    hostAddress String
    The IP address or DNS name of the target resource.
    subnetIds List<String>
    The subnets that the service-managed resource gateway spans.
    vpcId String
    The VPC to create the service-managed resource gateway in.
    dnsResolution "PUBLIC" | "IN_VPC"
    The DNS resolution mode for the resource gateway.
    ipAddressType "IPV4" | "IPV6" | "DUAL_STACK"
    The IP address type of the service-managed resource gateway.
    ipv4AddressesPerEni Number
    The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
    portRanges List<String>
    The TCP port ranges that a consumer can use to access the resource.
    securityGroupIds List<String>
    The security groups to attach to the service-managed resource gateway.

    PrivateConnectionServiceManagedDnsResolution

    The DNS resolution mode for the resource gateway.

    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PrivateConnectionServiceManagedDnsResolutionPublicPUBLIC
    PrivateConnectionServiceManagedDnsResolutionInVpcIN_VPC
    Value
    PUBLIC
    IN_VPC
    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PublicPUBLIC
    InVpcIN_VPC
    NameValue
    PUBLICPUBLIC
    IN_VPCIN_VPC
    Value
    PUBLIC
    IN_VPC

    PrivateConnectionServiceManagedIpAddressType

    The IP address type of the service-managed resource gateway.

    NameValue
    Ipv4IPV4
    Ipv6IPV6
    DualStackDUAL_STACK
    NameValue
    PrivateConnectionServiceManagedIpAddressTypeIpv4IPV4
    PrivateConnectionServiceManagedIpAddressTypeIpv6IPV6
    PrivateConnectionServiceManagedIpAddressTypeDualStackDUAL_STACK
    Value
    IPV4
    IPV6
    DUAL_STACK
    NameValue
    Ipv4IPV4
    Ipv6IPV6
    DualStackDUAL_STACK
    NameValue
    Ipv4IPV4
    Ipv6IPV6
    DualStackDUAL_STACK
    NameValue
    IPV4IPV4
    IPV6IPV6
    DUAL_STACKDUAL_STACK
    Value
    IPV4
    IPV6
    DUAL_STACK

    PrivateConnectionStatus

    The current status of the private connection.

    NameValue
    ActiveACTIVE
    CreateInProgressCREATE_IN_PROGRESS
    CreateFailedCREATE_FAILED
    DeleteInProgressDELETE_IN_PROGRESS
    DeleteFailedDELETE_FAILED
    NameValue
    PrivateConnectionStatusActiveACTIVE
    PrivateConnectionStatusCreateInProgressCREATE_IN_PROGRESS
    PrivateConnectionStatusCreateFailedCREATE_FAILED
    PrivateConnectionStatusDeleteInProgressDELETE_IN_PROGRESS
    PrivateConnectionStatusDeleteFailedDELETE_FAILED
    Value
    ACTIVE
    CREATE_IN_PROGRESS
    CREATE_FAILED
    DELETE_IN_PROGRESS
    DELETE_FAILED
    NameValue
    ActiveACTIVE
    CreateInProgressCREATE_IN_PROGRESS
    CreateFailedCREATE_FAILED
    DeleteInProgressDELETE_IN_PROGRESS
    DeleteFailedDELETE_FAILED
    NameValue
    ActiveACTIVE
    CreateInProgressCREATE_IN_PROGRESS
    CreateFailedCREATE_FAILED
    DeleteInProgressDELETE_IN_PROGRESS
    DeleteFailedDELETE_FAILED
    NameValue
    ACTIVEACTIVE
    CREATE_IN_PROGRESSCREATE_IN_PROGRESS
    CREATE_FAILEDCREATE_FAILED
    DELETE_IN_PROGRESSDELETE_IN_PROGRESS
    DELETE_FAILEDDELETE_FAILED
    Value
    ACTIVE
    CREATE_IN_PROGRESS
    CREATE_FAILED
    DELETE_IN_PROGRESS
    DELETE_FAILED

    PrivateConnectionType

    The type of the private connection, indicating whether it is service-managed or self-managed.

    NameValue
    ServiceManagedSERVICE_MANAGED
    SelfManagedSELF_MANAGED
    NameValue
    PrivateConnectionTypeServiceManagedSERVICE_MANAGED
    PrivateConnectionTypeSelfManagedSELF_MANAGED
    Value
    SERVICE_MANAGED
    SELF_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    SelfManagedSELF_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    SelfManagedSELF_MANAGED
    NameValue
    SERVICE_MANAGEDSERVICE_MANAGED
    SELF_MANAGEDSELF_MANAGED
    Value
    SERVICE_MANAGED
    SELF_MANAGED

    Tag, TagArgs

    A set of tags to apply to the resource.

    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.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial