Skip to content
v2.278.0

IntegrationReference Struct ​

A reference to a Integration resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as interfaces_apigatewayv2 } from 'aws-cdk-lib/interfaces';
const integrationReference: interfaces_apigatewayv2.IntegrationReference = {
  apiId: 'apiId',
  integrationId: 'integrationId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_apigatewayv2 as interfaces_apigatewayv2

integration_reference = interfaces_apigatewayv2.IntegrationReference(
    api_id="apiId",
    integration_id="integrationId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.apigatewayv2.*;

IntegrationReference integrationReference = IntegrationReference.builder()
        .apiId("apiId")
        .integrationId("integrationId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Apigatewayv2;

var integrationReference = new IntegrationReference {
    ApiId = "apiId",
    IntegrationId = "integrationId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

integrationReference := &IntegrationReference{
	ApiId: jsii.String("apiId"),
	IntegrationId: jsii.String("integrationId"),
}

Properties ​

apiIdstringapi_idstrapiIdStringApiIdstringApiId*string required #
The ApiId of the Integration resource.
integrationIdstringintegration_idstrintegrationIdStringIntegrationIdstringIntegrationId*string required #
The IntegrationId of the Integration resource.