Describe the feature
Add optional service / region arguments to GatewayCredentialProvider.fromIamRole().
GatewayCredentialProvider.fromIamRole({ service: 'bedrock-runtime', region: 'us-east-1' });
Use Case
coverage: missing feature
The L1 IamCredentialProvider (service / region) already exists, but the L2 alpha only emits credentialProviderType: 'GATEWAY_IAM_ROLE' and cannot specify the SigV4 signing service / region. Needed for cross-region calls and for targets where the service can't be inferred from the URL.
Proposed Solution
Add optional props (service?, region?) to fromIamRole(). Zero-arg call keeps existing behavior.
Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.251.0
AWS CDK CLI version
2.1119.0
Environment details (OS name and version, etc.)
all
Describe the feature
Add optional
service/regionarguments toGatewayCredentialProvider.fromIamRole().Use Case
coverage: missing feature
The L1
IamCredentialProvider(service / region) already exists, but the L2 alpha only emitscredentialProviderType: 'GATEWAY_IAM_ROLE'and cannot specify the SigV4 signing service / region. Needed for cross-region calls and for targets where the service can't be inferred from the URL.Proposed Solution
Add optional props (
service?,region?) tofromIamRole(). Zero-arg call keeps existing behavior.Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.251.0
AWS CDK CLI version
2.1119.0
Environment details (OS name and version, etc.)
all