toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'apiEndpoint': ?apiEndpoint,
    'apiKeySelectionExpression': ?apiKeySelectionExpression,
    'arn': ?arn,
    'body': ?body,
    'corsConfiguration': ?pulumi.Input.mapOptionalInputValue<ApiCorsConfiguration, Map<String, dynamic>>(corsConfiguration, (value) => value.toMap()),
    'credentialsArn': ?credentialsArn,
    'description': ?description,
    'disableExecuteApiEndpoint': ?disableExecuteApiEndpoint,
    'executionArn': ?executionArn,
    'failOnWarnings': ?failOnWarnings,
    'ipAddressType': ?ipAddressType,
    'name': ?name,
    'protocolType': ?protocolType,
    'region': ?region,
    'routeKey': ?routeKey,
    'routeSelectionExpression': ?routeSelectionExpression,
    'tags': ?tags,
    'tagsAll': ?tagsAll,
    'target': ?target,
    'version': ?version,
  };
}