We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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.
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.
Supporting Types
PrivateConnectionDnsResolution, PrivateConnectionDnsResolutionArgs
- Public
PUBLIC- In
Vpc IN_VPC
- Private
Connection Dns Resolution Public PUBLIC- Private
Connection Dns Resolution In Vpc IN_VPC
- "PUBLIC"
PUBLIC- "IN_VPC"
IN_VPC
- Public
PUBLIC- In
Vpc IN_VPC
- Public
PUBLIC- In
Vpc IN_VPC
- PUBLIC
PUBLIC- IN_VPC
IN_VPC
- "PUBLIC"
PUBLIC- "IN_VPC"
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, PrivateConnectionServiceManagedDnsResolutionArgs
- Public
PUBLIC- In
Vpc IN_VPC
- Private
Connection Service Managed Dns Resolution Public PUBLIC- Private
Connection Service Managed Dns Resolution In Vpc IN_VPC
- "PUBLIC"
PUBLIC- "IN_VPC"
IN_VPC
- Public
PUBLIC- In
Vpc IN_VPC
- Public
PUBLIC- In
Vpc IN_VPC
- PUBLIC
PUBLIC- IN_VPC
IN_VPC
- "PUBLIC"
PUBLIC- "IN_VPC"
IN_VPC
PrivateConnectionServiceManagedIpAddressType, PrivateConnectionServiceManagedIpAddressTypeArgs
- Ipv4
IPV4- Ipv6
IPV6- Dual
Stack DUAL_STACK
- Private
Connection Service Managed Ip Address Type Ipv4 IPV4- Private
Connection Service Managed Ip Address Type Ipv6 IPV6- Private
Connection Service Managed Ip Address Type Dual Stack DUAL_STACK
- "IPV4"
IPV4- "IPV6"
IPV6- "DUAL_STACK"
DUAL_STACK
- Ipv4
IPV4- Ipv6
IPV6- Dual
Stack DUAL_STACK
- Ipv4
IPV4- Ipv6
IPV6- Dual
Stack DUAL_STACK
- IPV4
IPV4- IPV6
IPV6- DUAL_STACK
DUAL_STACK
- "IPV4"
IPV4- "IPV6"
IPV6- "DUAL_STACK"
DUAL_STACK
PrivateConnectionStatus, PrivateConnectionStatusArgs
- Active
ACTIVE- Create
In Progress CREATE_IN_PROGRESS- Create
Failed CREATE_FAILED- Delete
In Progress DELETE_IN_PROGRESS- Delete
Failed DELETE_FAILED
- Private
Connection Status Active ACTIVE- Private
Connection Status Create In Progress CREATE_IN_PROGRESS- Private
Connection Status Create Failed CREATE_FAILED- Private
Connection Status Delete In Progress DELETE_IN_PROGRESS- Private
Connection Status 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
- 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
- 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, PrivateConnectionTypeArgs
- Service
Managed SERVICE_MANAGED- Self
Managed SELF_MANAGED
- Private
Connection Type Service Managed SERVICE_MANAGED- Private
Connection Type Self Managed SELF_MANAGED
- "SERVICE_MANAGED"
SERVICE_MANAGED- "SELF_MANAGED"
SELF_MANAGED
- Service
Managed SERVICE_MANAGED- Self
Managed SELF_MANAGED
- Service
Managed SERVICE_MANAGED- Self
Managed SELF_MANAGED
- SERVICE_MANAGED
SERVICE_MANAGED- SELF_MANAGED
SELF_MANAGED
- "SERVICE_MANAGED"
SERVICE_MANAGED- "SELF_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 Monday, Nov 2, 2026 by Pulumi