SecondaryIndexProps¶
-
class
aws_cdk.aws_dynamodb.
SecondaryIndexProps
(*, index_name, non_key_attributes=None, projection_type=None)¶ Bases:
object
Properties for a secondary index.
- Parameters
index_name (
str
) – The name of the secondary index.non_key_attributes (
Optional
[List
[str
]]) – The non-key attributes that are projected into the secondary index. Default: - No additional attributesprojection_type (
Optional
[ProjectionType
]) – The set of attributes that are projected into the secondary index. Default: ALL
Attributes
-
index_name
¶ The name of the secondary index.
- Return type
str
-
non_key_attributes
¶ The non-key attributes that are projected into the secondary index.
- Default
No additional attributes
- Return type
Optional
[List
[str
]]
-
projection_type
¶ The set of attributes that are projected into the secondary index.
- Default
ALL
- Return type
Optional
[ProjectionType
]