IntegrationResponse constructor

IntegrationResponse(
  1. String name, {
  2. IntegrationResponseArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

IntegrationResponse(
  String name, {
  IntegrationResponseArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:apigatewayv2/integrationResponse:IntegrationResponse',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  apiId = registerOutput<String>('apiId');
  contentHandlingStrategy = registerOutput<String?>('contentHandlingStrategy');
  integrationId = registerOutput<String>('integrationId');
  integrationResponseKey = registerOutput<String>('integrationResponseKey');
  region = registerOutput<String>('region');
  responseTemplates = registerOutput<Map<String, String>?>('responseTemplates', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  templateSelectionExpression = registerOutput<String?>('templateSelectionExpression');
}