Show / Hide Table of Contents

Interface CfnMaintenanceWindowTargetPropsMixin.ITargetsProperty

The Targets property type specifies adding a target to a maintenance window target in AWS Systems Manager .

Namespace: Amazon.CDK.Mixins.Preview.AWS.SSM.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnMaintenanceWindowTargetPropsMixin.ITargetsProperty
Syntax (vb)
Public Interface CfnMaintenanceWindowTargetPropsMixin.ITargetsProperty
Remarks

Targets is a property of the AWS::SSM::MaintenanceWindowTarget resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtarget-targets.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.Mixins.Preview.AWS.SSM.Mixins;

             var targetsProperty = new TargetsProperty {
                 Key = "key",
                 Values = new [] { "values" }
             };

Synopsis

Properties

Key

User-defined criteria for sending commands that target managed nodes that meet the criteria.

Values

User-defined criteria that maps to Key .

Properties

Key

User-defined criteria for sending commands that target managed nodes that meet the criteria.

string? Key { get; }
Property Value

string

Remarks

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

Values

User-defined criteria that maps to Key .

string[]? Values { get; }
Property Value

string[]

Remarks

For example, if you specified tag:ServerRole , you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer .

Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.

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

Back to top Generated by DocFX