interface SsmAssociationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnInstancePropsMixin.SsmAssociationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnInstancePropsMixin_SsmAssociationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstancePropsMixin.SsmAssociationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnInstancePropsMixin.SsmAssociationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const ssmAssociationProperty: ec2.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 | IDocument | 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 | IDocument
(optional)
The name of an SSM document to associate with the instance.

.NET
Go
Java
Python
TypeScript