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