Class RestApiArgs
Inherited Members
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 SourceRestApiArgs()
Declaration
public RestApiArgs()
Properties
View SourceApiKeySource
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> |
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> |
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> |
Description
The description of the REST API
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
Name
The name of the REST API
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
Tags
Key-value map of resource tags
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |