Class CfnWorkspace
Use the AWS::IoTTwinMaker::Workspace resource to declare a workspace.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWorkspace : CfnResource, IInspectable, IWorkspaceRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnWorkspace Inherits CfnResource Implements IInspectable, IWorkspaceRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Examples
// 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 cfnWorkspace = new CfnWorkspace(this, "MyCfnWorkspace", new CfnWorkspaceProps {
Role = "role",
S3Location = "s3Location",
WorkspaceId = "workspaceId",
// the properties below are optional
Description = "description",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
| CfnWorkspace(Construct, string, ICfnWorkspaceProps) | Create a new |
Properties
| AttrArn | The workspace ARN. |
| AttrCreationDateTime | The date and time the workspace was created. |
| AttrUpdateDateTime | The date and time the workspace was updated. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Use the |
| Description | The description of the workspace. |
| Role | The ARN of the execution role associated with the workspace. |
| S3Location | The ARN of the S3 bucket where resources associated with the workspace are stored. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | Metadata that you can use to manage the workspace. |
| WorkspaceId | The ID of the workspace. |
| WorkspaceRef | A reference to a Workspace resource. |
Methods
| ArnForWorkspace(IWorkspaceRef) | Use the |
| FromWorkspaceArn(Construct, string, string) | Creates a new IWorkspaceRef from an ARN. |
| FromWorkspaceId(Construct, string, string) | Creates a new IWorkspaceRef from a workspaceId. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnWorkspace(object) | Checks whether the given object is a CfnWorkspace. |
| RenderProperties(IDictionary<string, object>) | Use the |
Constructors
CfnWorkspace(Construct, string, ICfnWorkspaceProps)
Create a new AWS::IoTTwinMaker::Workspace.
public CfnWorkspace(Construct scope, string id, ICfnWorkspaceProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnWorkspaceProps
Resource properties.
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Properties
AttrArn
The workspace ARN.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrCreationDateTime
The date and time the workspace was created.
public virtual string AttrCreationDateTime { get; }
Property Value
Remarks
CloudformationAttribute: CreationDateTime
AttrUpdateDateTime
The date and time the workspace was updated.
public virtual string AttrUpdateDateTime { get; }
Property Value
Remarks
CloudformationAttribute: UpdateDateTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
CfnProperties
Use the AWS::IoTTwinMaker::Workspace resource to declare a workspace.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Description
The description of the workspace.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Role
The ARN of the execution role associated with the workspace.
public virtual string Role { get; set; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
S3Location
The ARN of the S3 bucket where resources associated with the workspace are stored.
public virtual string S3Location { get; set; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
TagsRaw
Metadata that you can use to manage the workspace.
public virtual IDictionary<string, string>? TagsRaw { get; set; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
WorkspaceId
The ID of the workspace.
public virtual string WorkspaceId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
WorkspaceRef
A reference to a Workspace resource.
public virtual IWorkspaceReference WorkspaceRef { get; }
Property Value
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Methods
ArnForWorkspace(IWorkspaceRef)
Use the AWS::IoTTwinMaker::Workspace resource to declare a workspace.
public static string ArnForWorkspace(IWorkspaceRef resource)
Parameters
- resource IWorkspaceRef
Returns
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Examples
// 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 cfnWorkspace = new CfnWorkspace(this, "MyCfnWorkspace", new CfnWorkspaceProps {
Role = "role",
S3Location = "s3Location",
WorkspaceId = "workspaceId",
// the properties below are optional
Description = "description",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
FromWorkspaceArn(Construct, string, string)
Creates a new IWorkspaceRef from an ARN.
public static IWorkspaceRef FromWorkspaceArn(Construct scope, string id, string arn)
Parameters
Returns
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
FromWorkspaceId(Construct, string, string)
Creates a new IWorkspaceRef from a workspaceId.
public static IWorkspaceRef FromWorkspaceId(Construct scope, string id, string workspaceId)
Parameters
Returns
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
IsCfnWorkspace(object)
Checks whether the given object is a CfnWorkspace.
public static bool IsCfnWorkspace(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Use the AWS::IoTTwinMaker::Workspace resource to declare a workspace.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::IoTTwinMaker::Workspace
ExampleMetadata: fixture=_generated