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()
.alarms(List.of("alarms"))
.enabled(false)
.hooks(HooksProperty.builder()
.postTraffic("postTraffic")
.preTraffic("preTraffic")
.build())
.role("role")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.DeploymentPreferencePropertystatic final classAn implementation forCfnFunction.DeploymentPreferenceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectgetHooks()Returns union: eitherIResolvableorCfnFunction.HooksPropertydefault StringgetRole()default StringgetType()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarms
- See Also:
-
getEnabled
Returns union: eitherBooleanorIResolvable- See Also:
-
getHooks
Returns union: eitherIResolvableorCfnFunction.HooksProperty- See Also:
-
getRole
- See Also:
-
getType
- See Also:
-
builder
-