Class CfnProject
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.iotsitewise.CfnProject
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:29:57.929Z")
@Stability(Stable)
public class CfnProject
extends CfnResource
implements IInspectable
A CloudFormation 
AWS::IoTSiteWise::Project.
 Creates a project in the specified portal.
Make sure that the project name and description don't contain confidential information.
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.iotsitewise.*;
 CfnProject cfnProject = CfnProject.Builder.create(this, "MyCfnProject")
         .portalId("portalId")
         .projectName("projectName")
         // the properties below are optional
         .assetIds(List.of("assetIds"))
         .projectDescription("projectDescription")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnProject(Construct scope, String id, CfnProjectProps props) Create a newAWS::IoTSiteWise::Project.protectedCfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProject(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionA list that contains the IDs of each asset associated with the project.The ARN of the project, which has the following format.The ID of the project.The ID of the portal in which to create the project.A description for the project.A friendly name for the project.getTags()A list of key-value pairs that contain metadata for the project.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAssetIds(List<String> value) A list that contains the IDs of each asset associated with the project.voidsetPortalId(String value) The ID of the portal in which to create the project.voidsetProjectDescription(String value) A description for the project.voidsetProjectName(String value) A friendly name for the project.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnProjectprotected CfnProject(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnProjectprotected CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnProject@Stability(Stable) public CfnProject(@NotNull Construct scope, @NotNull String id, @NotNull CfnProjectProps props) Create a newAWS::IoTSiteWise::Project.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrProjectArnThe ARN of the project, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
- 
getAttrProjectIdThe ID of the project.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsA list of key-value pairs that contain metadata for the project.For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide . 
- 
getPortalIdThe ID of the portal in which to create the project.
- 
setPortalIdThe ID of the portal in which to create the project.
- 
getProjectNameA friendly name for the project.
- 
setProjectNameA friendly name for the project.
- 
getAssetIdsA list that contains the IDs of each asset associated with the project.
- 
setAssetIdsA list that contains the IDs of each asset associated with the project.
- 
getProjectDescriptionA description for the project.
- 
setProjectDescriptionA description for the project.
 
-