Class CfnWorkspace
A CloudFormation AWS::IoTTwinMaker::Workspace
.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.AWS.IoTTwinMaker.dll
Syntax (csharp)
public class CfnWorkspace : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnWorkspace
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Use the AWS::IoTTwinMaker::Workspace
resource to declare a workspace.
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 |
CfnWorkspace(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnWorkspace(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
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 | |
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 | Metadata that you can use to manage the workspace. |
WorkspaceId | The ID of the workspace. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
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 System.String
- scoped id of the resource.
- props ICfnWorkspaceProps
- resource properties.
CfnWorkspace(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnWorkspace(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnWorkspace(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnWorkspace(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The workspace ARN.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationDateTime
The date and time the workspace was created.
public virtual string AttrCreationDateTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationDateTime
AttrUpdateDateTime
The date and time the workspace was updated.
public virtual string AttrUpdateDateTime { get; }
Property Value
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the workspace.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Role
The ARN of the execution role associated with the workspace.
public virtual string Role { get; set; }
Property Value
System.String
Remarks
S3Location
The ARN of the S3 bucket where resources associated with the workspace are stored.
public virtual string S3Location { get; set; }
Property Value
System.String
Remarks
Tags
Metadata that you can use to manage the workspace.
public virtual TagManager Tags { get; }
Property Value
Remarks
WorkspaceId
The ID of the workspace.
public virtual string WorkspaceId { get; set; }
Property Value
System.String
Remarks
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>