# ServiceManagedModeProperty

Configuration for a service-managed Private Connection.

- Source: Generated code
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const serviceManagedModeProperty: devopsagent.CfnPrivateConnection.ServiceManagedModeProperty = {
  hostAddress: 'hostAddress',
  vpcId: 'vpcId',

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

## Properties

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

  Defaults to PUBLIC when not set.

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

- `ipAddressType`: string — IP address type of the service-managed Resource Gateway.

- `ipv4AddressesPerEni`: number — Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.

- `portRanges`: string[] — TCP port ranges that a consumer can use to access the resource.

- `securityGroupIds`: string[] — Security groups to attach to the service-managed Resource Gateway.

- `subnetIds`: string[] — Subnets that the service-managed Resource Gateway will span.

- `vpcId`: string (required) — VPC to create the service-managed Resource Gateway in.
