Interface CfnDistributionConfiguration.FastLaunchConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistributionConfiguration.FastLaunchConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDistributionConfiguration
@Stability(Stable)
public static interface CfnDistributionConfiguration.FastLaunchConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Define and configure faster launching for output Windows AMIs.
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.imagebuilder.*;
FastLaunchConfigurationProperty fastLaunchConfigurationProperty = FastLaunchConfigurationProperty.builder()
.accountId("accountId")
.enabled(false)
.launchTemplate(FastLaunchLaunchTemplateSpecificationProperty.builder()
.launchTemplateId("launchTemplateId")
.launchTemplateName("launchTemplateName")
.launchTemplateVersion("launchTemplateVersion")
.build())
.maxParallelLaunches(123)
.snapshotConfiguration(FastLaunchSnapshotConfigurationProperty.builder()
.targetResourceCount(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDistributionConfiguration.FastLaunchConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe owner account ID for the fast-launch enabled Windows AMI.default ObjectA Boolean that represents the current state of faster launching for the Windows AMI.default ObjectThe launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.default NumberThe maximum number of parallel instances that are launched for creating resources.default ObjectConfiguration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
The owner account ID for the fast-launch enabled Windows AMI.- See Also:
-
getEnabled
A Boolean that represents the current state of faster launching for the Windows AMI.Set to
trueto start using Windows faster launching, orfalseto stop using it.Returns union: either
BooleanorIResolvable- See Also:
-
getLaunchTemplate
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.Returns union: either
IResolvableorCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty- See Also:
-
getMaxParallelLaunches
The maximum number of parallel instances that are launched for creating resources.- See Also:
-
getSnapshotConfiguration
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.Returns union: either
IResolvableorCfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder builder()
-