{"modulePath":"github.com/stackpointcloud/packer","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package instance\n\nThe instance package contains a packer.Builder implementation that builds AMIs for Amazon EC2 backed by instance storage, as opposed to EBS storage.\n\n## Constants\n\n```go\nconst BuilderId = \"mitchellh.amazon.instance\"\n```\nThe unique ID for this builder\n\n## Types\n\n```go\ntype Builder struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (b *Builder) Cancel()\n```\n\n```go\nfunc (b *Builder) Prepare(raws ...interface{}) ([]string, error)\n```\n\n```go\nfunc (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error)\n```\n\n```go\ntype Config struct {\n\tcommon.PackerConfig    `mapstructure:\",squash\"`\n\tawscommon.AccessConfig `mapstructure:\",squash\"`\n\tawscommon.AMIConfig    `mapstructure:\",squash\"`\n\tawscommon.BlockDevices `mapstructure:\",squash\"`\n\tawscommon.RunConfig    `mapstructure:\",squash\"`\n\n\tAccountId           string `mapstructure:\"account_id\"`\n\tBundleDestination   string `mapstructure:\"bundle_destination\"`\n\tBundlePrefix        string `mapstructure:\"bundle_prefix\"`\n\tBundleUploadCommand string `mapstructure:\"bundle_upload_command\"`\n\tBundleVolCommand    string `mapstructure:\"bundle_vol_command\"`\n\tS3Bucket            string `mapstructure:\"s3_bucket\"`\n\tX509CertPath        string `mapstructure:\"x509_cert_path\"`\n\tX509KeyPath         string `mapstructure:\"x509_key_path\"`\n\tX509UploadPath      string `mapstructure:\"x509_upload_path\"`\n\t// contains filtered or unexported fields\n}\n```\nConfig is the configuration that is chained through the steps and settable from the template.\n\n```go\ntype StepBundleVolume struct {\n\tDebug bool\n}\n```\n\n```go\nfunc (s *StepBundleVolume) Cleanup(multistep.StateBag)\n```\n\n```go\nfunc (s *StepBundleVolume) Run(state multistep.StateBag) multistep.StepAction\n```\n\n```go\ntype StepRegisterAMI struct{}\n```\n\n```go\nfunc (s *StepRegisterAMI) Cleanup(multistep.StateBag)\n```\n\n```go\nfunc (s *StepRegisterAMI) Run(state multistep.StateBag) multistep.StepAction\n```\n\n```go\ntype StepUploadBundle struct {\n\tDebug bool\n}\n```\n\n```go\nfunc (s *StepUploadBundle) Cleanup(state multistep.StateBag)\n```\n\n```go\nfunc (s *StepUploadBundle) Run(state multistep.StateBag) multistep.StepAction\n```\n\n```go\ntype StepUploadX509Cert struct{}\n```\n\n```go\nfunc (s *StepUploadX509Cert) Cleanup(multistep.StateBag)\n```\n\n```go\nfunc (s *StepUploadX509Cert) Run(state multistep.StateBag) multistep.StepAction\n```\n\n","path":"github.com/stackpointcloud/packer/builder/amazon/instance","name":"instance","synopsis":"The instance package contains a packer.Builder implementation that builds AMIs for Amazon EC2 backed by instance storage, as opposed to EBS storage.","isRedistributable":true}
