Interface CfnCoreDefinition.CoreProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCoreDefinition.CoreProperty.Jsii$Proxy
- Enclosing class:
CfnCoreDefinition
@Stability(Stable)
public static interface CfnCoreDefinition.CoreProperty
extends software.amazon.jsii.JsiiSerializable
A core is an AWS IoT device that runs the AWS IoT Greengrass core software and manages local processes for a Greengrass group.
For more information, see What Is AWS IoT Greengrass ? in the Developer Guide .
In an AWS CloudFormation template, the Cores
property of the CoreDefinitionVersion
property type contains a list of Core
property types. Currently, the list can contain only one core.
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.greengrass.*; CoreProperty coreProperty = CoreProperty.builder() .certificateArn("certificateArn") .id("id") .thingArn("thingArn") // the properties below are optional .syncShadow(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCoreDefinition.CoreProperty
static final class
An implementation forCfnCoreDefinition.CoreProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The Amazon Resource Name (ARN) of the device certificate for the core.getId()
A descriptive or arbitrary ID for the core.default Object
Indicates whether the core's local shadow is synced with the cloud automatically.The ARN of the core, which is an AWS IoT device (thing).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateArn
The Amazon Resource Name (ARN) of the device certificate for the core.This X.509 certificate is used to authenticate the core with AWS IoT and AWS IoT Greengrass services.
- See Also:
-
getId
A descriptive or arbitrary ID for the core.This value must be unique within the core definition version. Maximum length is 128 characters with pattern
[a-zA-Z0-9:_-]+
.- See Also:
-
getThingArn
The ARN of the core, which is an AWS IoT device (thing).- See Also:
-
getSyncShadow
Indicates whether the core's local shadow is synced with the cloud automatically.The default is false.
- See Also:
-
builder
-