Class CfnCoreDefinitionVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.greengrass.CfnCoreDefinitionVersion
- All Implemented Interfaces:
IInspectable,ICoreDefinitionVersionRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:14.554Z")
@Stability(Stable)
public class CfnCoreDefinitionVersion
extends CfnResource
implements IInspectable, ICoreDefinitionVersionRef
The
AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
A core definition version contains a Greengrass core.
To create a core definition version, you must specify the ID of the core definition that you want to associate with the version. For information about creating a core definition, see
AWS::Greengrass::CoreDefinition.After you create a core definition version that contains the core you want to deploy, you must add it to your group version. For more information, see
AWS::Greengrass::Group.
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.*;
CfnCoreDefinitionVersion cfnCoreDefinitionVersion = CfnCoreDefinitionVersion.Builder.create(this, "MyCfnCoreDefinitionVersion")
.coreDefinitionId("coreDefinitionId")
.cores(List.of(CoreProperty.builder()
.certificateArn("certificateArn")
.id("id")
.thingArn("thingArn")
// the properties below are optional
.syncShadow(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCoreDefinitionVersion.static interfaceA core is an AWS IoT device that runs the AWS IoT Greengrass core software and manages local processes for a Greengrass group.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.greengrass.ICoreDefinitionVersionRef
ICoreDefinitionVersionRef.Jsii$Default, ICoreDefinitionVersionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCoreDefinitionVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCoreDefinitionVersion(software.amazon.jsii.JsiiObjectRef objRef) CfnCoreDefinitionVersion(software.constructs.Construct scope, String id, CfnCoreDefinitionVersionProps props) Create a newAWS::Greengrass::CoreDefinitionVersion. -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the core definition associated with this version.A reference to a CoreDefinitionVersion resource.getCores()The Greengrass core in this version.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCoreDefinitionVersion.renderProperties(Map<String, Object> props) voidsetCoreDefinitionId(String value) The ID of the core definition associated with this version.voidThe Greengrass core in this version.voidsetCores(IResolvable value) The Greengrass core in this version.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCoreDefinitionVersion
protected CfnCoreDefinitionVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCoreDefinitionVersion
protected CfnCoreDefinitionVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCoreDefinitionVersion
@Stability(Stable) public CfnCoreDefinitionVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCoreDefinitionVersionProps props) Create a newAWS::Greengrass::CoreDefinitionVersion.- 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. This parameter is required.
-
-
Method Details
-
isCfnCoreDefinitionVersion
Checks whether the given object is a CfnCoreDefinitionVersion.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCoreDefinitionVersionRef
A reference to a CoreDefinitionVersion resource.- Specified by:
getCoreDefinitionVersionRefin interfaceICoreDefinitionVersionRef
-
getCoreDefinitionId
The ID of the core definition associated with this version. -
setCoreDefinitionId
The ID of the core definition associated with this version. -
getCores
The Greengrass core in this version.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCoreDefinitionVersion.CoreProperty> -
setCores
The Greengrass core in this version. -
setCores
The Greengrass core in this version.
-