OutboundConnection.reference constructor

OutboundConnection.reference(
  1. String urn
)

Creates a typed reference to an existing OutboundConnection resource.

Implementation

OutboundConnection.reference(String urn)
  : super(
      'aws:opensearch/outboundConnection:OutboundConnection',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  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>()); });
}