Interface CfnProjectProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProjectProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:34.166Z")
@Stability(Stable)
public interface CfnProjectProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnProject.
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.*;
CfnProjectProps cfnProjectProps = CfnProjectProps.builder()
.name("name")
// the properties below are optional
.defaultJobTimeoutMinutes(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.vpcId("vpcId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProjectPropsstatic final classAn implementation forCfnProjectProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnProjectProps.Builderbuilder()default NumberSets the execution timeout value (in minutes) for a project.getName()The project's name.getTags()The tags to add to the resource.default ObjectThe VPC security groups and subnets that are attached to a project.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The project's name.- See Also:
-
getDefaultJobTimeoutMinutes
Sets the execution timeout value (in minutes) for a project.All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
- See Also:
-
getTags
The tags to add to the resource.A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.
- See Also:
-
getVpcConfig
The VPC security groups and subnets that are attached to a project.Returns union: either
IResolvableorCfnProject.VpcConfigProperty- See Also:
-
builder
- Returns:
- a
CfnProjectProps.BuilderofCfnProjectProps
-