@Stability(value=Stable)
public static interface CfnInstance.SsmAssociationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.SsmAssociationProperty.Builder
A builder for
CfnInstance.SsmAssociationProperty |
static class |
CfnInstance.SsmAssociationProperty.Jsii$Proxy
An implementation for
CfnInstance.SsmAssociationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.SsmAssociationProperty.Builder |
builder() |
default Object |
getAssociationParameters()
The input parameter values to use with the associated SSM document.
|
String |
getDocumentName()
The name of an SSM document to associate with the instance.
|
@Stability(value=Stable) @NotNull String getDocumentName()
@Stability(value=Stable) @Nullable default Object getAssociationParameters()
@Stability(value=Stable) static CfnInstance.SsmAssociationProperty.Builder builder()
Copyright © 2022. All rights reserved.