AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateInstanceExportTaskInput

import "github.com/aws/aws-sdk-go/service/ec2"

type CreateInstanceExportTaskInput struct { Description *string `locationName:"description" type:"string"` ExportToS3Task *ExportToS3TaskSpecification `locationName:"exportToS3" type:"structure"` InstanceId *string `locationName:"instanceId" type:"string" required:"true"` TargetEnvironment *string `locationName:"targetEnvironment" type:"string" enum:"ExportEnvironment"` }

Contains the parameters for CreateInstanceExportTask.

Description

Type: *string

A description for the conversion task or the resource being exported. The maximum length is 255 bytes.

ExportToS3Task

Describes an instance export task.

InstanceId

Type: *string

The ID of the instance.

InstanceId is a required field

TargetEnvironment

Type: *string

The target virtualization environment.

Method

GoString

func (s CreateInstanceExportTaskInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreateInstanceExportTaskInput) SetDescription(v string) *CreateInstanceExportTaskInput

SetDescription sets the Description field's value.

SetExportToS3Task

func (s *CreateInstanceExportTaskInput) SetExportToS3Task(v *ExportToS3TaskSpecification) *CreateInstanceExportTaskInput

SetExportToS3Task sets the ExportToS3Task field's value.

SetInstanceId

func (s *CreateInstanceExportTaskInput) SetInstanceId(v string) *CreateInstanceExportTaskInput

SetInstanceId sets the InstanceId field's value.

SetTargetEnvironment

func (s *CreateInstanceExportTaskInput) SetTargetEnvironment(v string) *CreateInstanceExportTaskInput

SetTargetEnvironment sets the TargetEnvironment field's value.

String

func (s CreateInstanceExportTaskInput) String() string

String returns the string representation

Validate

func (s *CreateInstanceExportTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: