interface FunctionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTTwinMaker.CfnComponentTypePropsMixin.FunctionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiottwinmaker#CfnComponentTypePropsMixin_FunctionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iottwinmaker.CfnComponentTypePropsMixin.FunctionProperty |
Python | aws_cdk.cfn_property_mixins.aws_iottwinmaker.CfnComponentTypePropsMixin.FunctionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iottwinmaker » CfnComponentTypePropsMixin » FunctionProperty |
The function body.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from '@aws-cdk/cfn-property-mixins';
const functionProperty: iottwinmaker.CfnComponentTypePropsMixin.FunctionProperty = {
implementedBy: {
isNative: false,
lambda: {
arn: 'arn',
},
},
requiredProperties: ['requiredProperties'],
scope: 'scope',
};
Properties
| Name | Type | Description |
|---|---|---|
| implemented | IResolvable | Data | The data connector. |
| required | string[] | The required properties of the function. |
| scope? | string | The scope of the function. |
implementedBy?
Type:
IResolvable | Data
(optional)
The data connector.
requiredProperties?
Type:
string[]
(optional)
The required properties of the function.
scope?
Type:
string
(optional)
The scope of the function.

.NET
Go
Java
Python
TypeScript