@Stability(value=Stable)
public static interface CfnFunction.DeploymentPreferenceProperty
extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.DeploymentPreferenceProperty.Builder
A builder for
CfnFunction.DeploymentPreferenceProperty |
static class |
CfnFunction.DeploymentPreferenceProperty.Jsii$Proxy
An implementation for
CfnFunction.DeploymentPreferenceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.DeploymentPreferenceProperty.Builder |
builder() |
default List<String> |
getAlarms()
`CfnFunction.DeploymentPreferenceProperty.Alarms`.
|
Object |
getEnabled()
`CfnFunction.DeploymentPreferenceProperty.Enabled`.
|
default Object |
getHooks()
`CfnFunction.DeploymentPreferenceProperty.Hooks`.
|
String |
getType()
`CfnFunction.DeploymentPreferenceProperty.Type`.
|
@Stability(value=Stable) @NotNull Object getEnabled()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default List<String> getAlarms()
@Stability(value=Stable) @Nullable default Object getHooks()
@Stability(value=Stable) static CfnFunction.DeploymentPreferenceProperty.Builder builder()
Copyright © 2023. All rights reserved.