Skip to content
v2.275.0

ServiceManagedModeProperty Struct ​

Configuration for a service-managed Private Connection.

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 ​

dnsResolutionoptionalstringdns_resolutionoptionalstrdnsResolutionoptionalStringDnsResolutionoptionalstringDnsResolutionoptional*string#
DNS resolution mode for the resource gateway.

Defaults to PUBLIC when not set.

hostAddressstringhost_addressstrhostAddressStringHostAddressstringHostAddress*stringrequired#
IP address or DNS name of the target resource.
ipAddressTypeoptionalstringip_address_typeoptionalstripAddressTypeoptionalStringIpAddressTypeoptionalstringIpAddressTypeoptional*string#
IP address type of the service-managed Resource Gateway.
ipv4AddressesPerEnioptionalnumberipv4_addresses_per_enioptionalint | floatipv4AddressesPerEnioptionalNumberIpv4AddressesPerEnioptionaldoubleIpv4AddressesPerEnioptional*float64#
Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
portRangesoptionalstring[]port_rangesoptionaltyping.List[str]portRangesoptionalList<String>PortRangesoptionalstring[]PortRangesoptional*[]*string#
TCP port ranges that a consumer can use to access the resource.
securityGroupIdsoptionalstring[]security_group_idsoptionaltyping.List[str]securityGroupIdsoptionalList<String>SecurityGroupIdsoptionalstring[]SecurityGroupIdsoptional*[]*string#
Security groups to attach to the service-managed Resource Gateway.
subnetIdsoptionalstring[]subnet_idsoptionaltyping.List[str]subnetIdsoptionalList<String>SubnetIdsoptionalstring[]SubnetIdsoptional*[]*string#
Subnets that the service-managed Resource Gateway will span.
vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*stringrequired#
VPC to create the service-managed Resource Gateway in.