import * as core from "@terrascript/core"; export interface RestApiPolicyArgs extends core.ResourceArgs { /** * (Required) JSON formatted policy document that controls access to the API Gateway. For more informat * ion about building AWS IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide]( * https://learn.hashicorp.com/terraform/aws/iam-policy) */ policy: string | core.StringOut; /** * (Required) The ID of the REST API. */ restApiId: string | core.StringOut; } export declare class RestApiPolicy extends core.Resource { /** * The ID of the REST API */ id: string | core.StringOut; /** * (Required) JSON formatted policy document that controls access to the API Gateway. For more informat * ion about building AWS IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide]( * https://learn.hashicorp.com/terraform/aws/iam-policy) */ policy: string | core.StringOut; /** * (Required) The ID of the REST API. */ restApiId: string | core.StringOut; constructor(name: string, args?: RestApiPolicyArgs); getNamespace(): string; } //# sourceMappingURL=rest_api_policy.d.ts.map