Show / Hide Table of Contents

Class RestApiArgs

Inheritance
System.Object
InputArgs
ResourceArgs
RestApiArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApiGateway
Assembly: Pulumi.Aws.dll
Syntax
public sealed class RestApiArgs : ResourceArgs

Constructors

View Source

RestApiArgs()

Declaration
public RestApiArgs()

Properties

View Source

ApiKeySource

The source of the API key for requests. Valid values are HEADER (default) and AUTHORIZER.

Declaration
public Input<string> ApiKeySource { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BinaryMediaTypes

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

Declaration
public InputList<string> BinaryMediaTypes { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Body

An OpenAPI specification that defines the set of routes and integrations to create as part of the REST API.

Declaration
public Input<string> Body { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

The description of the REST API

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EndpointConfiguration

Nested argument defining API endpoint configuration including endpoint type. Defined below.

Declaration
public Input<RestApiEndpointConfigurationArgs> EndpointConfiguration { get; set; }
Property Value
Type Description
Input<RestApiEndpointConfigurationArgs>
View Source

MinimumCompressionSize

Minimum response size to compress for the REST API. Integer between -1 and 10485760 (10MB). Setting a value greater than -1 will enable compression, -1 disables compression (default).

Declaration
public Input<int> MinimumCompressionSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

The name of the REST API

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Policy

JSON formatted policy document that controls access to the API Gateway.

Declaration
public Input<string> Policy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

Key-value map of resource tags

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.