Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeResources ¶
type ComputeResources struct { AllocationStrategy string `json:"AllocationStrategy,omitempty"` BidPercentage int `json:"BidPercentage,omitempty"` DesiredvCpus int `json:"DesiredvCpus,omitempty"` Ec2Configuration []*Ec2ConfigurationObject `json:"Ec2Configuration,omitempty"` Ec2KeyPair string `json:"Ec2KeyPair,omitempty"` ImageId string `json:"ImageId,omitempty"` InstanceRole string `json:"InstanceRole,omitempty"` InstanceTypes []string `json:"InstanceTypes,omitempty"` LaunchTemplate *LaunchTemplateSpecification `json:"LaunchTemplate,omitempty"` MaxvCpus int `json:"MaxvCpus"` MinvCpus int `json:"MinvCpus,omitempty"` PlacementGroup string `json:"PlacementGroup,omitempty"` SecurityGroupIds []string `json:"SecurityGroupIds,omitempty"` SpotIamFleetRole string `json:"SpotIamFleetRole,omitempty"` Subnets []string `json:"Subnets"` // A key-value pair to associate with a resource. Tags *Tags `json:"Tags,omitempty"` Type string `json:"Type"` UpdateToLatestImageVersion bool `json:"UpdateToLatestImageVersion,omitempty"` }
ComputeResources
func (*ComputeResources) MarshalJSON ¶
func (strct *ComputeResources) MarshalJSON() ([]byte, error)
func (*ComputeResources) UnmarshalJSON ¶
func (strct *ComputeResources) UnmarshalJSON(b []byte) error
type Ec2ConfigurationObject ¶
type Ec2ConfigurationObject struct { ImageIdOverride string `json:"ImageIdOverride,omitempty"` ImageKubernetesVersion string `json:"ImageKubernetesVersion,omitempty"` ImageType string `json:"ImageType"` }
Ec2ConfigurationObject
func (*Ec2ConfigurationObject) MarshalJSON ¶
func (strct *Ec2ConfigurationObject) MarshalJSON() ([]byte, error)
func (*Ec2ConfigurationObject) UnmarshalJSON ¶
func (strct *Ec2ConfigurationObject) UnmarshalJSON(b []byte) error
type EksConfiguration ¶
type EksConfiguration struct { EksClusterArn string `json:"EksClusterArn"` KubernetesNamespace string `json:"KubernetesNamespace"` }
EksConfiguration
func (*EksConfiguration) MarshalJSON ¶
func (strct *EksConfiguration) MarshalJSON() ([]byte, error)
func (*EksConfiguration) UnmarshalJSON ¶
func (strct *EksConfiguration) UnmarshalJSON(b []byte) error
type LaunchTemplateSpecification ¶
type LaunchTemplateSpecification struct { LaunchTemplateId string `json:"LaunchTemplateId,omitempty"` LaunchTemplateName string `json:"LaunchTemplateName,omitempty"` Version string `json:"Version,omitempty"` }
LaunchTemplateSpecification
func (*LaunchTemplateSpecification) MarshalJSON ¶
func (strct *LaunchTemplateSpecification) MarshalJSON() ([]byte, error)
func (*LaunchTemplateSpecification) UnmarshalJSON ¶
func (strct *LaunchTemplateSpecification) UnmarshalJSON(b []byte) error
type Resource ¶
type Resource struct { ComputeEnvironmentArn string `json:"ComputeEnvironmentArn,omitempty"` ComputeEnvironmentName string `json:"ComputeEnvironmentName,omitempty"` ComputeResources *ComputeResources `json:"ComputeResources,omitempty"` EksConfiguration *EksConfiguration `json:"EksConfiguration,omitempty"` ReplaceComputeEnvironment bool `json:"ReplaceComputeEnvironment,omitempty"` ServiceRole string `json:"ServiceRole,omitempty"` State string `json:"State,omitempty"` // A key-value pair to associate with a resource. Tags *Tags `json:"Tags,omitempty"` Type string `json:"Type"` UnmanagedvCpus int `json:"UnmanagedvCpus,omitempty"` UpdatePolicy *UpdatePolicy `json:"UpdatePolicy,omitempty"` }
Resource Resource Type definition for AWS::Batch::ComputeEnvironment
func (*Resource) MarshalJSON ¶
func (*Resource) UnmarshalJSON ¶
type Tags ¶
type Tags struct { }
Tags A key-value pair to associate with a resource.
func (*Tags) MarshalJSON ¶
func (*Tags) UnmarshalJSON ¶
type UpdatePolicy ¶
type UpdatePolicy struct { JobExecutionTimeoutMinutes int `json:"JobExecutionTimeoutMinutes,omitempty"` TerminateJobsOnUpdate bool `json:"TerminateJobsOnUpdate,omitempty"` }
UpdatePolicy
func (*UpdatePolicy) MarshalJSON ¶
func (strct *UpdatePolicy) MarshalJSON() ([]byte, error)
func (*UpdatePolicy) UnmarshalJSON ¶
func (strct *UpdatePolicy) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.