interface SsmAssociationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnInstancePropsMixin.SsmAssociationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnInstancePropsMixin_SsmAssociationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstancePropsMixin.SsmAssociationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstancePropsMixin.SsmAssociationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnInstancePropsMixin » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const ssmAssociationProperty: ec2_mixins.CfnInstancePropsMixin.SsmAssociationProperty = {
associationParameters: [{
key: 'key',
value: ['value'],
}],
documentName: 'documentName',
};
Properties
| Name | Type | Description |
|---|---|---|
| association | IResolvable | (IResolvable | Association)[] | The input parameter values to use with the associated SSM document. |
| document | string | The name of an SSM document to associate with the instance. |
associationParameters?
Type:
IResolvable | (IResolvable | Association)[]
(optional)
The input parameter values to use with the associated SSM document.
documentName?
Type:
string
(optional)
The name of an SSM document to associate with the instance.

.NET
Go
Java
Python
TypeScript