Interface CfnFunction.DeploymentPreferenceProperty
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 CfnFunction.DeploymentPreferenceProperty.Jsii$Proxy
- Enclosing class:
 - CfnFunction
 
@Stability(Stable)
public static interface CfnFunction.DeploymentPreferenceProperty
extends software.amazon.jsii.JsiiSerializable
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.sam.*;
 DeploymentPreferenceProperty deploymentPreferenceProperty = DeploymentPreferenceProperty.builder()
         .enabled(false)
         .type("type")
         // the properties below are optional
         .alarms(List.of("alarms"))
         .hooks(HooksProperty.builder()
                 .postTraffic("postTraffic")
                 .preTraffic("preTraffic")
                 .build())
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.DeploymentPreferencePropertystatic final classAn implementation forCfnFunction.DeploymentPreferenceProperty - 
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getEnabled
CfnFunction.DeploymentPreferenceProperty.Enabled. - 
getType
CfnFunction.DeploymentPreferenceProperty.Type. - 
getAlarms
CfnFunction.DeploymentPreferenceProperty.Alarms. - 
getHooks
CfnFunction.DeploymentPreferenceProperty.Hooks. - 
builder
 
 -