File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -640,10 +640,12 @@ type LicenseConfigurationRequest struct {
640640// name in the request, but not both.
641641type LaunchTemplateSpecification struct {
642642 // The ID of the launch template.
643- LaunchTemplateID * string `json:"launchTemplateId"`
643+ // +optional
644+ LaunchTemplateID * string `json:"launchTemplateId,omitempty"`
644645
645646 // The name of the launch template.
646- LaunchTemplateName * string `json:"launchTemplateName"`
647+ // +optional
648+ LaunchTemplateName * string `json:"launchTemplateName,omitempty"`
647649
648650 // The version number of the launch template.
649651 //
Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ type InstanceParameters struct {
107107
108108 // The ID of the AMI. An AMI ID is required to launch an instance and must be
109109 // specified here or in a launch template.
110- ImageID * string `json:"imageId"`
110+ // +optional
111+ ImageID * string `json:"imageId,omitempty"`
111112
112113 // Indicates whether an instance stops or terminates when you initiate shutdown
113114 // from the instance (using the operating system command for system shutdown).
Original file line number Diff line number Diff line change @@ -604,9 +604,6 @@ spec:
604604
605605 Default: The default version for the launch template.
606606 type : string
607- required :
608- - launchTemplateId
609- - launchTemplateName
610607 type : object
611608 licenseSpecifications :
612609 description : The Amazon Resource Name (ARN) of the license configuration
@@ -1221,7 +1218,6 @@ spec:
12211218 pattern : ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
12221219 type : string
12231220 required :
1224- - imageId
12251221 - region
12261222 type : object
12271223 managementPolicies :
You can’t perform that action at this time.
0 commit comments