Class CfnCoreDefinitionVersion
The AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCoreDefinitionVersion : CfnResource, IInspectable, ICoreDefinitionVersionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnCoreDefinitionVersion Inherits CfnResource Implements IInspectable, ICoreDefinitionVersionRef, IConstruct, IDependable, IEnvironmentAware
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
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.Greengrass;
var cfnCoreDefinitionVersion = new CfnCoreDefinitionVersion(this, "MyCfnCoreDefinitionVersion", new CfnCoreDefinitionVersionProps {
CoreDefinitionId = "coreDefinitionId",
Cores = new [] { new CoreProperty {
CertificateArn = "certificateArn",
Id = "id",
ThingArn = "thingArn",
// the properties below are optional
SyncShadow = false
} }
});
Synopsis
Constructors
| CfnCoreDefinitionVersion(Construct, string, ICfnCoreDefinitionVersionProps) | Create a new |
Properties
| AttrId | The |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | The |
| CoreDefinitionId | The ID of the core definition associated with this version. |
| CoreDefinitionVersionRef | A reference to a CoreDefinitionVersion resource. |
| Cores | The Greengrass core in this version. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnCoreDefinitionVersion(object) | Checks whether the given object is a CfnCoreDefinitionVersion. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnCoreDefinitionVersion(Construct, string, ICfnCoreDefinitionVersionProps)
Create a new AWS::Greengrass::CoreDefinitionVersion.
public CfnCoreDefinitionVersion(Construct scope, string id, ICfnCoreDefinitionVersionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnCoreDefinitionVersionProps
Resource properties.
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
Properties
AttrId
The AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
CoreDefinitionId
The ID of the core definition associated with this version.
public virtual string CoreDefinitionId { get; set; }
Property Value
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
CoreDefinitionVersionRef
A reference to a CoreDefinitionVersion resource.
public virtual ICoreDefinitionVersionReference CoreDefinitionVersionRef { get; }
Property Value
ICoreDefinitionVersionReference
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
Cores
The Greengrass core in this version.
public virtual object Cores { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnCoreDefinitionVersion.ICoreProperty)[]
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.
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
IsCfnCoreDefinitionVersion(object)
Checks whether the given object is a CfnCoreDefinitionVersion.
public static bool IsCfnCoreDefinitionVersion(object x)
Parameters
- x object
Returns
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html"><code>AWS::Greengrass::CoreDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::CoreDefinitionVersion
ExampleMetadata: fixture=_generated