Show / Hide Table of Contents

Class CfnMaintenanceWindowTask.TaskInvocationParametersProperty

The TaskInvocationParameters property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .

Inheritance
object
CfnMaintenanceWindowTask.TaskInvocationParametersProperty
Implements
CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
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.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMaintenanceWindowTask.TaskInvocationParametersProperty : CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Syntax (vb)
Public Class CfnMaintenanceWindowTask.TaskInvocationParametersProperty Implements CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Remarks

TaskInvocationParameters is a property of the AWS::SSM::MaintenanceWindowTask property type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.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.SSM;

             var parameters;

             var taskInvocationParametersProperty = new TaskInvocationParametersProperty {
                 MaintenanceWindowAutomationParameters = new MaintenanceWindowAutomationParametersProperty {
                     DocumentVersion = "documentVersion",
                     Parameters = parameters
                 },
                 MaintenanceWindowLambdaParameters = new MaintenanceWindowLambdaParametersProperty {
                     ClientContext = "clientContext",
                     Payload = "payload",
                     Qualifier = "qualifier"
                 },
                 MaintenanceWindowRunCommandParameters = new MaintenanceWindowRunCommandParametersProperty {
                     CloudWatchOutputConfig = new CloudWatchOutputConfigProperty {
                         CloudWatchLogGroupName = "cloudWatchLogGroupName",
                         CloudWatchOutputEnabled = false
                     },
                     Comment = "comment",
                     DocumentHash = "documentHash",
                     DocumentHashType = "documentHashType",
                     DocumentVersion = "documentVersion",
                     NotificationConfig = new NotificationConfigProperty {
                         NotificationArn = "notificationArn",

                         // the properties below are optional
                         NotificationEvents = new [] { "notificationEvents" },
                         NotificationType = "notificationType"
                     },
                     OutputS3BucketName = "outputS3BucketName",
                     OutputS3KeyPrefix = "outputS3KeyPrefix",
                     Parameters = parameters,
                     ServiceRoleArn = "serviceRoleArn",
                     TimeoutSeconds = 123
                 },
                 MaintenanceWindowStepFunctionsParameters = new MaintenanceWindowStepFunctionsParametersProperty {
                     Input = "input",
                     Name = "name"
                 }
             };

Synopsis

Constructors

TaskInvocationParametersProperty()

The TaskInvocationParameters property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .

Properties

MaintenanceWindowAutomationParameters

The parameters for an AUTOMATION task type.

MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.

MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.

MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type.

Constructors

TaskInvocationParametersProperty()

The TaskInvocationParameters property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .

public TaskInvocationParametersProperty()
Remarks

TaskInvocationParameters is a property of the AWS::SSM::MaintenanceWindowTask property type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.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.SSM;

             var parameters;

             var taskInvocationParametersProperty = new TaskInvocationParametersProperty {
                 MaintenanceWindowAutomationParameters = new MaintenanceWindowAutomationParametersProperty {
                     DocumentVersion = "documentVersion",
                     Parameters = parameters
                 },
                 MaintenanceWindowLambdaParameters = new MaintenanceWindowLambdaParametersProperty {
                     ClientContext = "clientContext",
                     Payload = "payload",
                     Qualifier = "qualifier"
                 },
                 MaintenanceWindowRunCommandParameters = new MaintenanceWindowRunCommandParametersProperty {
                     CloudWatchOutputConfig = new CloudWatchOutputConfigProperty {
                         CloudWatchLogGroupName = "cloudWatchLogGroupName",
                         CloudWatchOutputEnabled = false
                     },
                     Comment = "comment",
                     DocumentHash = "documentHash",
                     DocumentHashType = "documentHashType",
                     DocumentVersion = "documentVersion",
                     NotificationConfig = new NotificationConfigProperty {
                         NotificationArn = "notificationArn",

                         // the properties below are optional
                         NotificationEvents = new [] { "notificationEvents" },
                         NotificationType = "notificationType"
                     },
                     OutputS3BucketName = "outputS3BucketName",
                     OutputS3KeyPrefix = "outputS3KeyPrefix",
                     Parameters = parameters,
                     ServiceRoleArn = "serviceRoleArn",
                     TimeoutSeconds = 123
                 },
                 MaintenanceWindowStepFunctionsParameters = new MaintenanceWindowStepFunctionsParametersProperty {
                     Input = "input",
                     Name = "name"
                 }
             };

Properties

MaintenanceWindowAutomationParameters

The parameters for an AUTOMATION task type.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowautomationparameters

Type union: either IResolvable or CfnMaintenanceWindowTask.IMaintenanceWindowAutomationParametersProperty

MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowlambdaparameters

Type union: either IResolvable or CfnMaintenanceWindowTask.IMaintenanceWindowLambdaParametersProperty

MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowruncommandparameters

Type union: either IResolvable or CfnMaintenanceWindowTask.IMaintenanceWindowRunCommandParametersProperty

MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowstepfunctionsparameters

Type union: either IResolvable or CfnMaintenanceWindowTask.IMaintenanceWindowStepFunctionsParametersProperty

Implements

CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Back to top Generated by DocFX