Data Source: awsApiGatewaySdk
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsApiGatewaySdk.DataAwsApiGatewaySdk(this, "example", {
parameters: {
artifactId: "example",
artifactVersion: "example",
groupId: "example",
invokerPackage: "example",
},
restApiId: "${aws_api_gateway_stage.example.rest_api_id}",
sdkType: "android",
stageName: "${aws_api_gateway_stage.example.stage_name}",
});
Argument Reference
restApiId
- (Required) Identifier of the associated REST API. stageName
- (Required) Name of the Stage that will be exported. sdkType
- (Required) Language for the generated SDK. Currently java
, javascript
, android
, objectivec
(for iOS), swift
(for iOS), and ruby
are supported. parameters
- (Optional) Key-value map of query string parameters sdkType
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.
Attributes Reference
id
- The restApiId:stageName
body
- SDK as a string. contentType
- Content-type header value in the HTTP response. contentDisposition
- Content-disposition header value in the HTTP response.