[docs]classDynamoDBGlobalSecondaryIndex(DynamoDBSecondaryIndex):"""Description"""type_name:str=Field(default="DynamoDBGlobalSecondaryIndex",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="DynamoDBGlobalSecondaryIndex":raiseValueError("must be DynamoDBGlobalSecondaryIndex")returnvdef__setattr__(self,name,value):ifnameinDynamoDBGlobalSecondaryIndex._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)DYNAMO_DB_TABLE:ClassVar[RelationField]=RelationField("dynamoDBTable")""" TBC """_convenience_properties:ClassVar[List[str]]=["dynamo_dbtable",]@propertydefdynamo_dbtable(self)->Optional[DynamoDBTable]:returnNoneifself.attributesisNoneelseself.attributes.dynamo_dbtable@dynamo_dbtable.setterdefdynamo_dbtable(self,dynamo_dbtable:Optional[DynamoDBTable]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.dynamo_dbtable=dynamo_dbtableclassAttributes(DynamoDBSecondaryIndex.Attributes):dynamo_dbtable:Optional[DynamoDBTable]=Field(default=None,description="")# relationshipattributes:DynamoDBGlobalSecondaryIndex.Attributes=Field(default_factory=lambda:DynamoDBGlobalSecondaryIndex.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)