Show / Hide Table of Contents

Class CfnComputeNodeGroupPropsMixin.NodeLifecycleScriptProperty

A single lifecycle script with its source, arguments, and error behavior.

Inheritance
object
CfnComputeNodeGroupPropsMixin.NodeLifecycleScriptProperty
Implements
CfnComputeNodeGroupPropsMixin.INodeLifecycleScriptProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.PCS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnComputeNodeGroupPropsMixin.NodeLifecycleScriptProperty : CfnComputeNodeGroupPropsMixin.INodeLifecycleScriptProperty
Syntax (vb)
Public Class CfnComputeNodeGroupPropsMixin.NodeLifecycleScriptProperty Implements CfnComputeNodeGroupPropsMixin.INodeLifecycleScriptProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.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.CfnPropertyMixins.AWS.PCS;

             var nodeLifecycleScriptProperty = new NodeLifecycleScriptProperty {
                 Arguments = new [] { "arguments" },
                 ExecutionPolicy = "executionPolicy",
                 Name = "name",
                 OnError = "onError",
                 ScriptSource = new ScriptSourceProperty {
                     Checksum = "checksum",
                     S3VersionId = "s3VersionId",
                     ScriptLocation = "scriptLocation"
                 }
             };

Synopsis

Constructors

NodeLifecycleScriptProperty()

A single lifecycle script with its source, arguments, and error behavior.

Properties

Arguments

An ordered list of arguments passed to the script.

ExecutionPolicy

Whether the script runs only on the node's first boot (FIRST_BOOT_ONLY) or on every boot including reboots (EVERY_BOOT).

Name

A human-readable name that identifies the script.

OnError

The behavior when the script exits with an error.

ScriptSource

The external location of a lifecycle script.

Constructors

NodeLifecycleScriptProperty()

A single lifecycle script with its source, arguments, and error behavior.

public NodeLifecycleScriptProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.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.CfnPropertyMixins.AWS.PCS;

             var nodeLifecycleScriptProperty = new NodeLifecycleScriptProperty {
                 Arguments = new [] { "arguments" },
                 ExecutionPolicy = "executionPolicy",
                 Name = "name",
                 OnError = "onError",
                 ScriptSource = new ScriptSourceProperty {
                     Checksum = "checksum",
                     S3VersionId = "s3VersionId",
                     ScriptLocation = "scriptLocation"
                 }
             };

Properties

Arguments

An ordered list of arguments passed to the script.

public string[]? Arguments { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.html#cfn-pcs-computenodegroup-nodelifecyclescript-arguments

ExecutionPolicy

Whether the script runs only on the node's first boot (FIRST_BOOT_ONLY) or on every boot including reboots (EVERY_BOOT).

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

string

Remarks

Defaults to FIRST_BOOT_ONLY.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.html#cfn-pcs-computenodegroup-nodelifecyclescript-executionpolicy

Name

A human-readable name that identifies the script.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.html#cfn-pcs-computenodegroup-nodelifecyclescript-name

OnError

The behavior when the script exits with an error.

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

string

Remarks

Defaults to TERMINATE.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.html#cfn-pcs-computenodegroup-nodelifecyclescript-onerror

ScriptSource

The external location of a lifecycle script.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-nodelifecyclescript.html#cfn-pcs-computenodegroup-nodelifecyclescript-scriptsource

Type union: either IResolvable or CfnComputeNodeGroupPropsMixin.IScriptSourceProperty

Implements

CfnComputeNodeGroupPropsMixin.INodeLifecycleScriptProperty
Back to top Generated by DocFX