Skip to content
v2.275.0

CfnDeviceDefinitionPropsMixin Mixin ​

The AWS::Greengrass::DeviceDefinition resource represents a device definition for AWS IoT Greengrass .

Device definitions are used to organize your device definition versions.

Device definitions can reference multiple device definition versions. All device definition versions must be associated with a device definition. Each device definition version can contain one or more devices.

When you create a device definition, you can optionally include an initial device definition version. To associate a device definition version later, create an AWS::Greengrass::DeviceDefinitionVersion resource and specify the ID of this device definition.

After you create the device definition version that contains the devices you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group .

Initializer ​

ts
new CfnDeviceDefinitionPropsMixin(props: CfnDeviceDefinitionMixinProps, options?: CfnPropertyMixinOptions)
python
CfnDeviceDefinitionPropsMixin(props: CfnDeviceDefinitionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnDeviceDefinitionPropsMixin(CfnDeviceDefinitionMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnDeviceDefinitionPropsMixin(CfnDeviceDefinitionMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnDeviceDefinitionPropsMixin(Props CfnDeviceDefinitionMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.