AwsApiCallProps

class aws_cdk.integ_tests.AwsApiCallProps(*, api, service, parameters=None)

Bases: AwsApiCallOptions

(experimental) Options for creating an SDKQuery provider.

Parameters:
  • api (str) – (experimental) The api call to make, i.e. getBucketLifecycle.

  • service (str) – (experimental) The AWS service, i.e. S3.

  • parameters (Optional[Any]) – (experimental) Any parameters to pass to the api call. Default: - no parameters

Stability:

experimental

ExampleMetadata:

infused

Example:

# my_app_stack: Stack


AwsApiCall(my_app_stack, "GetObject",
    service="S3",
    api="getObject"
)

Attributes

api

(experimental) The api call to make, i.e. getBucketLifecycle.

Stability:

experimental

parameters

(experimental) Any parameters to pass to the api call.

Default:
  • no parameters

Stability:

experimental

service

(experimental) The AWS service, i.e. S3.

Stability:

experimental