Interface CfnInstance.ISsmAssociationProperty
Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ISsmAssociationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AssociationParameters
The input parameter values to use with the associated SSM document.
virtual object AssociationParameters { get; }
Property Value
System.Object
Remarks
DocumentName
The name of an SSM document to associate with the instance.
string DocumentName { get; }
Property Value
System.String