aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.ComponentPlatformProperty

interface ComponentPlatformProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.ComponentPlatformProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_ComponentPlatformProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.ComponentPlatformProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.ComponentPlatformProperty
TypeScript aws-cdk-lib » aws_greengrassv2 » CfnComponentVersion » ComponentPlatformProperty

Contains information about a platform that a component supports.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
const componentPlatformProperty: greengrassv2.CfnComponentVersion.ComponentPlatformProperty = {
  attributes: {
    attributesKey: 'attributes',
  },
  name: 'name',
};

Properties

NameTypeDescription
attributes?IResolvable | { [string]: string }A dictionary of attributes for the platform.
name?stringThe friendly name of the platform. This name helps you identify the platform.

attributes?

Type: IResolvable | { [string]: string } (optional)

A dictionary of attributes for the platform.

The AWS IoT Greengrass Core software defines the os and platform by default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .


name?

Type: string (optional)

The friendly name of the platform. This name helps you identify the platform.

If you omit this parameter, AWS IoT Greengrass creates a friendly name from the os and architecture of the platform.