Skip to content
v2.275.0

PrimaryKeyProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const primaryKeyProperty: sam.CfnSimpleTable.PrimaryKeyProperty = {
  type: 'type',

  // the properties below are optional
  name: 'name',
};

Properties ​

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
typestringtypestrtypeStringTypestringType*stringrequired#