Class CfnInstance.SsmAssociationProperty
Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstance.SsmAssociationProperty : CfnInstance.ISsmAssociationProperty
Syntax (vb)
Public Class CfnInstance.SsmAssociationProperty 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() | Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance. |
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()
Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance.
public SsmAssociationProperty()
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" }
} }
};
Properties
AssociationParameters
The input parameter values to use with the associated SSM document.
public object? AssociationParameters { get; set; }
Property Value
Remarks
DocumentName
The name of an SSM document to associate with the instance.
public string DocumentName { get; set; }