CfnWorkspaceProps Struct
Properties for defining a CfnWorkspace.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';
const cfnWorkspaceProps: iottwinmaker.CfnWorkspaceProps = {
role: 'role',
s3Location: 's3Location',
workspaceId: 'workspaceId',
// the properties below are optional
description: 'description',
tags: {
tagsKey: 'tags',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iottwinmaker as iottwinmaker
cfn_workspace_props = iottwinmaker.CfnWorkspaceProps(
role="role",
s3_location="s3Location",
workspace_id="workspaceId",
# the properties below are optional
description="description",
tags={
"tags_key": "tags"
}
)
java
// 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.*;
CfnWorkspaceProps cfnWorkspaceProps = CfnWorkspaceProps.builder()
.role("role")
.s3Location("s3Location")
.workspaceId("workspaceId")
// the properties below are optional
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTTwinMaker;
var cfnWorkspaceProps = new CfnWorkspaceProps {
Role = "role",
S3Location = "s3Location",
WorkspaceId = "workspaceId",
// the properties below are optional
Description = "description",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnWorkspaceProps := &CfnWorkspaceProps{
Role: jsii.String("role"),
S3Location: jsii.String("s3Location"),
WorkspaceId: jsii.String("workspaceId"),
// the properties below are optional
Description: jsii.String("description"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the workspace.
The ARN of the execution role associated with the workspace.
s3Locationstring | IBucketRefs3_locationtyping.Union[str, IBucketRef]s3LocationStringS3LocationstringS3Locationinterface{} required #The ARN of the S3 bucket where resources associated with the workspace are stored.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #Metadata that you can use to manage the workspace.
The ID of the workspace.