Interface CfnInstance.SsmAssociationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstance.SsmAssociationProperty.Jsii$Proxy
- Enclosing class:
- CfnInstance
@Stability(Stable)
public static interface CfnInstance.SsmAssociationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
SsmAssociationProperty ssmAssociationProperty = SsmAssociationProperty.builder()
.documentName("documentName")
// the properties below are optional
.associationParameters(List.of(AssociationParameterProperty.builder()
.key("key")
.value(List.of("value"))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstance.SsmAssociationPropertystatic final classAn implementation forCfnInstance.SsmAssociationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocumentName
The name of an SSM document to associate with the instance. -
getAssociationParameters
The input parameter values to use with the associated SSM document. -
builder
-