def METHOD_NAME(self) -> Optional[int]:
    """
    Event retention for the namespace topic expressed in days. The property default value is 1 day.
    Min event retention duration value is 1 day and max event retention duration value is 1 day.
    """
    return pulumi.get(self, "event_retention_in_days")