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.

InstanceProfile

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

type InstanceProfile struct { Arn *string `locationName:"arn" min:"32" type:"string"` Description *string `locationName:"description" type:"string"` ExcludeAppPackagesFromCleanup []*string `locationName:"excludeAppPackagesFromCleanup" type:"list"` Name *string `locationName:"name" type:"string"` PackageCleanup *bool `locationName:"packageCleanup" type:"boolean"` RebootAfterUse *bool `locationName:"rebootAfterUse" type:"boolean"` }

Represents the instance profile.

Arn

Type: *string

The Amazon Resource Name (ARN) of the instance profile.

Description

Type: *string

The description of the instance profile.

ExcludeAppPackagesFromCleanup

Type: []*string

An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over.

The list of packages is only considered if you set packageCleanup to true.

Name

Type: *string

The name of the instance profile.

PackageCleanup

Type: *bool

When set to true, Device Farm will remove app packages after a test run. The default value is false for private devices.

RebootAfterUse

Type: *bool

When set to true, Device Farm will reboot the instance after a test run. The default value is true.

Method

GoString

func (s InstanceProfile) GoString() string

GoString returns the string representation

SetArn

func (s *InstanceProfile) SetArn(v string) *InstanceProfile

SetArn sets the Arn field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetExcludeAppPackagesFromCleanup

func (s *InstanceProfile) SetExcludeAppPackagesFromCleanup(v []*string) *InstanceProfile

SetExcludeAppPackagesFromCleanup sets the ExcludeAppPackagesFromCleanup field's value.

SetName

func (s *InstanceProfile) SetName(v string) *InstanceProfile

SetName sets the Name field's value.

SetPackageCleanup

func (s *InstanceProfile) SetPackageCleanup(v bool) *InstanceProfile

SetPackageCleanup sets the PackageCleanup field's value.

SetRebootAfterUse

func (s *InstanceProfile) SetRebootAfterUse(v bool) *InstanceProfile

SetRebootAfterUse sets the RebootAfterUse field's value.

String

func (s InstanceProfile) String() string

String returns the string representation

On this page: