IntegrationCredentials
- class aws_cdk.aws_apigatewayv2.IntegrationCredentials
Bases:
object
(experimental) Credentials used for AWS Service integrations.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigatewayv2 as apigatewayv2 import aws_cdk.aws_iam as iam # role: iam.Role integration_credentials = apigatewayv2.IntegrationCredentials.from_role(role)
- Stability:
experimental
Attributes
- credentials_arn
(experimental) The ARN of the credentials.
- Stability:
experimental
Static Methods
- classmethod from_role(role)
(experimental) Use the specified role for integration requests.
- Parameters:
role (
IRole
)- Stability:
experimental
- Return type:
- classmethod use_caller_identity()
(experimental) Use the calling user’s identity to call the integration.
- Stability:
experimental
- Return type: