FunctionEventInvokeConfig.reference constructor

FunctionEventInvokeConfig.reference(
  1. String urn
)

Creates a typed reference to an existing FunctionEventInvokeConfig resource.

Implementation

FunctionEventInvokeConfig.reference(String urn)
  : super(
      'aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  destinationConfig = registerOutput<FunctionEventInvokeConfigDestinationConfig?>('destinationConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FunctionEventInvokeConfigDestinationConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  functionName = registerOutput<String>('functionName');
  maximumEventAgeInSeconds = registerOutput<int?>('maximumEventAgeInSeconds');
  maximumRetryAttempts = registerOutput<int?>('maximumRetryAttempts');
  qualifier = registerOutput<String?>('qualifier');
  region = registerOutput<String>('region');
}