Show / Hide Table of Contents

Class CfnMaintenanceWindowTargetProps

Properties for defining a CfnMaintenanceWindowTarget.

Inheritance
object
CfnMaintenanceWindowTargetProps
Implements
ICfnMaintenanceWindowTargetProps
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 CfnMaintenanceWindowTargetProps : ICfnMaintenanceWindowTargetProps
Syntax (vb)
Public Class CfnMaintenanceWindowTargetProps Implements ICfnMaintenanceWindowTargetProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.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 cfnMaintenanceWindowTargetProps = new CfnMaintenanceWindowTargetProps {
                 ResourceType = "resourceType",
                 Targets = new [] { new TargetsProperty {
                     Key = "key",
                     Values = new [] { "values" }
                 } },
                 WindowId = "windowId",

                 // the properties below are optional
                 Description = "description",
                 Name = "name",
                 OwnerInformation = "ownerInformation"
             };

Synopsis

Constructors

CfnMaintenanceWindowTargetProps()

Properties for defining a CfnMaintenanceWindowTarget.

Properties

Description

A description for the target.

Name

The name for the maintenance window target.

OwnerInformation

A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.

ResourceType

The type of target that is being registered with the maintenance window.

Targets

The targets to register with the maintenance window.

WindowId

The ID of the maintenance window to register the target with.

Constructors

CfnMaintenanceWindowTargetProps()

Properties for defining a CfnMaintenanceWindowTarget.

public CfnMaintenanceWindowTargetProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.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 cfnMaintenanceWindowTargetProps = new CfnMaintenanceWindowTargetProps {
                 ResourceType = "resourceType",
                 Targets = new [] { new TargetsProperty {
                     Key = "key",
                     Values = new [] { "values" }
                 } },
                 WindowId = "windowId",

                 // the properties below are optional
                 Description = "description",
                 Name = "name",
                 OwnerInformation = "ownerInformation"
             };

Properties

Description

A description for the target.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-description

Name

The name for the maintenance window target.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-name

OwnerInformation

A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-ownerinformation

ResourceType

The type of target that is being registered with the maintenance window.

public string ResourceType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-resourcetype

Targets

The targets to register with the maintenance window.

public object Targets { get; set; }
Property Value

object

Remarks

In other words, the instances to run commands on when the maintenance window runs.

You must specify targets by using the WindowTargetIds parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-targets

WindowId

The ID of the maintenance window to register the target with.

public string WindowId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-windowid

Implements

ICfnMaintenanceWindowTargetProps
Back to top Generated by DocFX