Package com.pulumi.aws.devicefarm
Class NetworkProfile
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.devicefarm.NetworkProfile
-
public class NetworkProfile extends com.pulumi.resources.CustomResource
Provides a resource to manage AWS Device Farm Network Profiles. ∂ > **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.devicefarm.Project; import com.pulumi.aws.devicefarm.ProjectArgs; import com.pulumi.aws.devicefarm.NetworkProfile; import com.pulumi.aws.devicefarm.NetworkProfileArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new Project("example", ProjectArgs.builder() .name("example") .build()); var exampleNetworkProfile = new NetworkProfile("exampleNetworkProfile", NetworkProfileArgs.builder() .name("example") .projectArn(example.arn()) .build()); } } ``` <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import DeviceFarm Network Profiles using their ARN. For example: ```sh $ pulumi import aws:devicefarm/networkProfile:NetworkProfile example arn:aws:devicefarm:us-west-2:123456789012:networkprofile:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```
-
-
Constructor Summary
Constructors Constructor Description NetworkProfile(java.lang.String name)
NetworkProfile(java.lang.String name, NetworkProfileArgs args)
NetworkProfile(java.lang.String name, NetworkProfileArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
description()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
downlinkBandwidthBits()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
downlinkDelayMs()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
downlinkJitterMs()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
downlinkLossPercent()
static NetworkProfile
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, NetworkProfileState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
projectArn()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
type()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
uplinkBandwidthBits()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
uplinkDelayMs()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
uplinkJitterMs()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
uplinkLossPercent()
-
-
-
Constructor Detail
-
NetworkProfile
public NetworkProfile(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
NetworkProfile
public NetworkProfile(java.lang.String name, NetworkProfileArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
NetworkProfile
public NetworkProfile(java.lang.String name, NetworkProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The Amazon Resource Name of this network profile.
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- The description of the network profile.
-
downlinkBandwidthBits
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> downlinkBandwidthBits()
- Returns:
- The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
-
downlinkDelayMs
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> downlinkDelayMs()
- Returns:
- Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
-
downlinkJitterMs
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> downlinkJitterMs()
- Returns:
- Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
-
downlinkLossPercent
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> downlinkLossPercent()
- Returns:
- Proportion of received packets that fail to arrive from `0` to `100` percent.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name for the network profile.
-
projectArn
public com.pulumi.core.Output<java.lang.String> projectArn()
- Returns:
- The ARN of the project for the network profile.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
-
type
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> type()
- Returns:
- The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.
-
uplinkBandwidthBits
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> uplinkBandwidthBits()
- Returns:
- The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
-
uplinkDelayMs
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> uplinkDelayMs()
- Returns:
- Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
-
uplinkJitterMs
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> uplinkJitterMs()
- Returns:
- Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
-
uplinkLossPercent
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> uplinkLossPercent()
- Returns:
- Proportion of received packets that fail to arrive from `0` to `100` percent.
-
get
public static NetworkProfile get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable NetworkProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-