This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.awsconnector.getApiGatewayRestApi
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Get a ApiGatewayRestApi Azure REST API version: 2024-12-01.
Using getApiGatewayRestApi
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApiGatewayRestApi(args: GetApiGatewayRestApiArgs, opts?: InvokeOptions): Promise<GetApiGatewayRestApiResult>
function getApiGatewayRestApiOutput(args: GetApiGatewayRestApiOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayRestApiResult>
def get_api_gateway_rest_api(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayRestApiResult
def get_api_gateway_rest_api_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiGatewayRestApiResult]
func LookupApiGatewayRestApi(ctx *Context, args *LookupApiGatewayRestApiArgs, opts ...InvokeOption) (*LookupApiGatewayRestApiResult, error)
func LookupApiGatewayRestApiOutput(ctx *Context, args *LookupApiGatewayRestApiOutputArgs, opts ...InvokeOption) LookupApiGatewayRestApiResultOutput
> Note: This function is named LookupApiGatewayRestApi
in the Go SDK.
public static class GetApiGatewayRestApi
{
public static Task<GetApiGatewayRestApiResult> InvokeAsync(GetApiGatewayRestApiArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayRestApiResult> Invoke(GetApiGatewayRestApiInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiGatewayRestApiResult> getApiGatewayRestApi(GetApiGatewayRestApiArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:awsconnector:getApiGatewayRestApi
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of ApiGatewayRestApi
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Name string
- Name of ApiGatewayRestApi
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- name String
- Name of ApiGatewayRestApi
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- name string
- Name of ApiGatewayRestApi
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- name str
- Name of ApiGatewayRestApi
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- name String
- Name of ApiGatewayRestApi
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getApiGatewayRestApi Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Aws Connector. Outputs. Api Gateway Rest Api Properties Response - The resource-specific properties for this resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - 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"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Api
Gateway Rest Api Properties Response - The resource-specific properties for this resource.
- System
Data SystemData Response - 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"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Api
Gateway Rest Api Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - 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"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Api
Gateway Rest Api Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - 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"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Api
Gateway Rest Api Properties Response - The resource-specific properties for this resource.
- system_
data SystemData Response - 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"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- system
Data 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"
- Map<String>
- Resource tags.
Supporting Types
ApiGatewayRestApiPropertiesResponse
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Api Gateway Rest Api Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsApi Gateway Rest Api Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsApi Gateway Rest Api Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsApi Gateway Rest Api Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsApi Gateway Rest Api Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
AwsApiGatewayRestApiPropertiesResponse
- Api
Key stringSource Type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - Binary
Media List<string>Types - 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.
- Body
S3Location Pulumi.Azure Native. Aws Connector. Inputs. S3Location Response - 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 string - The ID of the RestApi that you want to clone from.
- Description string
- The description of the RestApi.
- Disable
Execute boolApi Endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 Pulumi.Azure Native. Aws Connector. Inputs. Endpoint Configuration Response - 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - Fail
On boolWarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - Minimum
Compression intSize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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'*'
. - Rest
Api stringId - Property restApiId
- Root
Resource stringId - Property rootResourceId
- List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Response> - 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 stringSource Type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - Binary
Media []stringTypes - 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.
- Body
S3Location 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 string - The ID of the RestApi that you want to clone from.
- Description string
- The description of the RestApi.
- Disable
Execute boolApi Endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 Response - 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - Fail
On boolWarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - Minimum
Compression intSize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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'*'
. - Rest
Api stringId - Property restApiId
- Root
Resource stringId - Property rootResourceId
- []Tag
Response - 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 StringSource Type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - binary
Media List<String>Types - 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.
- body
S3Location 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 String - The ID of the RestApi that you want to clone from.
- description String
- The description of the RestApi.
- disable
Execute BooleanApi Endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 Response - 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - fail
On BooleanWarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - minimum
Compression IntegerSize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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'*'
. - rest
Api StringId - Property restApiId
- root
Resource StringId - Property rootResourceId
- List<Tag
Response> - 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 stringSource Type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - binary
Media string[]Types - 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
S3Location 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 string - The ID of the RestApi that you want to clone from.
- description string
- The description of the RestApi.
- disable
Execute booleanApi Endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 Response - 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - fail
On booleanWarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - minimum
Compression numberSize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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'*'
. - rest
Api stringId - Property restApiId
- root
Resource stringId - Property rootResourceId
- Tag
Response[] - 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_ strsource_ type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - binary_
media_ Sequence[str]types - 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_ S3Locationlocation Response - 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_ boolapi_ endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 Response - 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - fail_
on_ boolwarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - minimum_
compression_ intsize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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_ strid - Property restApiId
- root_
resource_ strid - Property rootResourceId
- Sequence[Tag
Response] - 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 StringSource Type - The source of the API key for metering requests according to a usage plan. Valid values are:
HEADER
to read the API key from theX-API-Key
header of a request.AUTHORIZER
to read the API key from theUsageIdentifierKey
from a custom authorizer. - binary
Media List<String>Types - 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
S3Location 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. - clone
From String - The ID of the RestApi that you want to clone from.
- description String
- The description of the RestApi.
- disable
Execute BooleanApi Endpoint - Specifies whether clients can invoke your API by using the default
execute-api
endpoint. By default, clients can invoke your API with the defaulthttps://{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 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. TheEndpointConfiguration
property type specifies the endpoint types of a REST API.EndpointConfiguration
is a property of the AWS::ApiGateway::RestApi resource. - fail
On BooleanWarnings - A query parameter to indicate whether to rollback the API update (
true
) or not (false
) when a warning is encountered. The default value isfalse
. - minimum
Compression NumberSize - 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 areoverwrite
ormerge
. Foroverwrite
, the new API definition replaces the existing one. The existing API identifier remains unchanged. Formerge
, 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 isoverwrite
. 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-levelRestApi
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 aparameters
value, as in the AWS CLI command ofaws 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'*'
. - rest
Api StringId - Property restApiId
- root
Resource StringId - Property rootResourceId
- 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.
EndpointConfigurationResponse
- 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - Vpc
Endpoint List<string>Ids - 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - Vpc
Endpoint []stringIds - 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - vpc
Endpoint List<String>Ids - 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - vpc
Endpoint string[]Ids - 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - vpc_
endpoint_ Sequence[str]ids - 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 isREGIONAL
. For a private API, the endpoint type isPRIVATE
. - vpc
Endpoint List<String>Ids - A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for
PRIVATE
endpoint type.
S3LocationResponse
- 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.
- e
Tag 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.
- e
Tag 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.
- e
Tag 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TagResponse
- 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 -.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi