Interface CfnInstanceProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:12:55.938Z")
@Stability(Stable)
public interface CfnInstanceProfileProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInstanceProfile
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.devicefarm.*; CfnInstanceProfileProps cfnInstanceProfileProps = CfnInstanceProfileProps.builder() .name("name") // the properties below are optional .description("description") .excludeAppPackagesFromCleanup(List.of("excludeAppPackagesFromCleanup")) .packageCleanup(false) .rebootAfterUse(false) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInstanceProfileProps
static final class
An implementation forCfnInstanceProfileProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The description of the instance profile.An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.getName()
The name of the instance profile.default Object
When set totrue
, Device Farm removes app packages after a test run.default Object
When set totrue
, Device Farm reboots the instance after a test run.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the instance profile.- See Also:
-
getDescription
The description of the instance profile.- See Also:
-
getExcludeAppPackagesFromCleanup
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.The list of packages is considered only if you set
packageCleanup
totrue
.- See Also:
-
getPackageCleanup
When set totrue
, Device Farm removes app packages after a test run.The default value is
false
for private devices.- See Also:
-
getRebootAfterUse
When set totrue
, Device Farm reboots the instance after a test run.The default value is
true
.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag in the guide .
- See Also:
-
builder
- Returns:
- a
CfnInstanceProfileProps.Builder
ofCfnInstanceProfileProps
-