ConnectorProfile.reference constructor

ConnectorProfile.reference(
  1. String urn
)

Creates a typed reference to an existing ConnectorProfile resource.

Implementation

ConnectorProfile.reference(String urn)
  : super(
      'aws:appflow/connectorProfile:ConnectorProfile',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  connectionMode = registerOutput<String>('connectionMode');
  connectorLabel = registerOutput<String?>('connectorLabel');
  connectorProfileConfig = registerOutput<ConnectorProfileConnectorProfileConfig>('connectorProfileConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConnectorProfileConnectorProfileConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  connectorType = registerOutput<String>('connectorType');
  credentialsArn = registerOutput<String>('credentialsArn');
  kmsArn = registerOutput<String>('kmsArn');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
}