Interface CfnKeyPairMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyPairMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:12.041Z")
@Stability(Stable)
public interface CfnKeyPairMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnKeyPairPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lightsail.*;
CfnKeyPairMixinProps cfnKeyPairMixinProps = CfnKeyPairMixinProps.builder()
.keyPairName("keyPairName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKeyPairMixinPropsstatic final classAn implementation forCfnKeyPairMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnKeyPairMixinProps.Builderbuilder()default StringThe name of the key pair.getTags()The tag keys and optional values to add to the resource during create.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyPairName
The name of the key pair.- See Also:
-
getTags
The tag keys and optional values to add to the resource during create.- See Also:
-
builder
- Returns:
- a
CfnKeyPairMixinProps.BuilderofCfnKeyPairMixinProps
-