Interface CfnHookProps

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:55.673Z") @Stability(Stable) public interface CfnHookProps extends software.amazon.jsii.JsiiSerializable
Construction properties of CfnHook.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 Object properties;
 CfnHookProps cfnHookProps = CfnHookProps.builder()
         .type("type")
         // the properties below are optional
         .properties(Map.of(
                 "propertiesKey", properties))
         .build();
 
  • Method Details

    • getType

      @Stability(Stable) @NotNull String getType()
      The type of the hook (for example, "AWS::CodeDeploy::BlueGreen").
    • getProperties

      @Stability(Stable) @Nullable default Map<String,Object> getProperties()
      The properties of the hook.

      Default: - no properties

    • builder

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