Class CfnCoreDefinitionProps
Properties for defining a CfnCoreDefinition
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class CfnCoreDefinitionProps : Object, ICfnCoreDefinitionProps
Syntax (vb)
Public Class CfnCoreDefinitionProps
Inherits Object
Implements ICfnCoreDefinitionProps
Remarks
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 tags;
var cfnCoreDefinitionProps = new CfnCoreDefinitionProps {
Name = "name",
// the properties below are optional
InitialVersion = new CoreDefinitionVersionProperty {
Cores = new [] { new CoreProperty {
CertificateArn = "certificateArn",
Id = "id",
ThingArn = "thingArn",
// the properties below are optional
SyncShadow = false
} }
},
Tags = tags
};
Synopsis
Constructors
CfnCoreDefinitionProps() |
Properties
InitialVersion | The core definition version to include when the core definition is created. |
Name | The name of the core definition. |
Tags | Application-specific metadata to attach to the core definition. |
Constructors
CfnCoreDefinitionProps()
public CfnCoreDefinitionProps()
Properties
InitialVersion
The core definition version to include when the core definition is created.
public object InitialVersion { get; set; }
Property Value
System.Object
Remarks
Currently, a core definition version can contain only one core
.
To associate a core definition version after the core definition is created, create an AWS::Greengrass::CoreDefinitionVersion
resource and specify the ID of this core definition.
Name
The name of the core definition.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
Application-specific metadata to attach to the core definition.
public object Tags { get; set; }
Property Value
System.Object
Remarks
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json
property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags
implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}