ComponentPlatformProperty Struct
Contains information about a platform that a component supports.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_greengrassv2 as greengrassv2
component_platform_property = greengrassv2.CfnComponentVersion.ComponentPlatformProperty(
attributes={
"attributes_key": "attributes"
},
name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.greengrassv2.*;
ComponentPlatformProperty componentPlatformProperty = ComponentPlatformProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.name("name")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GreengrassV2;
var componentPlatformProperty = new ComponentPlatformProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
componentPlatformProperty := &ComponentPlatformProperty{
Attributes: map[string]*string{
"attributesKey": jsii.String("attributes"),
},
Name: jsii.String("name"),
}
Properties
attributesoptionalIResolvable | { [key: string]: string }attributesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]attributesoptionalIResolvableAttributesoptionalIResolvableAttributesoptionalinterface{} #A dictionary of attributes for the platform.
notes
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 .
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.