Skip to content
v2.274.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 ​

dnsResolutionstringdns_resolutionstrdnsResolutionStringDnsResolutionstringDnsResolution*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.
ipAddressTypestringip_address_typestripAddressTypeStringIpAddressTypestringIpAddressType*string#
IP address type of the service-managed Resource Gateway.
ipv4AddressesPerEninumberipv4_addresses_per_eniint | floatipv4AddressesPerEniNumberIpv4AddressesPerEnidoubleIpv4AddressesPerEni*float64#
Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
portRangesstring[]port_rangestyping.List[str]portRangesList<String>PortRangesstring[]PortRanges*[]*string#
TCP port ranges that a consumer can use to access the resource.
securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*string#
Security groups to attach to the service-managed Resource Gateway.
subnetIdsstring[]subnet_idstyping.List[str]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]*string#
Subnets that the service-managed Resource Gateway will span.
vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*stringrequired#
VPC to create the service-managed Resource Gateway in.