Class CfnCoreDevice

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ICoreDeviceRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:04.590Z") @Stability(Stable) public class CfnCoreDevice extends CfnResource implements IInspectable, ICoreDeviceRef
Represents a Greengrass core device, which is an IoT thing that runs the IoT Greengrass Core software.

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.greengrassv2.*;
 CfnCoreDevice cfnCoreDevice = CfnCoreDevice.Builder.create(this, "MyCfnCoreDevice")
         .coreDeviceThingName("coreDeviceThingName")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCoreDevice

      protected CfnCoreDevice(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCoreDevice

      protected CfnCoreDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCoreDevice

      @Stability(Stable) public CfnCoreDevice(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCoreDeviceProps props)
      Create a new AWS::GreengrassV2::CoreDevice.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnCoreDevice

      @Stability(Stable) public CfnCoreDevice(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::GreengrassV2::CoreDevice.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForCoreDevice

      @Stability(Stable) @NotNull public static String arnForCoreDevice(@NotNull ICoreDeviceRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnCoreDevice

      @Stability(Stable) @NotNull public static Boolean isCfnCoreDevice(@NotNull Object x)
      Checks whether the given object is a CfnCoreDevice.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArchitecture

      @Stability(Stable) @NotNull public String getAttrArchitecture()
      The computer architecture of the core device.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the core device.
    • getAttrCoreVersion

      @Stability(Stable) @NotNull public String getAttrCoreVersion()
      The version of the IoT Greengrass Core software that the core device runs.
    • getAttrLastStatusUpdateTimestamp

      @Stability(Stable) @NotNull public String getAttrLastStatusUpdateTimestamp()
      The time at which the core device's status last updated, expressed in ISO 8601 format.
    • getAttrPlatform

      @Stability(Stable) @NotNull public String getAttrPlatform()
      The operating system platform that the core device runs.
    • getAttrRuntime

      @Stability(Stable) @NotNull public String getAttrRuntime()
      The runtime for the core device.

      The runtime can be aws_nucleus_classic or aws_nucleus_lite.

    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the core device.
    • getAttrTags

      @Stability(Stable) @NotNull public IResolvable getAttrTags()
      Tags associated with the core device.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getCoreDeviceRef

      @Stability(Stable) @NotNull public CoreDeviceReference getCoreDeviceRef()
      A reference to a CoreDevice resource.
      Specified by:
      getCoreDeviceRef in interface ICoreDeviceRef
    • getCoreDeviceThingName

      @Stability(Stable) @Nullable public String getCoreDeviceThingName()
      The name of the core device.
    • setCoreDeviceThingName

      @Stability(Stable) public void setCoreDeviceThingName(@Nullable String value)
      The name of the core device.