@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.320Z") @Stability(value=Stable) public interface AwsApiProps extends software.amazon.jsii.JsiiSerializable, AwsApiInput
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.targets.*;
import software.amazon.awscdk.services.iam.*;
Object parameters;
PolicyStatement policyStatement;
AwsApiProps awsApiProps = AwsApiProps.builder()
.action("action")
.service("service")
// the properties below are optional
.apiVersion("apiVersion")
.catchErrorPattern("catchErrorPattern")
.parameters(parameters)
.policyStatement(policyStatement)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AwsApiProps.Builder
A builder for
AwsApiProps |
static class |
AwsApiProps.Jsii$Proxy
An implementation for
AwsApiProps |
| Modifier and Type | Method and Description |
|---|---|
static AwsApiProps.Builder |
builder() |
default PolicyStatement |
getPolicyStatement()
The IAM policy statement to allow the API call.
|
getAction, getApiVersion, getCatchErrorPattern, getParameters, getService@Stability(value=Stable) @Nullable default PolicyStatement getPolicyStatement()
Use only if resource restriction is needed.
Default: - extract the permission from the API call
@Stability(value=Stable) static AwsApiProps.Builder builder()
builder in interface AwsApiInputAwsApiProps.Builder of AwsApiPropsCopyright © 2022. All rights reserved.