Skip to content
v2.277.0

FastLaunchSnapshotConfigurationProperty Struct ​

Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const fastLaunchSnapshotConfigurationProperty: imagebuilder.CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty = {
  targetResourceCount: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_imagebuilder as imagebuilder

fast_launch_snapshot_configuration_property = imagebuilder.CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty(
    target_resource_count=123
)
java
// 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.*;

FastLaunchSnapshotConfigurationProperty fastLaunchSnapshotConfigurationProperty = FastLaunchSnapshotConfigurationProperty.builder()
        .targetResourceCount(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;

var fastLaunchSnapshotConfigurationProperty = new FastLaunchSnapshotConfigurationProperty {
    TargetResourceCount = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

fastLaunchSnapshotConfigurationProperty := &FastLaunchSnapshotConfigurationProperty{
	TargetResourceCount: jsii.Number(123),
}

Properties ​

targetResourceCountoptionalnumbertarget_resource_countoptionalint | floattargetResourceCountoptionalNumberTargetResourceCountoptionaldoubleTargetResourceCountoptional*float64#
The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.