interface SsmAssociationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnInstance.SsmAssociationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnInstance_SsmAssociationProperty |
![]() | software.amazon.awscdk.services.ec2.CfnInstance.SsmAssociationProperty |
![]() | aws_cdk.aws_ec2.CfnInstance.SsmAssociationProperty |
![]() | 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
Name | Type | Description |
---|---|---|
document | string | The name of an SSM document to associate with the instance. |
association | IResolvable | IResolvable | Association [] | 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
|
Association
[]
(optional)
The input parameter values to use with the associated SSM document.