interface RestApiReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.APIGateway.RestApiReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsapigateway#RestApiReference |
Java | software.amazon.awscdk.interfaces.apigateway.RestApiReference |
Python | aws_cdk.interfaces.aws_apigateway.RestApiReference |
TypeScript | aws-cdk-lib » interfaces » aws_apigateway » RestApiReference |
A reference to a RestApi resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as interfaces_aws_apigateway } from 'aws-cdk-lib/interfaces';
const restApiReference: interfaces_aws_apigateway.RestApiReference = {
restApiId: 'restApiId',
};
Properties
| Name | Type | Description |
|---|---|---|
| rest | string | The RestApiId of the RestApi resource. |
restApiId
Type:
string
The RestApiId of the RestApi resource.

.NET
Go
Java
Python
TypeScript