def __init__(self, logical_id, cache_cluster_enabled, cache_cluster_size, variables, depends_on,<EOL>definition_body, definition_uri, name, stage_name, endpoint_configuration=None,<EOL>method_settings=None, binary_media=None, minimum_compression_size=None, cors=None,<EOL>auth=None, gateway_responses=None, access_log_setting=None, canary_setting=None,<EOL>tracing_enabled=None, resource_attributes=None, passthrough_resource_attributes=None):
self.logical_id = logical_id<EOL>self.cache_cluster_enabled = cache_cluster_enabled<EOL>self.cache_cluster_size = cache_cluster_size<EOL>self.variables = variables<EOL>self.depends_on = depends_on<EOL>self.definition_body = definition_body<EOL>self.definition_uri = definition_uri<EOL>self.name = name<EOL>self.stage_name = stage_name<EOL>self.endpoint_configuration = endpoint_configuration<EOL>self.method_settings = method_settings<EOL>self.binary_media = binary_media<EOL>self.minimum_compression_size = minimum_compression_size<EOL>self.cors = cors<EOL>self.auth = auth<EOL>self.gateway_responses = gateway_responses<EOL>self.access_log_setting = access_log_setting<EOL>self.canary_setting = canary_setting<EOL>self.tracing_enabled = tracing_enabled<EOL>self.resource_attributes = resource_attributes<EOL>self.passthrough_resource_attributes = passthrough_resource_attributes<EOL>
Constructs an API Generator class that generates API Gateway resources

        :param logical_id: Logical id of the SAM API Resource
        :param cache_cluster_enabled: Whether cache cluster is enabled
        :param cache_cluster_size: Size of the cache cluster
        :param variables: API Gateway Variables
        :param depends_on: Any resources that need to be depended on
        :param definition_body: API definition
        :param definition_uri: URI to API definition
        :param name: Name of the API Gateway resource
        :param stage_name: Name of the Stage
        :param access_log_setting: Whether to send access logs and where for Stage
        :param canary_setting: Canary Setting for Stage
        :param tracing_enabled: Whether active tracing with X-ray is enabled
        :param resource_attributes: Resource attributes to add to API resources
        :param passthrough_resource_attributes: Attributes such as `Condition` that are added to derived resources