Class CfnTestGridProject
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.devicefarm.CfnTestGridProject
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,ITestGridProjectRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:38.089Z")
@Stability(Stable)
public class CfnTestGridProject
extends CfnResource
implements IInspectable, ITestGridProjectRef, ITaggable
A Selenium testing project.
Projects are used to collect and collate sessions.
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.*;
CfnTestGridProject cfnTestGridProject = CfnTestGridProject.Builder.create(this, "MyCfnTestGridProject")
.name("name")
// the properties below are optional
.description("description")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnTestGridProject.static interfaceThe VPC security groups and subnets attached to theTestGridproject.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.devicefarm.ITestGridProjectRef
ITestGridProjectRef.Jsii$Default, ITestGridProjectRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTestGridProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTestGridProject(software.amazon.jsii.JsiiObjectRef objRef) CfnTestGridProject(software.constructs.Construct scope, String id, CfnTestGridProjectProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of theTestGridproject.A human-readable description for the project.getName()A human-readable name for the project.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.A reference to a TestGridProject resource.The VPC security groups and subnets that are attached to a project.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) A human-readable description for the project.voidA human-readable name for the project.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.voidsetVpcConfig(IResolvable value) The VPC security groups and subnets that are attached to a project.voidThe VPC security groups and subnets that are attached to a project.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTestGridProject
protected CfnTestGridProject(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTestGridProject
protected CfnTestGridProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTestGridProject
@Stability(Stable) public CfnTestGridProject(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTestGridProjectProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of theTestGridproject.See Amazon resource names in the General Reference guide .
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getTestGridProjectRef
A reference to a TestGridProject resource.- Specified by:
getTestGridProjectRefin interfaceITestGridProjectRef
-
getName
A human-readable name for the project. -
setName
A human-readable name for the project. -
getDescription
A human-readable description for the project. -
setDescription
A human-readable description for the project. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getVpcConfig
The VPC security groups and subnets that are attached to a project.Returns union: either
IResolvableorCfnTestGridProject.VpcConfigProperty -
setVpcConfig
The VPC security groups and subnets that are attached to a project. -
setVpcConfig
The VPC security groups and subnets that are attached to a project.
-