Class IntegrationCredentials
(experimental) Credentials used for AWS Service integrations.
Inheritance
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public abstract class IntegrationCredentials : DeputyBase
Syntax (vb)
Public MustInherit Class IntegrationCredentials
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
using Amazon.CDK.AWS.IAM;
Role role;
var integrationCredentials = IntegrationCredentials.FromRole(role);
Synopsis
Constructors
IntegrationCredentials() | |
IntegrationCredentials(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
IntegrationCredentials(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CredentialsArn | (experimental) The ARN of the credentials. |
Methods
FromRole(IRole) | (experimental) Use the specified role for integration requests. |
UseCallerIdentity() | (experimental) Use the calling user's identity to call the integration. |
Constructors
IntegrationCredentials()
protected IntegrationCredentials()
Remarks
Stability: Experimental
IntegrationCredentials(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected IntegrationCredentials(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
IntegrationCredentials(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected IntegrationCredentials(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CredentialsArn
(experimental) The ARN of the credentials.
public abstract string CredentialsArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
FromRole(IRole)
(experimental) Use the specified role for integration requests.
public static IntegrationCredentials FromRole(IRole role)
Parameters
- role IRole
Returns
Remarks
Stability: Experimental
UseCallerIdentity()
(experimental) Use the calling user's identity to call the integration.
public static IntegrationCredentials UseCallerIdentity()
Returns
Remarks
Stability: Experimental