Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDevice ¶
type BlockDevice struct {
DeleteOnTermination bool `json:"delete_on_termination"`
}
A BlockDevice represents an AWS device block volume
type ComputeInstance ¶
type ComputeInstance struct { ImageID string `json:"ami,omitempty"` InstanceType string `json:"instance_type,omitempty"` AvailabilityZone string `json:"availability_zone,omitempty"` PlacementGroup string `json:"placement_group,omitempty"` SecurityGroups []string `json:"security_groups,omitempty"` KeyName string `json:"key_name,omitempty"` Tags Tags `json:"tags,omitempty"` ElasticIps []string `json:"-"` RootBlockDevice BlockDevice `json:"root_block_device,omitempty"` Provisioners map[string]interface{} `json:"provisioner,omitempty"` }
A ComputeInstance represent an AWS compute
type EBSVolume ¶
type EBSVolume struct { AvailabilityZone string `json:"availability_zone,omitempty"` Encrypted bool `json:"encrypted,omitempty"` Size int `json:"size,omitempty"` SnapshotID string `json:"snapshot_id,omitempty"` KMSKeyID string `json:"kms_key_id,omitempty"` Type string `json:"type,omitempty"` IOPS string `json:"iops,omitempty"` Tags map[string]string `json:"tags,omitempty"` }
EBSVolume represents an EBS Volume see : https://www.terraform.io/docs/providers/aws/r/ebs_volume.html
type ElasticIPAssociation ¶
type ElasticIPAssociation struct { InstanceID string `json:"instance_id,omitempty"` AllocationID string `json:"allocation_id,omitempty"` PublicIP string `json:"public_ip,omitempty"` }
ElasticIPAssociation represents the ElasticIP/ComputeInstance association A way to associate/disassociate Elastic IPs from AWS instances
type Tags ¶
type Tags struct {
Name string `json:"Name,omitempty"`
}
Tags represent a mapping of tags assigned to the Instance.
type VolumeAttachment ¶
type VolumeAttachment struct { DeviceName string `json:"device_name,omitempty"` InstanceID string `json:"instance_id,omitempty"` VolumeID string `json:"volume_id,omitempty"` }
VolumeAttachment provide a way to attach an EBS volume to an EC2 instance see : https://www.terraform.io/docs/providers/aws/r/volume_attachment.html
Click to show internal directories.
Click to hide internal directories.