-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDistributionConfiguration_FastLaunchConfigurationProperty.go
51 lines (48 loc) · 3.33 KB
/
CfnDistributionConfiguration_FastLaunchConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package awsimagebuilder
// The Windows faster-launching configuration to use for AMI distribution.
//
// Example:
// // 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"
//
// fastLaunchConfigurationProperty := &FastLaunchConfigurationProperty{
// AccountId: jsii.String("accountId"),
// Enabled: jsii.Boolean(false),
// LaunchTemplate: &FastLaunchLaunchTemplateSpecificationProperty{
// LaunchTemplateId: jsii.String("launchTemplateId"),
// LaunchTemplateName: jsii.String("launchTemplateName"),
// LaunchTemplateVersion: jsii.String("launchTemplateVersion"),
// },
// MaxParallelLaunches: jsii.Number(123),
// SnapshotConfiguration: &FastLaunchSnapshotConfigurationProperty{
// TargetResourceCount: jsii.Number(123),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html
//
type CfnDistributionConfiguration_FastLaunchConfigurationProperty struct {
// The owner account ID for the fast-launch enabled Windows AMI.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-accountid
//
AccountId *string `field:"optional" json:"accountId" yaml:"accountId"`
// A Boolean that represents the current state of faster launching for the Windows AMI.
//
// Set to true to start using Windows faster launching, or false to stop using it.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-enabled
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
// The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-launchtemplate
//
LaunchTemplate interface{} `field:"optional" json:"launchTemplate" yaml:"launchTemplate"`
// The maximum number of parallel instances that are launched for creating resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-maxparallellaunches
//
MaxParallelLaunches *float64 `field:"optional" json:"maxParallelLaunches" yaml:"maxParallelLaunches"`
// Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-snapshotconfiguration
//
SnapshotConfiguration interface{} `field:"optional" json:"snapshotConfiguration" yaml:"snapshotConfiguration"`
}