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.Lib.dll
Syntax (csharp)
public interface CfnInstance.ISsmAssociationProperty
Syntax (vb)
Public Interface 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
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.
object? AssociationParameters { get; }
Property Value
Remarks
DocumentName
The name of an SSM document to associate with the instance.
string DocumentName { get; }