Skip to content
v2.273.0

CfnDeviceDefinitionVersionPropsMixin Mixin ​

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

A device definition version contains a list of devices.

To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see AWS::Greengrass::DeviceDefinition .

After you create a 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 CfnDeviceDefinitionVersionPropsMixin(props: CfnDeviceDefinitionVersionMixinProps, options?: CfnPropertyMixinOptions)
python
CfnDeviceDefinitionVersionPropsMixin(props: CfnDeviceDefinitionVersionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnDeviceDefinitionVersionPropsMixin(CfnDeviceDefinitionVersionMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnDeviceDefinitionVersionPropsMixin(CfnDeviceDefinitionVersionMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnDeviceDefinitionVersionPropsMixin(Props CfnDeviceDefinitionVersionMixinProps, 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.