Interface GatewayIamRoleCredentialProviderProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GatewayIamRoleCredentialProviderProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:21.429Z")
@Stability(Stable)
public interface GatewayIamRoleCredentialProviderProps
extends software.amazon.jsii.JsiiSerializable
Properties for configuring the IAM role credential provider.
When a target is authenticated via the gateway's execution role, the gateway signs outbound requests with SigV4. These properties let you tell the gateway which AWS service and region to sign for, instead of letting it infer them from the target endpoint.
Example:
GatewayCredentialProvider.fromIamRole(GatewayIamRoleCredentialProviderProps.builder()
.service("bedrock-runtime") // SigV4 signing name (typically the endpoint prefix); see the AWS service authorization reference
.region("us-east-1")
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGatewayIamRoleCredentialProviderPropsstatic final classAn implementation forGatewayIamRoleCredentialProviderProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegion
The AWS Region used for SigV4 signing of outbound requests. Can be up to 32 characters long.Pattern: ^[a-zA-Z0-9-]+$
Default: - Gateway's own Region
-
getService
The AWS service name used for SigV4 signing of outbound requests.Use the SigV4 signing name (typically the endpoint prefix), e.g.
bedrock-runtime,s3,execute-api,dynamodb. Can be up to 64 characters long.Pattern: ^[a-zA-Z0-9._-]+$
Default: - Gateway infers the service from the target endpoint
- See Also:
-
builder
-