import * as core from "@terrascript/core"; export interface DsSdkArgs { /** * (Optional) A key-value map of query string parameters `sdk_type` properties of the SDK. For SDK Type * of `objectivec` or `swift`, a parameter named `classPrefix` is required. For SDK Type of `android`, * parameters named `groupId`, `artifactId`, `artifactVersion`, and `invokerPackage` are required. For * SDK Type of `java`, parameters named `serviceName` and `javaPackageName` are required. */ parameters?: core.Map | core.MapOut; /** * (Required) The identifier of the associated REST API. */ restApiId: string | core.StringOut; /** * (Required) The language for the generated SDK. Currently `java`, `javascript`, `android`, `objective * c` (for iOS), `swift` (for iOS), and `ruby` are supported. */ sdkType: string | core.StringOut; /** * (Required) The name of the Stage that will be exported. */ stageName: string | core.StringOut; } export class DsSdk extends core.Data { /** * The SDK as a string. */ @core.attr(String, { computed: true }) public body!: string | core.StringOut; /** * The content-disposition header value in the HTTP response. */ @core.attr(String, { computed: true }) public contentDisposition!: string | core.StringOut; /** * The content-type header value in the HTTP response. */ @core.attr(String, { computed: true }) public contentType!: string | core.StringOut; /** * The `REST-API-ID:STAGE-NAME` */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A key-value map of query string parameters `sdk_type` properties of the SDK. For SDK Type * of `objectivec` or `swift`, a parameter named `classPrefix` is required. For SDK Type of `android`, * parameters named `groupId`, `artifactId`, `artifactVersion`, and `invokerPackage` are required. For * SDK Type of `java`, parameters named `serviceName` and `javaPackageName` are required. */ @core.attr(String, { kind: "map" }) public parameters?: core.Map | core.MapOut; /** * (Required) The identifier of the associated REST API. */ @core.attr(String) public restApiId!: string | core.StringOut; /** * (Required) The language for the generated SDK. Currently `java`, `javascript`, `android`, `objective * c` (for iOS), `swift` (for iOS), and `ruby` are supported. */ @core.attr(String) public sdkType!: string | core.StringOut; /** * (Required) The name of the Stage that will be exported. */ @core.attr(String) public stageName!: string | core.StringOut; constructor(name: string, args?: DsSdkArgs) { super(name, "aws_api_gateway_sdk", args); } public override getNamespace(): string { return "aws_api_gateway"; } }