Interface SdkCallsPolicyOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.056Z") @Stability(Stable) public interface SdkCallsPolicyOptions extends
Options for the auto-generation of policies based on the configured SDK calls.


 AwsCustomResource awsCustom = AwsCustomResource.Builder.create(this, "aws-custom")
                         "text", "..."))
                         "text", "...",
                         "resourceId", new PhysicalResourceIdReference()))
  • Method Details

    • getResources

      @Stability(Stable) @NotNull List<String> getResources()
      The resources that the calls will have access to.

      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.

    • builder

      @Stability(Stable) static SdkCallsPolicyOptions.Builder builder()
      a SdkCallsPolicyOptions.Builder of SdkCallsPolicyOptions