We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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.
Aws Native. Security Agent. Inputs. Private Connection Mode - Private
Connection stringName - A unique name for the private connection within your account.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags attached to the private connection.
- Certificate string
- The PEM-encoded certificate chain for the private connection.
- Mode
Private
Connection Mode Args - Private
Connection stringName - A unique name for the private connection within your account.
-
Tag
Args - The tags attached to the private connection.
- certificate string
- The PEM-encoded certificate chain for the private connection.
- mode object
- private_
connection_ stringname - A unique name for the private connection within your account.
- list(object)
- The tags attached to the private connection.
- certificate String
- The PEM-encoded certificate chain for the private connection.
- mode
Private
Connection Mode - private
Connection StringName - A unique name for the private connection within your account.
- List<Tag>
- The tags attached to the private connection.
- certificate string
- The PEM-encoded certificate chain for the private connection.
- mode
Private
Connection Mode - private
Connection stringName - A unique name for the private connection within your account.
- Tag[]
- The tags attached to the private connection.
- certificate str
- The PEM-encoded certificate chain for the private connection.
- mode
Private
Connection Mode Args - private_
connection_ strname - A unique name for the private connection within your account.
-
Sequence[Tag
Args] - The tags attached to the private connection.
- certificate String
- The PEM-encoded certificate chain for the private connection.
- mode Property Map
- private
Connection StringName - A unique name for the private connection within your account.
- 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.
- Certificate
Expiry stringTime - The date and time the connection's certificate expires, in UTC format.
- Dns
Resolution Pulumi.Aws Native. Security Agent. Private Connection Dns Resolution - 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 stringId - The identifier or ARN of the VPC Lattice resource configuration.
- Resource
Gateway stringId - The identifier or ARN of the VPC Lattice resource gateway.
- Status
Pulumi.
Aws Native. Security Agent. Private Connection Status - The current status of the private connection.
- Type
Pulumi.
Aws Native. Security Agent. Private Connection Type - 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.
- Certificate
Expiry stringTime - The date and time the connection's certificate expires, in UTC format.
- Dns
Resolution PrivateConnection Dns Resolution - 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 stringId - The identifier or ARN of the VPC Lattice resource configuration.
- Resource
Gateway stringId - The identifier or ARN of the VPC Lattice resource gateway.
- Status
Private
Connection Status - The current status of the private connection.
- Type
Private
Connection Type - 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.
- certificate_
expiry_ stringtime - 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_ stringid - The identifier or ARN of the VPC Lattice resource configuration.
- resource_
gateway_ stringid - 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.
- certificate
Expiry StringTime - The date and time the connection's certificate expires, in UTC format.
- dns
Resolution PrivateConnection Dns Resolution - 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 StringId - The identifier or ARN of the VPC Lattice resource configuration.
- resource
Gateway StringId - The identifier or ARN of the VPC Lattice resource gateway.
- status
Private
Connection Status - The current status of the private connection.
- type
Private
Connection Type - 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.
- certificate
Expiry stringTime - The date and time the connection's certificate expires, in UTC format.
- dns
Resolution PrivateConnection Dns Resolution - 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 stringId - The identifier or ARN of the VPC Lattice resource configuration.
- resource
Gateway stringId - The identifier or ARN of the VPC Lattice resource gateway.
- status
Private
Connection Status - The current status of the private connection.
- type
Private
Connection Type - 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 str
- The Amazon Resource Name (ARN) of the private connection.
- certificate_
expiry_ strtime - The date and time the connection's certificate expires, in UTC format.
- dns_
resolution PrivateConnection Dns Resolution - 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_ strid - The identifier or ARN of the VPC Lattice resource configuration.
- resource_
gateway_ strid - The identifier or ARN of the VPC Lattice resource gateway.
- status
Private
Connection Status - The current status of the private connection.
- type
Private
Connection Type - 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.
- certificate
Expiry StringTime - 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 StringId - The identifier or ARN of the VPC Lattice resource configuration.
- resource
Gateway StringId - 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.
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) -> PrivateConnectionfunc 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.
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| Private | PUBLIC |
| Private | IN_VPC |
| Value |
|---|
PUBLIC |
IN_VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| PUBLIC | PUBLIC |
| IN_VPC | IN_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.
- Resource
Configuration stringId - The identifier or ARN of the resource configuration.
- Resource
Configuration stringId - The identifier or ARN of the resource configuration.
- resource_
configuration_ stringid - The identifier or ARN of the resource configuration.
- resource
Configuration StringId - The identifier or ARN of the resource configuration.
- resource
Configuration stringId - The identifier or ARN of the resource configuration.
- resource_
configuration_ strid - The identifier or ARN of the resource configuration.
- resource
Configuration StringId - 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.
- 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 Pulumi.Aws Native. Security Agent. Private Connection Service Managed Dns Resolution - The DNS resolution mode for the resource gateway.
- Ip
Address Pulumi.Type Aws Native. Security Agent. Private Connection Service Managed Ip Address Type - The IP address type of the service-managed resource gateway.
- Ipv4Addresses
Per intEni - 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 List<string>Ids - 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 []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 PrivateConnection Service Managed Dns Resolution - The DNS resolution mode for the resource gateway.
- Ip
Address PrivateType Connection Service Managed Ip Address Type - The IP address type of the service-managed resource gateway.
- Ipv4Addresses
Per intEni - The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
- Port
Ranges []string - The TCP port ranges that a consumer can use to access the resource.
- Security
Group []stringIds - 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_ "IPV4" | "IPV6" | "DUAL_STACK"type - The IP address type of the service-managed resource gateway.
- ipv4_
addresses_ numberper_ eni - 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_ list(string)ids - 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 PrivateConnection Service Managed Dns Resolution - The DNS resolution mode for the resource gateway.
- ip
Address PrivateType Connection Service Managed Ip Address Type - The IP address type of the service-managed resource gateway.
- ipv4Addresses
Per IntegerEni - 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 List<String>Ids - 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 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 PrivateConnection Service Managed Dns Resolution - The DNS resolution mode for the resource gateway.
- ip
Address PrivateType Connection Service Managed Ip Address Type - The IP address type of the service-managed resource gateway.
- ipv4Addresses
Per numberEni - The number of IPv4 addresses in each elastic network interface for the service-managed resource gateway.
- port
Ranges string[] - The TCP port ranges that a consumer can use to access the resource.
- security
Group string[]Ids - 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 PrivateConnection Service Managed Dns Resolution - The DNS resolution mode for the resource gateway.
- ip_
address_ Privatetype Connection Service Managed Ip Address Type - The IP address type of the service-managed resource gateway.
- ipv4_
addresses_ intper_ eni - 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_ Sequence[str]ids - 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 "IPV4" | "IPV6" | "DUAL_STACK"Type - The IP address type of the service-managed resource gateway.
- ipv4Addresses
Per NumberEni - 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 List<String>Ids - The security groups to attach to the service-managed resource gateway.
PrivateConnectionServiceManagedDnsResolution
The DNS resolution mode for the resource gateway.
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| Private | PUBLIC |
| Private | IN_VPC |
| Value |
|---|
PUBLIC |
IN_VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| In | IN_VPC |
| Name | Value |
|---|---|
| PUBLIC | PUBLIC |
| IN_VPC | IN_VPC |
| Value |
|---|
PUBLIC |
IN_VPC |
PrivateConnectionServiceManagedIpAddressType
The IP address type of the service-managed resource gateway.
| Name | Value |
|---|---|
| Ipv4 | IPV4 |
| Ipv6 | IPV6 |
| Dual | DUAL_STACK |
| Name | Value |
|---|---|
| Private | IPV4 |
| Private | IPV6 |
| Private | DUAL_STACK |
| Value |
|---|
IPV4 |
IPV6 |
DUAL_STACK |
| Name | Value |
|---|---|
| Ipv4 | IPV4 |
| Ipv6 | IPV6 |
| Dual | DUAL_STACK |
| Name | Value |
|---|---|
| Ipv4 | IPV4 |
| Ipv6 | IPV6 |
| Dual | DUAL_STACK |
| Name | Value |
|---|---|
| IPV4 | IPV4 |
| IPV6 | IPV6 |
| DUAL_STACK | DUAL_STACK |
| Value |
|---|
IPV4 |
IPV6 |
DUAL_STACK |
PrivateConnectionStatus
The current status of the private connection.
| Name | Value |
|---|---|
| Active | ACTIVE |
| Create | CREATE_IN_PROGRESS |
| Create | CREATE_FAILED |
| Delete | DELETE_IN_PROGRESS |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Private | ACTIVE |
| Private | CREATE_IN_PROGRESS |
| Private | CREATE_FAILED |
| Private | DELETE_IN_PROGRESS |
| Private | DELETE_FAILED |
| Value |
|---|
ACTIVE |
CREATE_IN_PROGRESS |
CREATE_FAILED |
DELETE_IN_PROGRESS |
DELETE_FAILED |
| Name | Value |
|---|---|
| Active | ACTIVE |
| Create | CREATE_IN_PROGRESS |
| Create | CREATE_FAILED |
| Delete | DELETE_IN_PROGRESS |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Active | ACTIVE |
| Create | CREATE_IN_PROGRESS |
| Create | CREATE_FAILED |
| Delete | DELETE_IN_PROGRESS |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| ACTIVE | ACTIVE |
| CREATE_IN_PROGRESS | CREATE_IN_PROGRESS |
| CREATE_FAILED | CREATE_FAILED |
| DELETE_IN_PROGRESS | DELETE_IN_PROGRESS |
| DELETE_FAILED | DELETE_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.
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Self | SELF_MANAGED |
| Name | Value |
|---|---|
| Private | SERVICE_MANAGED |
| Private | SELF_MANAGED |
| Value |
|---|
SERVICE_MANAGED |
SELF_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Self | SELF_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Self | SELF_MANAGED |
| Name | Value |
|---|---|
| SERVICE_MANAGED | SERVICE_MANAGED |
| SELF_MANAGED | SELF_MANAGED |
| Value |
|---|
SERVICE_MANAGED |
SELF_MANAGED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi