# ServiceManagedProperty

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

- Source: Generated code
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const serviceManagedProperty: securityagent.CfnPrivateConnection.ServiceManagedProperty = {
  hostAddress: 'hostAddress',
  subnetIds: ['subnetIds'],
  vpcId: 'vpcId',

  // the properties below are optional
  dnsResolution: 'dnsResolution',
  ipAddressType: 'ipAddressType',
  ipv4AddressesPerEni: 123,
  portRanges: ['portRanges'],
  securityGroupIds: ['securityGroupIds'],
};
```

## Properties

- `dnsResolution`: string — The DNS resolution mode for the resource gateway.

- `hostAddress`: string (required) — The IP address or DNS name of the target resource.

- `ipAddressType`: string — 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.

- `subnetIds`: string[] (required) — The subnets that the service-managed resource gateway spans.

- `vpcId`: string (required) — The VPC to create the service-managed resource gateway in.
