> **Experimental**
>
> `@aws-cdk/integ-tests-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# AwsApiCallProps

Construct that creates a custom resource that will perform a query using the AWS SDK.

Extends: [AwsApiCallOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_integ-tests-alpha.AwsApiCallOptions.html)
Used as props by: [AwsApiCall](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_integ-tests-alpha.AwsApiCall.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/assertions/sdk.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.ts#L49)

## Example

TypeScript:

```ts
declare const myAppStack: Stack;

new AwsApiCall(myAppStack, 'GetObject', {
  service: 'S3',
  api: 'getObject',
});
```

Python:

```python
# my_app_stack: Stack

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

Java:

```java
Stack myAppStack;

AwsApiCall.Builder.create(myAppStack, "GetObject")
        .service("S3")
        .api("getObject")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.IntegTests.Alpha
Stack myAppStack;

new AwsApiCall(myAppStack, "GetObject", new AwsApiCallProps {
    Service = "S3",
    Api = "getObject"
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2
var myAppStack Stack

awscdkintegtestsalpha.NewAwsApiCall(myAppStack, jsii.String("GetObject"), &AwsApiCallProps{
	Service: jsii.String("S3"),
	Api: jsii.String("getObject"),
})
```

## Properties

- `api`: string (required) — The api call to make, i.e. getBucketLifecycle.

- `outputPaths`: string[] — Restrict the data returned by the API call to specific paths in the API response.

  **Default:** return all data

  Use this to limit the data returned by the custom
  resource if working with API calls that could potentially result in custom
  response objects exceeding the hard limit of 4096 bytes.

- `parameters`: any — Any parameters to pass to the api call.

  **Default:** no parameters

- `providerLogLevel`: [ApplicationLogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.ApplicationLogLevel.html) = ApplicationLogLevel.FATAL — The log level of the provider lambda function.

- `service`: string (required) — The AWS service, i.e. S3.
