-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsssm_CfnAssociation_TargetProperty.go
28 lines (25 loc) · 1.42 KB
/
awsssm_CfnAssociation_TargetProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package awsssm
// `Target` is a property of the [AWS::SSM::Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html) resource that specifies the targets for an SSM document in Systems Manager . You can target all instances in an AWS account by specifying the `InstanceIds` key with a value of `*` . To view a JSON and a YAML example that targets all instances, see "Create an association for all managed instances in an AWS account " on the Examples page.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// targetProperty := &targetProperty{
// key: jsii.String("key"),
// values: []*string{
// jsii.String("values"),
// },
// }
//
type CfnAssociation_TargetProperty struct {
// User-defined criteria for sending commands that target managed nodes that meet the criteria.
Key *string `field:"required" json:"key" yaml:"key"`
// User-defined criteria that maps to `Key` .
//
// 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.
Values *[]*string `field:"required" json:"values" yaml:"values"`
}