aws-cdk-lib.aws_ec2.CfnInstance.SsmAssociationProperty

interface SsmAssociationProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnInstance.SsmAssociationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnInstance_SsmAssociationProperty
Javasoftware.amazon.awscdk.services.ec2.CfnInstance.SsmAssociationProperty
Pythonaws_cdk.aws_ec2.CfnInstance.SsmAssociationProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnInstance » SsmAssociationProperty

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

SsmAssociations is a property of the AWS::EC2::Instance resource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const ssmAssociationProperty: ec2.CfnInstance.SsmAssociationProperty = {
  documentName: 'documentName',

  // the properties below are optional
  associationParameters: [{
    key: 'key',
    value: ['value'],
  }],
};

Properties

NameTypeDescription
documentNamestringThe name of an SSM document to associate with the instance.
associationParameters?IResolvable | IResolvable | AssociationParameterProperty[]The input parameter values to use with the associated SSM document.

documentName

Type: string

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


associationParameters?

Type: IResolvable | IResolvable | AssociationParameterProperty[] (optional)

The input parameter values to use with the associated SSM document.