Show / Hide Table of Contents

Class CfnDaemonProps

Properties for defining a CfnDaemon.

Inheritance
object
CfnDaemonProps
Implements
ICfnDaemonProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnDaemon.

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 CfnDaemon.

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 CfnDaemon.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-capacityproviderarns

ClusterArn

The Amazon Resource Name (ARN) of the cluster that the daemon is running in.

public string? ClusterArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-clusterarn

DaemonName

Properties for defining a CfnDaemon.

public string? DaemonName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-daemonname

DaemonTaskDefinitionArn

The Amazon Resource Name (ARN) of the daemon task definition used by this revision.

public string? DaemonTaskDefinitionArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-daemontaskdefinitionarn

DeploymentConfiguration

Optional deployment parameters that control how a daemon rolls out updates across container instances.

public object? DeploymentConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-deploymentconfiguration

Type union: either IResolvable or CfnDaemon.IDaemonDeploymentConfigurationProperty

EnableEcsManagedTags

Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.

public object? EnableEcsManagedTags { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-enableecsmanagedtags

Type union: either bool or IResolvable

EnableExecuteCommand

Specifies whether the execute command functionality is turned on for the daemon tasks.

public object? EnableExecuteCommand { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-enableexecutecommand

Type union: either bool or IResolvable

PropagateTags

Specifies whether tags are propagated from the daemon to the daemon tasks.

public string? PropagateTags { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-propagatetags

Tags

Properties for defining a CfnDaemon.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-tags

Implements

ICfnDaemonProps
Back to top Generated by DocFX