OutboundConnection constructor

OutboundConnection(
  1. String name, {
  2. OutboundConnectionArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new OutboundConnection. name The Pulumi resource name. args Arguments used to configure this OutboundConnection. The set of arguments for OutboundConnection. options Resource options controlling this resource's behavior.

Implementation

OutboundConnection(
  String name, {
  OutboundConnectionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:opensearch/outboundConnection:OutboundConnection',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  acceptConnection = registerOutput<bool?>('acceptConnection');
  connectionAlias = registerOutput<String>('connectionAlias');
  connectionMode = registerOutput<String>('connectionMode');
  connectionProperties = registerOutput<OutboundConnectionConnectionProperties>('connectionProperties', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OutboundConnectionConnectionProperties.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  connectionStatus = registerOutput<String>('connectionStatus');
  localDomainInfo = registerOutput<OutboundConnectionLocalDomainInfo>('localDomainInfo', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OutboundConnectionLocalDomainInfo.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  remoteDomainInfo = registerOutput<OutboundConnectionRemoteDomainInfo>('remoteDomainInfo', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OutboundConnectionRemoteDomainInfo.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}