@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.109Z") @Stability(value=Stable) public interface CfnLaunchConfigurationProps extends software.amazon.jsii.JsiiSerializable
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.autoscaling.*;
CfnLaunchConfigurationProps cfnLaunchConfigurationProps = CfnLaunchConfigurationProps.builder()
.imageId("imageId")
.instanceType("instanceType")
// the properties below are optional
.associatePublicIpAddress(false)
.blockDeviceMappings(List.of(BlockDeviceMappingProperty.builder()
.deviceName("deviceName")
// the properties below are optional
.ebs(BlockDeviceProperty.builder()
.deleteOnTermination(false)
.encrypted(false)
.iops(123)
.snapshotId("snapshotId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build())
.noDevice(false)
.virtualName("virtualName")
.build()))
.classicLinkVpcId("classicLinkVpcId")
.classicLinkVpcSecurityGroups(List.of("classicLinkVpcSecurityGroups"))
.ebsOptimized(false)
.iamInstanceProfile("iamInstanceProfile")
.instanceId("instanceId")
.instanceMonitoring(false)
.kernelId("kernelId")
.keyName("keyName")
.launchConfigurationName("launchConfigurationName")
.metadataOptions(MetadataOptionsProperty.builder()
.httpEndpoint("httpEndpoint")
.httpPutResponseHopLimit(123)
.httpTokens("httpTokens")
.build())
.placementTenancy("placementTenancy")
.ramDiskId("ramDiskId")
.securityGroups(List.of("securityGroups"))
.spotPrice("spotPrice")
.userData("userData")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchConfigurationProps.Builder
A builder for
CfnLaunchConfigurationProps |
static class |
CfnLaunchConfigurationProps.Jsii$Proxy
An implementation for
CfnLaunchConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchConfigurationProps.Builder |
builder() |
default Object |
getAssociatePublicIpAddress()
`AWS::AutoScaling::LaunchConfiguration.AssociatePublicIpAddress`.
|
default Object |
getBlockDeviceMappings()
`AWS::AutoScaling::LaunchConfiguration.BlockDeviceMappings`.
|
default String |
getClassicLinkVpcId()
`AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCId`.
|
default List<String> |
getClassicLinkVpcSecurityGroups()
`AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCSecurityGroups`.
|
default Object |
getEbsOptimized()
`AWS::AutoScaling::LaunchConfiguration.EbsOptimized`.
|
default String |
getIamInstanceProfile()
`AWS::AutoScaling::LaunchConfiguration.IamInstanceProfile`.
|
String |
getImageId()
`AWS::AutoScaling::LaunchConfiguration.ImageId`.
|
default String |
getInstanceId()
`AWS::AutoScaling::LaunchConfiguration.InstanceId`.
|
default Object |
getInstanceMonitoring()
`AWS::AutoScaling::LaunchConfiguration.InstanceMonitoring`.
|
String |
getInstanceType()
`AWS::AutoScaling::LaunchConfiguration.InstanceType`.
|
default String |
getKernelId()
`AWS::AutoScaling::LaunchConfiguration.KernelId`.
|
default String |
getKeyName()
`AWS::AutoScaling::LaunchConfiguration.KeyName`.
|
default String |
getLaunchConfigurationName()
`AWS::AutoScaling::LaunchConfiguration.LaunchConfigurationName`.
|
default Object |
getMetadataOptions()
`AWS::AutoScaling::LaunchConfiguration.MetadataOptions`.
|
default String |
getPlacementTenancy()
`AWS::AutoScaling::LaunchConfiguration.PlacementTenancy`.
|
default String |
getRamDiskId()
`AWS::AutoScaling::LaunchConfiguration.RamDiskId`.
|
default List<String> |
getSecurityGroups()
`AWS::AutoScaling::LaunchConfiguration.SecurityGroups`.
|
default String |
getSpotPrice()
`AWS::AutoScaling::LaunchConfiguration.SpotPrice`.
|
default String |
getUserData()
`AWS::AutoScaling::LaunchConfiguration.UserData`.
|
@Stability(value=Stable) @Nullable default Object getAssociatePublicIpAddress()
@Stability(value=Stable) @Nullable default Object getBlockDeviceMappings()
@Stability(value=Stable) @Nullable default String getClassicLinkVpcId()
@Stability(value=Stable) @Nullable default List<String> getClassicLinkVpcSecurityGroups()
@Stability(value=Stable) @Nullable default Object getEbsOptimized()
@Stability(value=Stable) @Nullable default String getIamInstanceProfile()
@Stability(value=Stable) @NotNull String getImageId()
@Stability(value=Stable) @Nullable default String getInstanceId()
@Stability(value=Stable) @Nullable default Object getInstanceMonitoring()
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @Nullable default String getKernelId()
@Stability(value=Stable) @Nullable default String getKeyName()
@Stability(value=Stable) @Nullable default String getLaunchConfigurationName()
@Stability(value=Stable) @Nullable default Object getMetadataOptions()
@Stability(value=Stable) @Nullable default String getPlacementTenancy()
@Stability(value=Stable) @Nullable default String getRamDiskId()
@Stability(value=Stable) @Nullable default List<String> getSecurityGroups()
@Stability(value=Stable) @Nullable default String getSpotPrice()
@Stability(value=Stable) @Nullable default String getUserData()
@Stability(value=Stable) static CfnLaunchConfigurationProps.Builder builder()
Copyright © 2021. All rights reserved.