import * as core from "@terrascript/core"; export interface DocumentationVersionArgs extends core.ResourceArgs { /** * (Optional) The description of the API documentation version. */ description?: string | core.StringOut; /** * (Required) The ID of the associated Rest API */ restApiId: string | core.StringOut; /** * (Required) The version identifier of the API documentation snapshot. */ version: string | core.StringOut; } export class DocumentationVersion extends core.Resource { /** * (Optional) The description of the API documentation version. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the associated Rest API */ @core.attr(String) public restApiId!: string | core.StringOut; /** * (Required) The version identifier of the API documentation snapshot. */ @core.attr(String) public version!: string | core.StringOut; constructor(name: string, args?: DocumentationVersionArgs) { super(name, "aws_api_gateway_documentation_version", args); } public override getNamespace(): string { return "aws_api_gateway"; } }