Interface CfnCustomResourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCustomResourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.503Z") @Stability(Stable) public interface CfnCustomResourceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnCustomResource.

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.cloudformation.*;
 CfnCustomResourceProps cfnCustomResourceProps = CfnCustomResourceProps.builder()
         .serviceToken("serviceToken")
         .build();
 
  • Method Details

    • getServiceToken

      @Stability(Stable) @NotNull String getServiceToken()

      Only one property is defined by AWS for a custom resource: ServiceToken .

      All other properties are defined by the service provider.

      The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating the stack.

      Updates aren't supported.

    • builder

      @Stability(Stable) static CfnCustomResourceProps.Builder builder()
      Returns:
      a CfnCustomResourceProps.Builder of CfnCustomResourceProps