Skip to content
v2.275.0

FunctionProperty Struct ​

The function body.

Example ​

ts
// 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-lib';
const functionProperty: iottwinmaker.CfnComponentType.FunctionProperty = {
  implementedBy: {
    isNative: false,
    lambda: {
      arn: 'arn',
    },
  },
  requiredProperties: ['requiredProperties'],
  scope: 'scope',
};

Properties ​

implementedByoptionalIResolvable | CfnComponentType.DataConnectorPropertyimplemented_byoptionaltyping.Union[IResolvable, DataConnectorProperty]implementedByoptionalIResolvableImplementedByoptionalIResolvableImplementedByoptionalinterface{}#
The data connector.
requiredPropertiesoptionalstring[]required_propertiesoptionaltyping.List[str]requiredPropertiesoptionalList<String>RequiredPropertiesoptionalstring[]RequiredPropertiesoptional*[]*string#
The required properties of the function.
scopeoptionalstringscopeoptionalstrscopeoptionalStringScopeoptionalstringScopeoptional*string#
The scope of the function.