Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudConfigToString ¶
func CloudConfigToString(c *CloudConfig) (string, error)
Types ¶
type CPUArchitecture ¶ added in v1.36.1
type CPUArchitecture string
CPUArchitecture defines processor architectures returned by the AWS API
const ( CPUArchitectureARM64 CPUArchitecture = "arm64" CPUArchitectureX86_64 CPUArchitecture = "x86_64" CPUArchitectureI386 CPUArchitecture = "i386" )
type CloudConfig ¶
type CloudConfig struct {
Global GlobalOpts
}
type GlobalOpts ¶
type RawConfig ¶
type RawConfig struct { AccessKeyID providerconfigtypes.ConfigVarString `json:"accessKeyId,omitempty"` SecretAccessKey providerconfigtypes.ConfigVarString `json:"secretAccessKey,omitempty"` AssumeRoleARN providerconfigtypes.ConfigVarString `json:"assumeRoleARN,omitempty"` AssumeRoleExternalID providerconfigtypes.ConfigVarString `json:"assumeRoleExternalID,omitempty"` Region providerconfigtypes.ConfigVarString `json:"region"` AvailabilityZone providerconfigtypes.ConfigVarString `json:"availabilityZone,omitempty"` VpcID providerconfigtypes.ConfigVarString `json:"vpcId"` SubnetID providerconfigtypes.ConfigVarString `json:"subnetId"` SecurityGroupIDs []providerconfigtypes.ConfigVarString `json:"securityGroupIDs,omitempty"` InstanceProfile providerconfigtypes.ConfigVarString `json:"instanceProfile,omitempty"` InstanceType providerconfigtypes.ConfigVarString `json:"instanceType,omitempty"` AMI providerconfigtypes.ConfigVarString `json:"ami,omitempty"` DiskSize int64 `json:"diskSize"` DiskType providerconfigtypes.ConfigVarString `json:"diskType,omitempty"` DiskIops *int64 `json:"diskIops,omitempty"` EBSVolumeEncrypted providerconfigtypes.ConfigVarBool `json:"ebsVolumeEncrypted"` Tags map[string]string `json:"tags,omitempty"` AssignPublicIP *bool `json:"assignPublicIP,omitempty"` IsSpotInstance *bool `json:"isSpotInstance,omitempty"` SpotInstanceConfig *SpotInstanceConfig `json:"spotInstanceConfig,omitempty"` }
type SpotInstanceConfig ¶ added in v1.27.11
type SpotInstanceConfig struct { MaxPrice providerconfigtypes.ConfigVarString `json:"maxPrice,omitempty"` PersistentRequest providerconfigtypes.ConfigVarBool `json:"persistentRequest,omitempty"` InterruptionBehavior providerconfigtypes.ConfigVarString `json:"interruptionBehavior,omitempty"` }
Click to show internal directories.
Click to hide internal directories.