@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.074Z") @Stability(value=Stable) public class CfnWorkspace extends CfnResource implements IInspectable
Use the AWS::IoTTwinMaker::Workspace resource to declare a workspace.
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.iottwinmaker.*;
CfnWorkspace cfnWorkspace = CfnWorkspace.Builder.create(this, "MyCfnWorkspace")
.role("role")
.s3Location("s3Location")
.workspaceId("workspaceId")
// the properties below are optional
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnWorkspace.Builder
A fluent builder for
CfnWorkspace. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnWorkspace(software.constructs.Construct scope,
String id,
CfnWorkspaceProps props)
Create a new `AWS::IoTTwinMaker::Workspace`.
|
protected |
CfnWorkspace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnWorkspace(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The workspace ARN.
|
String |
getAttrCreationDateTime()
The date and time the workspace was created.
|
String |
getAttrUpdateDateTime()
The date and time the workspace was updated.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of the workspace.
|
String |
getRole()
The ARN of the execution role associated with the workspace.
|
String |
getS3Location()
The ARN of the S3 bucket where resources associated with the workspace are stored.
|
TagManager |
getTags()
Metadata that you can use to manage the workspace.
|
String |
getWorkspaceId()
The ID of the workspace.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The description of the workspace.
|
void |
setRole(String value)
The ARN of the execution role associated with the workspace.
|
void |
setS3Location(String value)
The ARN of the S3 bucket where resources associated with the workspace are stored.
|
void |
setWorkspaceId(String value)
The ID of the workspace.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnWorkspace(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnWorkspace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnWorkspace(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnWorkspaceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreationDateTime()
@Stability(value=Stable) @NotNull public String getAttrUpdateDateTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getRole()
@Stability(value=Stable)
public void setRole(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getS3Location()
@Stability(value=Stable)
public void setS3Location(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getWorkspaceId()
@Stability(value=Stable)
public void setWorkspaceId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.