IntegrationProps

class aws_cdk.aws_apigateway.IntegrationProps(*, type, integration_http_method=None, options=None, uri=None)

Bases: object

__init__(*, type, integration_http_method=None, options=None, uri=None)
Parameters
  • type (IntegrationType) – Specifies an API method integration type.

  • integration_http_method (Optional[str]) – The integration’s HTTP method type. Required unless you use a MOCK integration.

  • options (Optional[IntegrationOptions]) – Integration options.

  • uri (Optional[Any]) – The Uniform Resource Identifier (URI) for the integration. - If you specify HTTP for the type property, specify the API endpoint URL. - If you specify MOCK for the type property, don’t specify this property. - If you specify AWS for the type property, specify an AWS service that follows this form: arn:aws:apigateway:region:subdomain.service|service:path|action/service_api. For example, a Lambda function URI follows this form: arn:aws:apigateway:region:lambda:path/path. The path is usually in the form /2015-03-31/functions/LambdaFunctionARN/invocations.

Attributes

integration_http_method

The integration’s HTTP method type. Required unless you use a MOCK integration.

Return type

Optional[str]

options

Integration options.

Return type

Optional[IntegrationOptions]

type

Specifies an API method integration type.

Return type

IntegrationType

uri

The Uniform Resource Identifier (URI) for the integration.

  • If you specify HTTP for the type property, specify the API endpoint URL.

  • If you specify MOCK for the type property, don’t specify this property.

  • If you specify AWS for the type property, specify an AWS service that follows this form: arn:aws:apigateway:region:subdomain.service|service:path|action/service_api. For example, a Lambda function URI follows this form: arn:aws:apigateway:region:lambda:path/path. The path is usually in the form /2015-03-31/functions/LambdaFunctionARN/invocations.

see :see: https://docs.aws.amazon.com/apigateway/api-reference/resource/integration/#uri

Return type

Any