Class CfnCustomResourceProps.Builder

java.lang.Object
software.amazon.awscdk.services.cloudformation.CfnCustomResourceProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomResourceProps>
Enclosing interface:
CfnCustomResourceProps

@Stability(Stable) public static final class CfnCustomResourceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomResourceProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • serviceToken

      @Stability(Stable) public CfnCustomResourceProps.Builder serviceToken(String serviceToken)
      Parameters:
      serviceToken -

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

      This parameter is required. 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.

      Returns:
      this
    • build

      @Stability(Stable) public CfnCustomResourceProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnCustomResourceProps>
      Returns:
      a new instance of CfnCustomResourceProps
      Throws:
      NullPointerException - if any required attribute was not provided