Interface AddSmithyTargetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AddSmithyTargetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-19T19:44:36.889Z")
@Stability(Stable)
public interface AddSmithyTargetOptions
extends software.amazon.jsii.JsiiSerializable
Options for adding a Smithy target to a gateway.
Example:
Gateway gateway = Gateway.Builder.create(this, "MyGateway")
.gatewayName("my-gateway")
.build();
AssetApiSchema smithySchema = ApiSchema.fromLocalAsset(path.join(__dirname, "models", "smithy-model.json"));
smithySchema.bind(this);
GatewayTarget smithyTarget = gateway.addSmithyTarget("MySmithyTarget", AddSmithyTargetOptions.builder()
.gatewayTargetName("my-smithy-target")
.description("Smithy model target")
.smithyModel(smithySchema)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAddSmithyTargetOptionsstatic final classAn implementation forAddSmithyTargetOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default List<ICredentialProviderConfig> Credential providers for authentication.default StringOptional description for the gateway target.default StringThe name of the gateway target Valid characters are a-z, A-Z, 0-9, _ (underscore) and - (hyphen).The Smithy model defining the API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSmithyModel
The Smithy model defining the API. -
getCredentialProviderConfigurations
@Stability(Stable) @Nullable default List<ICredentialProviderConfig> getCredentialProviderConfigurations()Credential providers for authentication.Default: - [GatewayCredentialProvider.iamRole()]
-
getDescription
Optional description for the gateway target.Default: - No description
-
getGatewayTargetName
The name of the gateway target Valid characters are a-z, A-Z, 0-9, _ (underscore) and - (hyphen).Default: - auto generate
-
builder
- Returns:
- a
AddSmithyTargetOptions.BuilderofAddSmithyTargetOptions
-