Paws::DeviceFarm::CreateInstanceProfile - Arguments for method CreateInstanceProfile on Paws::DeviceFarm


This class represents the parameters used for calling the method CreateInstanceProfile on the AWS Device Farm service. Use the attributes of this class as arguments to method CreateInstanceProfile.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateInstanceProfile.


    my $devicefarm = Paws->service('DeviceFarm');
    my $CreateInstanceProfileResult = $devicefarm->CreateInstanceProfile(
      Name                          => 'MyName',
      Description                   => 'MyMessage',            # OPTIONAL
      ExcludeAppPackagesFromCleanup => [ 'MyString', ... ],    # OPTIONAL
      PackageCleanup                => 1,                      # OPTIONAL
      RebootAfterUse                => 1,                      # OPTIONAL

    # Results:
    my $InstanceProfile = $CreateInstanceProfileResult->InstanceProfile;

    # Returns a L<Paws::DeviceFarm::CreateInstanceProfileResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Description => Str

The description of your instance profile.

ExcludeAppPackagesFromCleanup => ArrayRef[Str|Undef]

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.

REQUIRED Name => Str

The name of your instance profile.

PackageCleanup => Bool

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

RebootAfterUse => Bool

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


This class forms part of Paws, documenting arguments for method CreateInstanceProfile in Paws::DeviceFarm


The source code is located here:

Please report bugs to: