Class CfnInstance.SsmAssociationProperty
Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance.
Inheritance
System.Object
CfnInstance.SsmAssociationProperty
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SsmAssociationProperty : Object, CfnInstance.ISsmAssociationProperty
Syntax (vb)
Public Class SsmAssociationProperty
Inherits Object
Implements CfnInstance.ISsmAssociationProperty
Remarks
SsmAssociations
is a property of the AWS::EC2::Instance resource.
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.EC2;
var ssmAssociationProperty = new SsmAssociationProperty {
DocumentName = "documentName",
// the properties below are optional
AssociationParameters = new [] { new AssociationParameterProperty {
Key = "key",
Value = new [] { "value" }
} }
};
Synopsis
Constructors
SsmAssociationProperty() |
Properties
AssociationParameters | The input parameter values to use with the associated SSM document. |
DocumentName | The name of an SSM document to associate with the instance. |
Constructors
SsmAssociationProperty()
public SsmAssociationProperty()
Properties
AssociationParameters
The input parameter values to use with the associated SSM document.
public object AssociationParameters { get; set; }
Property Value
System.Object
Remarks
DocumentName
The name of an SSM document to associate with the instance.
public string DocumentName { get; set; }
Property Value
System.String