Class CfnFunction.DeploymentPreferenceProperty
Inheritance
System.Object
CfnFunction.DeploymentPreferenceProperty
Implements
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DeploymentPreferenceProperty : Object, CfnFunction.IDeploymentPreferenceProperty
Syntax (vb)
Public Class DeploymentPreferenceProperty
Inherits Object
Implements CfnFunction.IDeploymentPreferenceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;
var deploymentPreferenceProperty = new DeploymentPreferenceProperty {
Alarms = new [] { "alarms" },
Enabled = false,
Hooks = new HooksProperty {
PostTraffic = "postTraffic",
PreTraffic = "preTraffic"
},
Role = "role",
Type = "type"
};
Synopsis
Constructors
DeploymentPreferenceProperty() |
Properties
Alarms | |
Enabled | |
Hooks | |
Role | |
Type |
Constructors
DeploymentPreferenceProperty()
public DeploymentPreferenceProperty()
Properties
Alarms
public string[] Alarms { get; set; }
Property Value
System.String[]
Remarks
Enabled
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Hooks
public object Hooks { get; set; }
Property Value
System.Object
Remarks
Role
public string Role { get; set; }
Property Value
System.String
Remarks
Type
public string Type { get; set; }
Property Value
System.String