Skip to content
v2.277.0

StatusProperty Struct ​

The current status of the entity.

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';

declare const error: any;
const statusProperty: iottwinmaker.CfnEntity.StatusProperty = {
  error: error,
  state: 'state',
};
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

# error: Any

status_property = iottwinmaker.CfnEntity.StatusProperty(
    error=error,
    state="state"
)
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.*;

Object error;

StatusProperty statusProperty = StatusProperty.builder()
        .error(error)
        .state("state")
        .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 error;

var statusProperty = new StatusProperty {
    Error = error,
    State = "state"
};
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"

var error interface{}

statusProperty := &StatusProperty{
	Error: error,
	State: jsii.String("state"),
}

Properties ​

erroroptionalanyerroroptionalAnyerroroptionalObjectErroroptionalobjectErroroptionalinterface{}#
The error message.
stateoptionalstringstateoptionalstrstateoptionalStringStateoptionalstringStateoptional*string#
The current state of the entity, component, component type, or workspace.

Valid Values: CREATING | UPDATING | DELETING | ACTIVE | ERROR