{
  "terraformType": "cloud_api_integration",
  "service": "gateway",
  "resourceType": "ApiIntegration",
  "create": "CreateIntegration",
  "read": "GetIntegration",
  "update": null,
  "delete": "DeleteIntegration",
  "list": "ListIntegrations",
  "importId": "{api_id}/{integration_id}",
  "identifierAttrs": [
    "api_id",
    "integration_id"
  ],
  "createOnly": [
    "api_id",
    "integration_type",
    "function_name",
    "event_bus_name"
  ],
  "computed": [
    "id",
    "integration_id"
  ],
  "sensitive": [],
  "readSpec": {
    "calls": [
      {
        "operation": {
          "kind": "cloudJson",
          "service": "gateway",
          "operation": "GetIntegration",
          "target": "CloudGateway.GetIntegration"
        },
        "requestBindings": [
          {
            "requestPath": "apiId",
            "source": {
              "kind": "physicalId",
              "member": "api_id"
            }
          },
          {
            "requestPath": "integrationId",
            "source": {
              "kind": "physicalId",
              "member": "integration_id"
            }
          }
        ]
      }
    ],
    "resultSelector": null,
    "observedFields": [
      {
        "source": {
          "kind": "physicalId",
          "member": "api_id"
        },
        "modelField": "apiId",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "integrationId"
        },
        "modelField": "integrationId",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "integrationType"
        },
        "modelField": "integrationType",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "functionName"
        },
        "modelField": "functionName",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "eventBusName"
        },
        "modelField": "eventBusName",
        "transform": "identity"
      }
    ],
    "readiness": null,
    "stableComputed": "preserveWhenAbsent",
    "stableComputedFields": [
      "id",
      "integrationId"
    ]
  },
  "provider": {
    "resourceKind": "api_integration",
    "physicalId": [
      "api_id",
      "integration_id"
    ],
    "exposeRevision": true,
    "attributes": [
      {
        "name": "id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "api_id",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "integration_type",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "function_name",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "event_bus_name",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "integration_id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      }
    ]
  },
  "updateStrategy": {
    "kind": "replace"
  }
}
