Show / Hide Table of Contents

Class CfnInstance.SsmAssociationProperty

Specifies the SSM document and parameter values in AWS Systems Manager to associate with an instance.

Inheritance
object
CfnInstance.SsmAssociationProperty
Implements
CfnInstance.ISsmAssociationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html#cfn-ec2-instance-ssmassociation-associationparameters

Type union: either IResolvable or (either IResolvable or CfnInstance.IAssociationParameterProperty)[]

DocumentName

The name of an SSM document to associate with the instance.

public string DocumentName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html#cfn-ec2-instance-ssmassociation-documentname

Implements

CfnInstance.ISsmAssociationProperty
Back to top Generated by DocFX