@Stability(value=Stable) public static final class SdkCallsPolicyOptions.Builder extends Object implements software.amazon.jsii.Builder<SdkCallsPolicyOptions>
SdkCallsPolicyOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SdkCallsPolicyOptions |
build()
Builds the configured instance.
|
SdkCallsPolicyOptions.Builder |
resources(List<String> resources)
Sets the value of
SdkCallsPolicyOptions.getResources() |
@Stability(value=Stable) public SdkCallsPolicyOptions.Builder resources(List<String> resources)
SdkCallsPolicyOptions.getResources()resources - The resources that the calls will have access to. This parameter is required.
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.
this@Stability(value=Stable) public SdkCallsPolicyOptions build()
build in interface software.amazon.jsii.Builder<SdkCallsPolicyOptions>SdkCallsPolicyOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.