Interface CfnCoreDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCoreDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:16.724Z")
@Stability(Stable)
public interface CfnCoreDefinitionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCoreDefinition
.
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.*; Object tags; CfnCoreDefinitionProps cfnCoreDefinitionProps = CfnCoreDefinitionProps.builder() .name("name") // the properties below are optional .initialVersion(CoreDefinitionVersionProperty.builder() .cores(List.of(CoreProperty.builder() .certificateArn("certificateArn") .id("id") .thingArn("thingArn") // the properties below are optional .syncShadow(false) .build())) .build()) .tags(tags) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCoreDefinitionProps
static final class
An implementation forCfnCoreDefinitionProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the core definition.- See Also:
-
getInitialVersion
The core definition version to include when the core definition is created.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.- See Also:
-
getTags
Application-specific metadata to attach to the core definition.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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- See Also:
-
builder
- Returns:
- a
CfnCoreDefinitionProps.Builder
ofCfnCoreDefinitionProps
-