Class CfnDaemonProps
Properties for defining a CfnDaemon.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDaemonProps : ICfnDaemonProps
Syntax (vb)
Public Class CfnDaemonProps Implements ICfnDaemonProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html
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.ECS;
var cfnDaemonProps = new CfnDaemonProps {
CapacityProviderArns = new [] { "capacityProviderArns" },
ClusterArn = "clusterArn",
DaemonName = "daemonName",
DaemonTaskDefinitionArn = "daemonTaskDefinitionArn",
DeploymentConfiguration = new DaemonDeploymentConfigurationProperty {
Alarms = new DaemonAlarmConfigurationProperty {
AlarmNames = new [] { "alarmNames" },
Enable = false
},
BakeTimeInMinutes = 123,
DrainPercent = 123
},
EnableEcsManagedTags = false,
EnableExecuteCommand = false,
PropagateTags = "propagateTags",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnDaemonProps() | Properties for defining a |
Properties
| CapacityProviderArns | Properties for defining a |
| ClusterArn | Properties for defining a |
| DaemonName | Properties for defining a |
| DaemonTaskDefinitionArn | Properties for defining a |
| DeploymentConfiguration | Properties for defining a |
| EnableEcsManagedTags | Properties for defining a |
| EnableExecuteCommand | Properties for defining a |
| PropagateTags | Properties for defining a |
| Tags | Properties for defining a |
Constructors
CfnDaemonProps()
Properties for defining a CfnDaemon.
public CfnDaemonProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html
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.ECS;
var cfnDaemonProps = new CfnDaemonProps {
CapacityProviderArns = new [] { "capacityProviderArns" },
ClusterArn = "clusterArn",
DaemonName = "daemonName",
DaemonTaskDefinitionArn = "daemonTaskDefinitionArn",
DeploymentConfiguration = new DaemonDeploymentConfigurationProperty {
Alarms = new DaemonAlarmConfigurationProperty {
AlarmNames = new [] { "alarmNames" },
Enable = false
},
BakeTimeInMinutes = 123,
DrainPercent = 123
},
EnableEcsManagedTags = false,
EnableExecuteCommand = false,
PropagateTags = "propagateTags",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
CapacityProviderArns
Properties for defining a CfnDaemon.
public string[]? CapacityProviderArns { get; set; }
Property Value
string[]
Remarks
ClusterArn
Properties for defining a CfnDaemon.
public string? ClusterArn { get; set; }
Property Value
Remarks
DaemonName
Properties for defining a CfnDaemon.
public string? DaemonName { get; set; }
Property Value
Remarks
DaemonTaskDefinitionArn
Properties for defining a CfnDaemon.
public string? DaemonTaskDefinitionArn { get; set; }
Property Value
Remarks
DeploymentConfiguration
Properties for defining a CfnDaemon.
public object? DeploymentConfiguration { get; set; }
Property Value
Remarks
EnableEcsManagedTags
Properties for defining a CfnDaemon.
public object? EnableEcsManagedTags { get; set; }
Property Value
Remarks
EnableExecuteCommand
Properties for defining a CfnDaemon.
public object? EnableExecuteCommand { get; set; }
Property Value
Remarks
PropagateTags
Properties for defining a CfnDaemon.
public string? PropagateTags { get; set; }
Property Value
Remarks
Tags
Properties for defining a CfnDaemon.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]