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 | The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon. |
| ClusterArn | The Amazon Resource Name (ARN) of the cluster that the daemon is running in. |
| DaemonName | Properties for defining a |
| DaemonTaskDefinitionArn | The Amazon Resource Name (ARN) of the daemon task definition used by this revision. |
| DeploymentConfiguration | Optional deployment parameters that control how a daemon rolls out updates across container instances. |
| EnableEcsManagedTags | Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. |
| EnableExecuteCommand | Specifies whether the execute command functionality is turned on for the daemon tasks. |
| PropagateTags | Specifies whether tags are propagated from the daemon to the daemon tasks. |
| 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
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
public string[]? CapacityProviderArns { get; set; }
Property Value
string[]
Remarks
ClusterArn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
public string? ClusterArn { get; set; }
Property Value
Remarks
DaemonName
Properties for defining a CfnDaemon.
public string? DaemonName { get; set; }
Property Value
Remarks
DaemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
public string? DaemonTaskDefinitionArn { get; set; }
Property Value
Remarks
DeploymentConfiguration
Optional deployment parameters that control how a daemon rolls out updates across container instances.
public object? DeploymentConfiguration { get; set; }
Property Value
Remarks
EnableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
public object? EnableEcsManagedTags { get; set; }
Property Value
Remarks
EnableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks.
public object? EnableExecuteCommand { get; set; }
Property Value
Remarks
PropagateTags
Specifies whether tags are propagated from the daemon to the daemon tasks.
public string? PropagateTags { get; set; }
Property Value
Remarks
Tags
Properties for defining a CfnDaemon.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]