1. Packages
  2. Azure Native v2
  3. API Docs
  4. awsconnector
  5. ApiGatewayRestApi
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.awsconnector.ApiGatewayRestApi

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.

Example Usage

ApiGatewayRestApis_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var apiGatewayRestApi = new AzureNative.AwsConnector.ApiGatewayRestApi("apiGatewayRestApi", new()
    {
        Location = "lvqczthlir",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.ApiGatewayRestApiPropertiesArgs
        {
            Arn = "mjkvrfpgenxbfozh",
            AwsAccountId = "qjcvyhdegwhvzsiuqjwnvdqs",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsApiGatewayRestApiPropertiesArgs
            {
                ApiKeySourceType = "f",
                BinaryMediaTypes = new[]
                {
                    "ahebgkheozatj",
                },
                Body = null,
                BodyS3Location = new AzureNative.AwsConnector.Inputs.S3LocationArgs
                {
                    Bucket = "oyosqpl",
                    ETag = "uuzlkbqlua",
                    Key = "nsks",
                    Version = "lxbmxdrsftqwazmgxlokuvf",
                },
                CloneFrom = "boxfqilij",
                Description = "ngqhnoniiohuwofr",
                DisableExecuteApiEndpoint = true,
                EndpointConfiguration = new AzureNative.AwsConnector.Inputs.EndpointConfigurationArgs
                {
                    Types = new[]
                    {
                        "dfhdcsvbasfadeuneaz",
                    },
                    VpcEndpointIds = new[]
                    {
                        "evzbafcpdpklwppge",
                    },
                },
                FailOnWarnings = true,
                MinimumCompressionSize = 11,
                Mode = "odjmjlcgkmskasrasoegyxnuqr",
                Name = "ioyxag",
                Parameters = 
                {
                    { "key9886", "kwxjcmpsfptfkdeajrzqt" },
                },
                Policy = "jefpbspvgtinulqfyjxuxcunzkpgvw",
                RestApiId = "hlyfcdcgknhbjezdxgbg",
                RootResourceId = "jfmgp",
                Tags = new[]
                {
                    new AzureNative.AwsConnector.Inputs.TagArgs
                    {
                        Key = "zvkbvzxmbhtugr",
                        Value = "uozcrgrc",
                    },
                },
            },
            AwsRegion = "bzj",
            AwsSourceSchema = "oagqktjiz",
            AwsTags = 
            {
                { "key5478", "g" },
            },
            PublicCloudConnectorsResourceId = "diszsfnljduoshvzzgcyypsjnxs",
            PublicCloudResourceName = "tvtpphxonsvnvtmccbpcsvvvslbxxc",
        },
        ResourceGroupName = "rgapiGatewayRestApi",
        Tags = 
        {
            { "key4163", "gqwufsfmbcznfkcfnjsejmna" },
        },
    });

});
Copy
package main

import (
	awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awsconnector.NewApiGatewayRestApi(ctx, "apiGatewayRestApi", &awsconnector.ApiGatewayRestApiArgs{
			Location: pulumi.String("lvqczthlir"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.ApiGatewayRestApiPropertiesArgs{
				Arn:          pulumi.String("mjkvrfpgenxbfozh"),
				AwsAccountId: pulumi.String("qjcvyhdegwhvzsiuqjwnvdqs"),
				AwsProperties: &awsconnector.AwsApiGatewayRestApiPropertiesArgs{
					ApiKeySourceType: pulumi.String("f"),
					BinaryMediaTypes: pulumi.StringArray{
						pulumi.String("ahebgkheozatj"),
					},
					Body: pulumi.Any(map[string]interface{}{}),
					BodyS3Location: &awsconnector.S3LocationArgs{
						Bucket:  pulumi.String("oyosqpl"),
						ETag:    pulumi.String("uuzlkbqlua"),
						Key:     pulumi.String("nsks"),
						Version: pulumi.String("lxbmxdrsftqwazmgxlokuvf"),
					},
					CloneFrom:                 pulumi.String("boxfqilij"),
					Description:               pulumi.String("ngqhnoniiohuwofr"),
					DisableExecuteApiEndpoint: pulumi.Bool(true),
					EndpointConfiguration: &awsconnector.EndpointConfigurationArgs{
						Types: pulumi.StringArray{
							pulumi.String("dfhdcsvbasfadeuneaz"),
						},
						VpcEndpointIds: pulumi.StringArray{
							pulumi.String("evzbafcpdpklwppge"),
						},
					},
					FailOnWarnings:         pulumi.Bool(true),
					MinimumCompressionSize: pulumi.Int(11),
					Mode:                   pulumi.String("odjmjlcgkmskasrasoegyxnuqr"),
					Name:                   pulumi.String("ioyxag"),
					Parameters: pulumi.StringMap{
						"key9886": pulumi.String("kwxjcmpsfptfkdeajrzqt"),
					},
					Policy:         pulumi.String("jefpbspvgtinulqfyjxuxcunzkpgvw"),
					RestApiId:      pulumi.String("hlyfcdcgknhbjezdxgbg"),
					RootResourceId: pulumi.String("jfmgp"),
					Tags: awsconnector.TagArray{
						&awsconnector.TagArgs{
							Key:   pulumi.String("zvkbvzxmbhtugr"),
							Value: pulumi.String("uozcrgrc"),
						},
					},
				},
				AwsRegion:       pulumi.String("bzj"),
				AwsSourceSchema: pulumi.String("oagqktjiz"),
				AwsTags: pulumi.StringMap{
					"key5478": pulumi.String("g"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("diszsfnljduoshvzzgcyypsjnxs"),
				PublicCloudResourceName:         pulumi.String("tvtpphxonsvnvtmccbpcsvvvslbxxc"),
			},
			ResourceGroupName: pulumi.String("rgapiGatewayRestApi"),
			Tags: pulumi.StringMap{
				"key4163": pulumi.String("gqwufsfmbcznfkcfnjsejmna"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.ApiGatewayRestApi;
import com.pulumi.azurenative.awsconnector.ApiGatewayRestApiArgs;
import com.pulumi.azurenative.awsconnector.inputs.ApiGatewayRestApiPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsApiGatewayRestApiPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.S3LocationArgs;
import com.pulumi.azurenative.awsconnector.inputs.EndpointConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var apiGatewayRestApi = new ApiGatewayRestApi("apiGatewayRestApi", ApiGatewayRestApiArgs.builder()
            .location("lvqczthlir")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(ApiGatewayRestApiPropertiesArgs.builder()
                .arn("mjkvrfpgenxbfozh")
                .awsAccountId("qjcvyhdegwhvzsiuqjwnvdqs")
                .awsProperties(AwsApiGatewayRestApiPropertiesArgs.builder()
                    .apiKeySourceType("f")
                    .binaryMediaTypes("ahebgkheozatj")
                    .body()
                    .bodyS3Location(S3LocationArgs.builder()
                        .bucket("oyosqpl")
                        .eTag("uuzlkbqlua")
                        .key("nsks")
                        .version("lxbmxdrsftqwazmgxlokuvf")
                        .build())
                    .cloneFrom("boxfqilij")
                    .description("ngqhnoniiohuwofr")
                    .disableExecuteApiEndpoint(true)
                    .endpointConfiguration(EndpointConfigurationArgs.builder()
                        .types("dfhdcsvbasfadeuneaz")
                        .vpcEndpointIds("evzbafcpdpklwppge")
                        .build())
                    .failOnWarnings(true)
                    .minimumCompressionSize(11)
                    .mode("odjmjlcgkmskasrasoegyxnuqr")
                    .name("ioyxag")
                    .parameters(Map.of("key9886", "kwxjcmpsfptfkdeajrzqt"))
                    .policy("jefpbspvgtinulqfyjxuxcunzkpgvw")
                    .restApiId("hlyfcdcgknhbjezdxgbg")
                    .rootResourceId("jfmgp")
                    .tags(TagArgs.builder()
                        .key("zvkbvzxmbhtugr")
                        .value("uozcrgrc")
                        .build())
                    .build())
                .awsRegion("bzj")
                .awsSourceSchema("oagqktjiz")
                .awsTags(Map.of("key5478", "g"))
                .publicCloudConnectorsResourceId("diszsfnljduoshvzzgcyypsjnxs")
                .publicCloudResourceName("tvtpphxonsvnvtmccbpcsvvvslbxxc")
                .build())
            .resourceGroupName("rgapiGatewayRestApi")
            .tags(Map.of("key4163", "gqwufsfmbcznfkcfnjsejmna"))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const apiGatewayRestApi = new azure_native.awsconnector.ApiGatewayRestApi("apiGatewayRestApi", {
    location: "lvqczthlir",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "mjkvrfpgenxbfozh",
        awsAccountId: "qjcvyhdegwhvzsiuqjwnvdqs",
        awsProperties: {
            apiKeySourceType: "f",
            binaryMediaTypes: ["ahebgkheozatj"],
            body: {},
            bodyS3Location: {
                bucket: "oyosqpl",
                eTag: "uuzlkbqlua",
                key: "nsks",
                version: "lxbmxdrsftqwazmgxlokuvf",
            },
            cloneFrom: "boxfqilij",
            description: "ngqhnoniiohuwofr",
            disableExecuteApiEndpoint: true,
            endpointConfiguration: {
                types: ["dfhdcsvbasfadeuneaz"],
                vpcEndpointIds: ["evzbafcpdpklwppge"],
            },
            failOnWarnings: true,
            minimumCompressionSize: 11,
            mode: "odjmjlcgkmskasrasoegyxnuqr",
            name: "ioyxag",
            parameters: {
                key9886: "kwxjcmpsfptfkdeajrzqt",
            },
            policy: "jefpbspvgtinulqfyjxuxcunzkpgvw",
            restApiId: "hlyfcdcgknhbjezdxgbg",
            rootResourceId: "jfmgp",
            tags: [{
                key: "zvkbvzxmbhtugr",
                value: "uozcrgrc",
            }],
        },
        awsRegion: "bzj",
        awsSourceSchema: "oagqktjiz",
        awsTags: {
            key5478: "g",
        },
        publicCloudConnectorsResourceId: "diszsfnljduoshvzzgcyypsjnxs",
        publicCloudResourceName: "tvtpphxonsvnvtmccbpcsvvvslbxxc",
    },
    resourceGroupName: "rgapiGatewayRestApi",
    tags: {
        key4163: "gqwufsfmbcznfkcfnjsejmna",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

api_gateway_rest_api = azure_native.awsconnector.ApiGatewayRestApi("apiGatewayRestApi",
    location="lvqczthlir",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "mjkvrfpgenxbfozh",
        "aws_account_id": "qjcvyhdegwhvzsiuqjwnvdqs",
        "aws_properties": {
            "api_key_source_type": "f",
            "binary_media_types": ["ahebgkheozatj"],
            "body": {},
            "body_s3_location": {
                "bucket": "oyosqpl",
                "e_tag": "uuzlkbqlua",
                "key": "nsks",
                "version": "lxbmxdrsftqwazmgxlokuvf",
            },
            "clone_from": "boxfqilij",
            "description": "ngqhnoniiohuwofr",
            "disable_execute_api_endpoint": True,
            "endpoint_configuration": {
                "types": ["dfhdcsvbasfadeuneaz"],
                "vpc_endpoint_ids": ["evzbafcpdpklwppge"],
            },
            "fail_on_warnings": True,
            "minimum_compression_size": 11,
            "mode": "odjmjlcgkmskasrasoegyxnuqr",
            "name": "ioyxag",
            "parameters": {
                "key9886": "kwxjcmpsfptfkdeajrzqt",
            },
            "policy": "jefpbspvgtinulqfyjxuxcunzkpgvw",
            "rest_api_id": "hlyfcdcgknhbjezdxgbg",
            "root_resource_id": "jfmgp",
            "tags": [{
                "key": "zvkbvzxmbhtugr",
                "value": "uozcrgrc",
            }],
        },
        "aws_region": "bzj",
        "aws_source_schema": "oagqktjiz",
        "aws_tags": {
            "key5478": "g",
        },
        "public_cloud_connectors_resource_id": "diszsfnljduoshvzzgcyypsjnxs",
        "public_cloud_resource_name": "tvtpphxonsvnvtmccbpcsvvvslbxxc",
    },
    resource_group_name="rgapiGatewayRestApi",
    tags={
        "key4163": "gqwufsfmbcznfkcfnjsejmna",
    })
Copy
resources:
  apiGatewayRestApi:
    type: azure-native:awsconnector:ApiGatewayRestApi
    properties:
      location: lvqczthlir
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: mjkvrfpgenxbfozh
        awsAccountId: qjcvyhdegwhvzsiuqjwnvdqs
        awsProperties:
          apiKeySourceType: f
          binaryMediaTypes:
            - ahebgkheozatj
          body: {}
          bodyS3Location:
            bucket: oyosqpl
            eTag: uuzlkbqlua
            key: nsks
            version: lxbmxdrsftqwazmgxlokuvf
          cloneFrom: boxfqilij
          description: ngqhnoniiohuwofr
          disableExecuteApiEndpoint: true
          endpointConfiguration:
            types:
              - dfhdcsvbasfadeuneaz
            vpcEndpointIds:
              - evzbafcpdpklwppge
          failOnWarnings: true
          minimumCompressionSize: 11
          mode: odjmjlcgkmskasrasoegyxnuqr
          name: ioyxag
          parameters:
            key9886: kwxjcmpsfptfkdeajrzqt
          policy: jefpbspvgtinulqfyjxuxcunzkpgvw
          restApiId: hlyfcdcgknhbjezdxgbg
          rootResourceId: jfmgp
          tags:
            - key: zvkbvzxmbhtugr
              value: uozcrgrc
        awsRegion: bzj
        awsSourceSchema: oagqktjiz
        awsTags:
          key5478: g
        publicCloudConnectorsResourceId: diszsfnljduoshvzzgcyypsjnxs
        publicCloudResourceName: tvtpphxonsvnvtmccbpcsvvvslbxxc
      resourceGroupName: rgapiGatewayRestApi
      tags:
        key4163: gqwufsfmbcznfkcfnjsejmna
Copy

Create ApiGatewayRestApi Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApiGatewayRestApi(name: string, args: ApiGatewayRestApiArgs, opts?: CustomResourceOptions);
@overload
def ApiGatewayRestApi(resource_name: str,
                      args: ApiGatewayRestApiArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def ApiGatewayRestApi(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_group_name: Optional[str] = None,
                      location: Optional[str] = None,
                      name: Optional[str] = None,
                      properties: Optional[ApiGatewayRestApiPropertiesArgs] = None,
                      tags: Optional[Mapping[str, str]] = None)
func NewApiGatewayRestApi(ctx *Context, name string, args ApiGatewayRestApiArgs, opts ...ResourceOption) (*ApiGatewayRestApi, error)
public ApiGatewayRestApi(string name, ApiGatewayRestApiArgs args, CustomResourceOptions? opts = null)
public ApiGatewayRestApi(String name, ApiGatewayRestApiArgs args)
public ApiGatewayRestApi(String name, ApiGatewayRestApiArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:ApiGatewayRestApi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApiGatewayRestApiArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApiGatewayRestApiArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApiGatewayRestApiArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApiGatewayRestApiArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApiGatewayRestApiArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var apiGatewayRestApiResource = new AzureNative.Awsconnector.ApiGatewayRestApi("apiGatewayRestApiResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = 
    {
        { "arn", "string" },
        { "awsAccountId", "string" },
        { "awsProperties", 
        {
            { "apiKeySourceType", "string" },
            { "binaryMediaTypes", new[]
            {
                "string",
            } },
            { "body", "any" },
            { "bodyS3Location", 
            {
                { "bucket", "string" },
                { "eTag", "string" },
                { "key", "string" },
                { "version", "string" },
            } },
            { "cloneFrom", "string" },
            { "description", "string" },
            { "disableExecuteApiEndpoint", false },
            { "endpointConfiguration", 
            {
                { "types", new[]
                {
                    "string",
                } },
                { "vpcEndpointIds", new[]
                {
                    "string",
                } },
            } },
            { "failOnWarnings", false },
            { "minimumCompressionSize", 0 },
            { "mode", "string" },
            { "name", "string" },
            { "parameters", 
            {
                { "string", "string" },
            } },
            { "policy", "string" },
            { "restApiId", "string" },
            { "rootResourceId", "string" },
            { "tags", new[]
            {
                
                {
                    { "key", "string" },
                    { "value", "string" },
                },
            } },
        } },
        { "awsRegion", "string" },
        { "awsSourceSchema", "string" },
        { "awsTags", 
        {
            { "string", "string" },
        } },
        { "publicCloudConnectorsResourceId", "string" },
        { "publicCloudResourceName", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := awsconnector.NewApiGatewayRestApi(ctx, "apiGatewayRestApiResource", &awsconnector.ApiGatewayRestApiArgs{
	ResourceGroupName: "string",
	Location:          "string",
	Name:              "string",
	Properties: map[string]interface{}{
		"arn":          "string",
		"awsAccountId": "string",
		"awsProperties": map[string]interface{}{
			"apiKeySourceType": "string",
			"binaryMediaTypes": []string{
				"string",
			},
			"body": "any",
			"bodyS3Location": map[string]interface{}{
				"bucket":  "string",
				"eTag":    "string",
				"key":     "string",
				"version": "string",
			},
			"cloneFrom":                 "string",
			"description":               "string",
			"disableExecuteApiEndpoint": false,
			"endpointConfiguration": map[string]interface{}{
				"types": []string{
					"string",
				},
				"vpcEndpointIds": []string{
					"string",
				},
			},
			"failOnWarnings":         false,
			"minimumCompressionSize": 0,
			"mode":                   "string",
			"name":                   "string",
			"parameters": map[string]interface{}{
				"string": "string",
			},
			"policy":         "string",
			"restApiId":      "string",
			"rootResourceId": "string",
			"tags": []map[string]interface{}{
				map[string]interface{}{
					"key":   "string",
					"value": "string",
				},
			},
		},
		"awsRegion":       "string",
		"awsSourceSchema": "string",
		"awsTags": map[string]interface{}{
			"string": "string",
		},
		"publicCloudConnectorsResourceId": "string",
		"publicCloudResourceName":         "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var apiGatewayRestApiResource = new ApiGatewayRestApi("apiGatewayRestApiResource", ApiGatewayRestApiArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
api_gateway_rest_api_resource = azure_native.awsconnector.ApiGatewayRestApi("apiGatewayRestApiResource",
    resource_group_name=string,
    location=string,
    name=string,
    properties={
        arn: string,
        awsAccountId: string,
        awsProperties: {
            apiKeySourceType: string,
            binaryMediaTypes: [string],
            body: any,
            bodyS3Location: {
                bucket: string,
                eTag: string,
                key: string,
                version: string,
            },
            cloneFrom: string,
            description: string,
            disableExecuteApiEndpoint: False,
            endpointConfiguration: {
                types: [string],
                vpcEndpointIds: [string],
            },
            failOnWarnings: False,
            minimumCompressionSize: 0,
            mode: string,
            name: string,
            parameters: {
                string: string,
            },
            policy: string,
            restApiId: string,
            rootResourceId: string,
            tags: [{
                key: string,
                value: string,
            }],
        },
        awsRegion: string,
        awsSourceSchema: string,
        awsTags: {
            string: string,
        },
        publicCloudConnectorsResourceId: string,
        publicCloudResourceName: string,
    },
    tags={
        string: string,
    })
Copy
const apiGatewayRestApiResource = new azure_native.awsconnector.ApiGatewayRestApi("apiGatewayRestApiResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            apiKeySourceType: "string",
            binaryMediaTypes: ["string"],
            body: "any",
            bodyS3Location: {
                bucket: "string",
                eTag: "string",
                key: "string",
                version: "string",
            },
            cloneFrom: "string",
            description: "string",
            disableExecuteApiEndpoint: false,
            endpointConfiguration: {
                types: ["string"],
                vpcEndpointIds: ["string"],
            },
            failOnWarnings: false,
            minimumCompressionSize: 0,
            mode: "string",
            name: "string",
            parameters: {
                string: "string",
            },
            policy: "string",
            restApiId: "string",
            rootResourceId: "string",
            tags: [{
                key: "string",
                value: "string",
            }],
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:awsconnector:ApiGatewayRestApi
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            apiKeySourceType: string
            binaryMediaTypes:
                - string
            body: any
            bodyS3Location:
                bucket: string
                eTag: string
                key: string
                version: string
            cloneFrom: string
            description: string
            disableExecuteApiEndpoint: false
            endpointConfiguration:
                types:
                    - string
                vpcEndpointIds:
                    - string
            failOnWarnings: false
            minimumCompressionSize: 0
            mode: string
            name: string
            parameters:
                string: string
            policy: string
            restApiId: string
            rootResourceId: string
            tags:
                - key: string
                  value: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Copy

ApiGatewayRestApi Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ApiGatewayRestApi resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of ApiGatewayRestApi
Properties Pulumi.AzureNative.AwsConnector.Inputs.ApiGatewayRestApiProperties
The resource-specific properties for this resource.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of ApiGatewayRestApi
Properties ApiGatewayRestApiPropertiesArgs
The resource-specific properties for this resource.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of ApiGatewayRestApi
properties ApiGatewayRestApiProperties
The resource-specific properties for this resource.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
name Changes to this property will trigger replacement. string
Name of ApiGatewayRestApi
properties ApiGatewayRestApiProperties
The resource-specific properties for this resource.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
name Changes to this property will trigger replacement. str
Name of ApiGatewayRestApi
properties ApiGatewayRestApiPropertiesArgs
The resource-specific properties for this resource.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of ApiGatewayRestApi
properties Property Map
The resource-specific properties for this resource.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApiGatewayRestApi resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
SystemData Pulumi.AzureNative.AwsConnector.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ApiGatewayRestApiProperties
, ApiGatewayRestApiPropertiesArgs

Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsApiGatewayRestApiProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsApiGatewayRestApiProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsApiGatewayRestApiProperties
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsApiGatewayRestApiProperties
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsApiGatewayRestApiProperties
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

ApiGatewayRestApiPropertiesResponse
, ApiGatewayRestApiPropertiesResponseArgs

ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsApiGatewayRestApiPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsApiGatewayRestApiPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsApiGatewayRestApiPropertiesResponse
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
provisioningState This property is required. string
The status of the last operation.
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsApiGatewayRestApiPropertiesResponse
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
provisioning_state This property is required. str
The status of the last operation.
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsApiGatewayRestApiPropertiesResponse
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

AwsApiGatewayRestApiProperties
, AwsApiGatewayRestApiPropertiesArgs

ApiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
BinaryMediaTypes List<string>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
Body object
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
BodyS3Location Pulumi.AzureNative.AwsConnector.Inputs.S3Location
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
CloneFrom string
The ID of the RestApi that you want to clone from.
Description string
The description of the RestApi.
DisableExecuteApiEndpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
EndpointConfiguration Pulumi.AzureNative.AwsConnector.Inputs.EndpointConfiguration
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
FailOnWarnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
MinimumCompressionSize int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
Mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
Name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
Parameters Dictionary<string, string>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
Policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
RestApiId string
Property restApiId
RootResourceId string
Property rootResourceId
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.Tag>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
ApiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
BinaryMediaTypes []string
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
Body interface{}
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
BodyS3Location S3Location
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
CloneFrom string
The ID of the RestApi that you want to clone from.
Description string
The description of the RestApi.
DisableExecuteApiEndpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
EndpointConfiguration EndpointConfiguration
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
FailOnWarnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
MinimumCompressionSize int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
Mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
Name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
Parameters map[string]string
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
Policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
RestApiId string
Property restApiId
RootResourceId string
Property rootResourceId
Tags []Tag
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType String
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes List<String>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Object
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location S3Location
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom String
The ID of the RestApi that you want to clone from.
description String
The description of the RestApi.
disableExecuteApiEndpoint Boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration EndpointConfiguration
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings Boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize Integer
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode String
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name String
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Map<String,String>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy String
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId String
Property restApiId
rootResourceId String
Property rootResourceId
tags List<Tag>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes string[]
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location S3Location
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom string
The ID of the RestApi that you want to clone from.
description string
The description of the RestApi.
disableExecuteApiEndpoint boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration EndpointConfiguration
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize number
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters {[key: string]: string}
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId string
Property restApiId
rootResourceId string
Property rootResourceId
tags Tag[]
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
api_key_source_type str
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binary_media_types Sequence[str]
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
body_s3_location S3Location
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
clone_from str
The ID of the RestApi that you want to clone from.
description str
The description of the RestApi.
disable_execute_api_endpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpoint_configuration EndpointConfiguration
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
fail_on_warnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimum_compression_size int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode str
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name str
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Mapping[str, str]
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy str
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
rest_api_id str
Property restApiId
root_resource_id str
Property rootResourceId
tags Sequence[Tag]
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType String
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes List<String>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location Property Map
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom String
The ID of the RestApi that you want to clone from.
description String
The description of the RestApi.
disableExecuteApiEndpoint Boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration Property Map
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings Boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize Number
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode String
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name String
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Map<String>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy String
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId String
Property restApiId
rootResourceId String
Property rootResourceId
tags List<Property Map>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

AwsApiGatewayRestApiPropertiesResponse
, AwsApiGatewayRestApiPropertiesResponseArgs

ApiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
BinaryMediaTypes List<string>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
Body object
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
BodyS3Location Pulumi.AzureNative.AwsConnector.Inputs.S3LocationResponse
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
CloneFrom string
The ID of the RestApi that you want to clone from.
Description string
The description of the RestApi.
DisableExecuteApiEndpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
EndpointConfiguration Pulumi.AzureNative.AwsConnector.Inputs.EndpointConfigurationResponse
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
FailOnWarnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
MinimumCompressionSize int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
Mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
Name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
Parameters Dictionary<string, string>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
Policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
RestApiId string
Property restApiId
RootResourceId string
Property rootResourceId
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.TagResponse>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
ApiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
BinaryMediaTypes []string
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
Body interface{}
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
BodyS3Location S3LocationResponse
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
CloneFrom string
The ID of the RestApi that you want to clone from.
Description string
The description of the RestApi.
DisableExecuteApiEndpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
EndpointConfiguration EndpointConfigurationResponse
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
FailOnWarnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
MinimumCompressionSize int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
Mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
Name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
Parameters map[string]string
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
Policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
RestApiId string
Property restApiId
RootResourceId string
Property rootResourceId
Tags []TagResponse
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType String
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes List<String>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Object
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location S3LocationResponse
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom String
The ID of the RestApi that you want to clone from.
description String
The description of the RestApi.
disableExecuteApiEndpoint Boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration EndpointConfigurationResponse
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings Boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize Integer
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode String
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name String
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Map<String,String>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy String
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId String
Property restApiId
rootResourceId String
Property rootResourceId
tags List<TagResponse>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType string
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes string[]
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location S3LocationResponse
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom string
The ID of the RestApi that you want to clone from.
description string
The description of the RestApi.
disableExecuteApiEndpoint boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration EndpointConfigurationResponse
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize number
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode string
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name string
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters {[key: string]: string}
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy string
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId string
Property restApiId
rootResourceId string
Property rootResourceId
tags TagResponse[]
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
api_key_source_type str
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binary_media_types Sequence[str]
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
body_s3_location S3LocationResponse
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
clone_from str
The ID of the RestApi that you want to clone from.
description str
The description of the RestApi.
disable_execute_api_endpoint bool
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpoint_configuration EndpointConfigurationResponse
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
fail_on_warnings bool
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimum_compression_size int
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode str
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name str
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Mapping[str, str]
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy str
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
rest_api_id str
Property restApiId
root_resource_id str
Property rootResourceId
tags Sequence[TagResponse]
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
apiKeySourceType String
The source of the API key for metering requests according to a usage plan. Valid values are: HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
binaryMediaTypes List<String>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
body Any
An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
bodyS3Location Property Map
The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative, becoming the foundation of the OpenAPI Specification.
cloneFrom String
The ID of the RestApi that you want to clone from.
description String
The description of the RestApi.
disableExecuteApiEndpoint Boolean
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
endpointConfiguration Property Map
A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the Parameters property. The EndpointConfiguration property type specifies the endpoint types of a REST API. EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
failOnWarnings Boolean
A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.
minimumCompressionSize Number
A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
mode String
This property applies only when you use OpenAPI to define your REST API. The Mode determines how API Gateway handles resource updates. Valid values are overwrite or merge. For overwrite, the new API definition replaces the existing one. The existing API identifier remains unchanged. For merge, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is overwrite. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
name String
The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
parameters Map<String>
Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.
policy String
A policy document that contains the permissions for the RestApi resource. To set the ARN for the policy, use the !Join intrinsic function with '' as delimiter and values of 'execute-api:/' and '*'.
restApiId String
Property restApiId
rootResourceId String
Property rootResourceId
tags List<Property Map>
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

EndpointConfiguration
, EndpointConfigurationArgs

Types List<string>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
VpcEndpointIds List<string>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
Types []string
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
VpcEndpointIds []string
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types List<String>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds List<String>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types string[]
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds string[]
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types Sequence[str]
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpc_endpoint_ids Sequence[str]
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types List<String>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds List<String>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

EndpointConfigurationResponse
, EndpointConfigurationResponseArgs

Types List<string>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
VpcEndpointIds List<string>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
Types []string
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
VpcEndpointIds []string
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types List<String>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds List<String>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types string[]
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds string[]
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types Sequence[str]
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpc_endpoint_ids Sequence[str]
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
types List<String>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is 'EDGE'. For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpcEndpointIds List<String>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

S3Location
, S3LocationArgs

Bucket string
The name of the S3 bucket where the OpenAPI file is stored.
ETag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
Key string
The file name of the OpenAPI file (Amazon S3 object name).
Version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
Bucket string
The name of the S3 bucket where the OpenAPI file is stored.
ETag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
Key string
The file name of the OpenAPI file (Amazon S3 object name).
Version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket String
The name of the S3 bucket where the OpenAPI file is stored.
eTag String
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key String
The file name of the OpenAPI file (Amazon S3 object name).
version String
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket string
The name of the S3 bucket where the OpenAPI file is stored.
eTag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key string
The file name of the OpenAPI file (Amazon S3 object name).
version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket str
The name of the S3 bucket where the OpenAPI file is stored.
e_tag str
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key str
The file name of the OpenAPI file (Amazon S3 object name).
version str
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket String
The name of the S3 bucket where the OpenAPI file is stored.
eTag String
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key String
The file name of the OpenAPI file (Amazon S3 object name).
version String
For versioning-enabled buckets, a specific version of the OpenAPI file.

S3LocationResponse
, S3LocationResponseArgs

Bucket string
The name of the S3 bucket where the OpenAPI file is stored.
ETag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
Key string
The file name of the OpenAPI file (Amazon S3 object name).
Version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
Bucket string
The name of the S3 bucket where the OpenAPI file is stored.
ETag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
Key string
The file name of the OpenAPI file (Amazon S3 object name).
Version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket String
The name of the S3 bucket where the OpenAPI file is stored.
eTag String
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key String
The file name of the OpenAPI file (Amazon S3 object name).
version String
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket string
The name of the S3 bucket where the OpenAPI file is stored.
eTag string
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key string
The file name of the OpenAPI file (Amazon S3 object name).
version string
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket str
The name of the S3 bucket where the OpenAPI file is stored.
e_tag str
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key str
The file name of the OpenAPI file (Amazon S3 object name).
version str
For versioning-enabled buckets, a specific version of the OpenAPI file.
bucket String
The name of the S3 bucket where the OpenAPI file is stored.
eTag String
The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
key String
The file name of the OpenAPI file (Amazon S3 object name).
version String
For versioning-enabled buckets, a specific version of the OpenAPI file.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Tag
, TagArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

TagResponse
, TagResponseArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:awsconnector:ApiGatewayRestApi fkngxaddvxbddxbt /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/apiGatewayRestApis/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi