@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:16.498Z") @Stability(value=Experimental) public interface SdkCallsPolicyOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.customresources.*;
SdkCallsPolicyOptions sdkCallsPolicyOptions = SdkCallsPolicyOptions.builder()
.resources(List.of("resources"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SdkCallsPolicyOptions.Builder
A builder for
SdkCallsPolicyOptions |
static class |
SdkCallsPolicyOptions.Jsii$Proxy
An implementation for
SdkCallsPolicyOptions |
| Modifier and Type | Method and Description |
|---|---|
static SdkCallsPolicyOptions.Builder |
builder() |
List<String> |
getResources()
(experimental) The resources that the calls will have access to.
|
@Stability(value=Experimental) @NotNull List<String> getResources()
It is best to use specific resource ARN's when possible. However, you can also use AwsCustomResourcePolicy.ANY_RESOURCE
to allow access to all resources. For example, when onCreate is used to create a resource which you don't
know the physical name of in advance.
Note that will apply to ALL SDK calls.
@Stability(value=Experimental) static SdkCallsPolicyOptions.Builder builder()
SdkCallsPolicyOptions.Builder of SdkCallsPolicyOptionsCopyright © 2022. All rights reserved.